To make sure IPTables is not the problem I tried the following:
1. Moved the server to an IP address that is not setup as primary MX in DNS
2. Flushed all IPTables
3. Fixed /etc/hosts to point the LMTP/SMTP name of the server to its correct IP address and remove "Enable DNS Lookups" in Admin
4. Requeued the messages that failed before
The result is still the same, the messages fail delivery to any email account that have delivery set up via LMTP. The error message is still :
Code:
May 5 11:32:59 zimbraserver postfix/lmtp[32149]: C55A84C88F: to=<denis@mydomain.com>, relay=none, delay=0, status=deferred (connect to zimbraserver.mydomain.com[192.168.192.168]: Connection refused)
(192.168.192.168 is substituted with the real/correct IP address of the zimbraserver.mydomain.com)
This problem is severely annoying, and I am a bit baffled that there isn't anything I can do to debug this? I am checking the /var/log/zimbra.log, the application logs in /opt/zimbra but I can't seem to find anything telling me why connection is refused when using LMTP??
Is the /etc/services file important? The settings there suggest the LMTP port should have been 24, but Zimbra does set up LMTP at 10025
afaik?