Submitted by synergos on Sat, 08/08/2009 - 13:16 Pro Licensee
I've added a virtual domain map in postfix for urbanscrapbooker.com, the external connectivity test works now, but I still cannot send email to brooke@urbnascrapbooker.com. The maillog shows:
Aug 8 14:11:33 ns1 postfix/smtp[31811]: 699F11ECC9E: to=brooke.urbanscrapbooker@localdomain.localdomain, orig_to=brooke@urbanscrapbooker.com, relay=none, delay=0.34, delays=0.34/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=localdomain.localdomain type=A: Host not found)
I don't get it the DNS record looks like all the rest, everything in virtualmin is setup the same as other domains
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sat, 08/08/2009 - 21:25 Comment #1
What is your system's hostname set to (as shown by the hostname command) ? It should be something like webserver.yourdomain.com , and not localhost or localhost.localdomain.
Also, is there any reference to localhost in /etc/postfix/main.cf ?
Submitted by synergos on Tue, 08/11/2009 - 17:37 Pro Licensee Comment #2
Looks like I've got it fixed. I changed the hosts from localhost , localhost.localdomain to localhost.localdomain , localhost
Which solved the local delivery problem.
I have no idea how this got screwed up, or why the order matters.
-Jeff
Submitted by JamieCameron on Tue, 08/11/2009 - 17:42 Comment #3
Possibly the incorrect ordering broken reverse address resolution.
BTW, I find the best /etc/hosts file to be something like :
127.0.0.1 localhost localhost.localdomain
x.x.x.x yourserver.yourdomain.com
where x.x.x.x is the external eth0 IP address.
Submitted by Issues on Tue, 08/25/2009 - 19:18 Comment #4
Automatically closed -- issue fixed for 2 weeks with no activity.