Page 1 of 1

Relay all local emails to postfix MTA

Posted: Sat Mar 08, 2014 3:43 am
by tayyeb
We have to relay all emails including local emails to another postfix MTA. This is required since we have to pass all emails to Kaspersky Linux Email Security (KLMS) server. KLMS is a AntiSpam and AV solution.
We have also configured zimbra 8 server to relay all emails to postfix machine using the method described here
Sending mail through an external relay - Zimbra :: Wiki

As described in (setting zimbraMtaRelayHost in Zimbra Administration UI) section. So we have configured this using the Administration UI.
Similarly we have configured postfix to relay all emails to zimbra 8 server

Configuring postfix to forward all email to a smtp gateway

As described at the link above.
Now the Issue is that "still" none of the internal emails are forwarded to the postfix machine from the zimbra machine. We have confirmed this using the postfix email queue logs. All emails are sent locally to the users inbox which should not happen.
A good solution to relay local domain emails to postfix server will be highly appreciated.

Relay all local emails to postfix MTA

Posted: Mon Mar 10, 2014 2:40 am
by tayyeb
The local zimbra emails are to be relayed to the postfix machine.

So how to relay all emails including emails on local domain from zimbra to postfix mta?

Relay all local emails to postfix MTA

Posted: Mon Mar 10, 2014 9:59 am
by bdial
Under the server configuration / MTA settings, you should see 2 settings
Web mail MTA Hostnames

Relay MTA for external delivery
set BOTH of these to your external postfix instance.

Relay all local emails to postfix MTA

Posted: Mon Mar 10, 2014 1:19 pm
by tayyeb
Web mail MTA and Relay MTA both were configured but the emails were still not received on postfix MTA.

The emails were received in the local recipient's inbox though.

Relay all local emails to postfix MTA

Posted: Fri May 30, 2014 10:31 am
by pachiko
Hello,

do you resolv the problem please? we have the same issue. we want to use external smtp server for internal users .