I've sent my first email to my new Zimbra mta. But unfortunately it bounced. zimbra.log reports:

status=bounced (Host or domain name not found. Name service error for name=localhost.localdomain type=A: Host not found)

But my /etc/hosts certainly has the line

127.0.0.1 localhost.localdomain localhost

(as the first line of two - the second has my 'real' host name and ip address)

Note that I added an entry for the domain in the admin console and I added a user for that domain as well. I sent an email to that user. Also note that the name of the host is not the same as the name of the domain - this host is to handle mail for the domain.

Can anyone tell me 1) why it bounced and 2) how to fix it so that the mail gets delivered to the user?

Peter