remove postfix relay configuration

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
nugroho.redbuff
Posts: 8
Joined: Wed Aug 12, 2015 10:38 pm

remove postfix relay configuration

Postby nugroho.redbuff » Wed Sep 30, 2015 1:18 am

Here is my postconf output:


zimbra@mail:~/postfix/conf$ postconf -n | grep relay 
relayhost = smtp.mail.google.com:25
smtp_fallback_relay = smtp.mail.google.com:25
smtpd_relay_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination

I want to remove or disable relaying host and send mail from the server self / internal server. How should I do? what command to do solve that?



imanudin11
Outstanding Member
Outstanding Member
Posts: 297
Joined: Sat Sep 13, 2014 2:23 am
ZCS/ZD Version: Release 8.8.15.GA.3829.UBUNTU16.64
Contact:

remove postfix relay configuration

Postby imanudin11 » Wed Sep 30, 2015 8:56 pm

Hi,


Please verify your Zimbra version for easy tracking the problem (zmcontrol -v). Please try this command to remove relayhost configuration


zmprov ms `zmhostname` zimbraMtaRelayHost ""
zmprov ms `zmhostname` zimbraMtaFallbackRelayHost ""
**

Best Regards,
Ahmad Imanudin - Sharing is Beautiful !
Personal Blog [EN] :http://www.imanudin.net
nugroho.redbuff
Posts: 8
Joined: Wed Aug 12, 2015 10:38 pm

remove postfix relay configuration

Postby nugroho.redbuff » Thu Oct 01, 2015 6:54 pm

not work. here's the output


zimbra@mail:~$ zmcontrol -v
Release 8.6.0.GA.1153.UBUNTU14.64 UBUNTU14_64 FOSS edition.
zimbra@mail:~$ zmprov ms mail.#########.com zimbraMtaRelayHost ""
zimbra@mail:~$ zmprov ms mail.#########.com zimbraMtaFallbackRelayHost ""
zimbra@mail:~$ postconf -n | grep relay
relayhost = smtp.mail.google.com:25
smtp_fallback_relay = smtp.mail.google.com:25
smtpd_relay_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
zimbra@mail:~$


liverpoolfcfan
Outstanding Member
Outstanding Member
Posts: 935
Joined: Sat Sep 13, 2014 12:47 am

remove postfix relay configuration

Postby liverpoolfcfan » Fri Oct 02, 2015 8:52 am

You should be able to set/remove those through the admin GUI. Home->Configure->Global Settings->MTA

The settings are

Relay MTA for external delivery:

Relay MTA for external delivery (fallback)



You might also have them set at a server level - Home->Configure->Servers->[servername]->MTA

The setting names are the same.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 11 guests