still having problems with urbanscrapbooker.com

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

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 ?

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

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.

Automatically closed -- issue fixed for 2 weeks with no activity.