Relay all local emails to postfix MTA

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
tayyeb
Posts: 3
Joined: Sat Sep 13, 2014 3:33 am

Relay all local emails to postfix MTA

Postby tayyeb » Sat Mar 08, 2014 3:43 am

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.


tayyeb
Posts: 3
Joined: Sat Sep 13, 2014 3:33 am

Relay all local emails to postfix MTA

Postby tayyeb » Mon Mar 10, 2014 2:40 am

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?
bdial
Elite member
Elite member
Posts: 1633
Joined: Fri Sep 12, 2014 10:39 pm

Relay all local emails to postfix MTA

Postby bdial » Mon Mar 10, 2014 9:59 am

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.
tayyeb
Posts: 3
Joined: Sat Sep 13, 2014 3:33 am

Relay all local emails to postfix MTA

Postby tayyeb » Mon Mar 10, 2014 1:19 pm

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.
pachiko
Posts: 4
Joined: Sat Sep 13, 2014 3:53 am

Relay all local emails to postfix MTA

Postby pachiko » Fri May 30, 2014 10:31 am

Hello,

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

Return to “Administrators”

Who is online

Users browsing this forum: Google [Bot] and 20 guests