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?
remove postfix relay configuration
-
- Outstanding Member
- Posts: 304
- Joined: Sat Sep 13, 2014 2:23 am
- ZCS/ZD Version: Release 8.8.15.GA.3829.UBUNTU16.64
- Contact:
remove postfix relay configuration
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 ""
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
Best Regards,
Ahmad Imanudin - Sharing is Beautiful !
Personal Blog [EN] :http://www.imanudin.net
-
- Posts: 8
- Joined: Wed Aug 12, 2015 10:38 pm
remove postfix relay configuration
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:~$
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:~$
-
- Elite member
- Posts: 1096
- Joined: Sat Sep 13, 2014 12:47 am
remove postfix relay configuration
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.
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.