Cannot change Relay MTA

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
davespigot
Posts: 19
Joined: Fri Sep 12, 2014 10:16 pm

Cannot change Relay MTA

Postby davespigot » Mon Sep 02, 2019 7:02 pm

I am running ZCS 8.8.15 OSS - I just upgraded from 8.8.8.

I am trying to change the Relay MTA setting to send external email using a different SMTP relay provider, but the old setting is persisting. I have tried changing the setting in the admin web interface and using the command line. When I run "zmprov gacf" - I see the correct relay host listed - and yet email continues to be relayed out using the old setting.

As I mentioned about - I have upgraded from 8.8.8->8.8.15 during the process of troubleshooting this issue, so obviously all services have been restarted, etc.

I had previously attempted to to do sender based relays using the information here - https://wiki.zimbra.com/wiki/Relay_per_Domain - but was unable to make this work. I have reverted the changes made per the wiki.

Stumped.


Thanks for any help or ideas on how to troubleshoot further....


phoenix
Ambassador
Ambassador
Posts: 26285
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Cannot change Relay MTA

Postby phoenix » Mon Sep 02, 2019 7:43 pm

What commands, exactly, did you use to change the relay? Does the following command give the expected output:

Code: Select all

zmprov gs $(zmhostname) | grep zimbraMtaRelayHost
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
davespigot
Posts: 19
Joined: Fri Sep 12, 2014 10:16 pm

Re: Cannot change Relay MTA

Postby davespigot » Mon Sep 02, 2019 7:50 pm

Thanks for your quick reply.

Yes, the "zmprov gs <serverhostname> | grep zimbraMtaRelayHost" returns the expected value

I uses the following commands to set this -

zmprov zcf zimbraMtaRelayHost smtp.relay.host
zmprov zs <servername> zimbraMtaRelayHost smtp.relay.host
davespigot
Posts: 19
Joined: Fri Sep 12, 2014 10:16 pm

Re: Cannot change Relay MTA

Postby davespigot » Tue Sep 03, 2019 4:35 pm

Following up - I did a string search for the old MTA relay FQDN in both /opt/zimbra/conf and /opt/zimbra/common/conf and did not find any obvious place where this value might be "stuck" in a Postfix configuration file. There were several hits in various log files only.

Any additional info would be appreciated.
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 684
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Cannot change Relay MTA

Postby pup_seba » Wed Sep 04, 2019 7:06 am

Hi,

Reverse the changes you did while applying the steps provided here:
https://wiki.zimbra.com/wiki/Relay_per_Domain

That relay configuration is one of the most straight forward configurations in zimbra, so if it is not working as expected in your deployment, then I have to assume that some particular tunning in your env. is missing that up. So my suggestion, would be to go back to basics, remove those configurations and start from scratch taking step by step.

Other thing you could try, is to deploy a new MTA and configure your stores to use it as the smtp relay host for external delivery. So if you do it like that, you won't need to change anything in your current MTA. All of this, is at least for test purposes and to find the cause of the anormal behaviour.

I would put my money on this https://wiki.zimbra.com/wiki/Relay_per_Domain not being well configured or portrayed after the update. I can confirm to you that 8.8.15 "per se" works with smtp external relays as expected (at least when no relay per domain is confugured).

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 9 guests