Hell forum,
I have a problem with mail delivery for admin user after I had changed hostname for zimbra installation. It was example.com in the beginning and I decided to change it to mail01.example.com - since there were going to be others hosts.
So, everything works very well, except for the mail delivery admin user, for example daily reports. Mail for
admin@example.com is ok, but not for
admin@mail01.example.com
Since zimbra host now is mail01.example.com, zimbra tries to deliver reports to this new address
admin@mail01.example.com
The first question: is this a correct behaviour and maybe I need to add something to the configuration (MTA)?
If this is correct (I don't see the reason why it shouldn't be), then I'd like to ask for help fixing the error with "loops back to myself" (see log below)
This is a short description of my zimbra 6x installation:
DNS server is on the same host, it has split views.
Mailflow on this zimbra host is ok: incoming, outgoing. I use this host to deliver mail for a few domains: no issues, zimbra works very well.
zimbra@mail01:~$ zmcontrol -v
Release 6.0.2_GA_1912.UBUNTU8 UBUNTU8 FOSS edition.
#zimbra@mail01:~$ hostname
mail01.example.com
#dig example.com mx
example.com. 3600 IN MX 5 mail01.example.com.
I even set the mx for the mail01.example.com, but it didn't help:
#dig mail01.example.com mx
mail01.example.com. 3600 IN MX 10 mail01.example.com.
#zimbra@mail01:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 example.local
172.0.50.50 mail01.example.com mail01
These are the errors I see in logs, when I try to generate daily reports:
Dec 24 01:02:51 mail01 postfix/smtp[8772]: 3B97454E53B:
to=, relay=none, delay=0.03, delays=0.01/0.02/0/0, dsn=5.4.6, status=
bounced (mail for mail01.example.com loops back to myself)
Dec 24 01:02:51 mail01 postfix/cleanup[8768]: 44E3754E53C: message-id=<20091224060251.44E3754E53C@mail01.example.com>
Dec 24 01:02:51 mail01 postfix/bounce[8773]: 3B97454E53B: sender non-delivery notification: 44E3754E53C
Dec 24 01:02:51 mail01 postfix/lmtp[8774]: 44E3754E53C: to=
, relay=mail01.example.com[172.0.50.50]:7025, delay=0.14, delays=0.01/0.01/0/0.12, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)