I was having the same basic problem on my server. For me, it's a standalone web server with no upstream SMTP to depend on, so it has to route all mail for itself.
I was able to send mail to other domains hosted on the same server, but couldn't route off the server via webmail, command line (using /opt/zimbra/postfix/sbin/sendmail by hand), or from php scripts (which also point to postfix's sendmail program).
In the Zimbra Admin Console, the server's MTA configuration insists on having an entry for "Relay MTA for external delivery". If I set that to the same value as webmail MTA hostname, I can't route mail and get "warning: relayhost configuration problem" in my zimbra.log.
No matter what I seem to do in the admin console configuration for the server, I can't get that field to be blank (as was recommended in this thread), but I can manually edit main.cf and set "relayhost =" to nothing.
reload postfix, and it's all working... even routing mail that it's been holding for the last couple of days.
Is this a bug in zimbra console that it won't let me set the field to blank? Is there some other problem with the way I got this working that I'm overlooking?
Thanks!
-Russ |