MTA config is 'stuck'

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
sroylance
Posts: 6
Joined: Fri Sep 12, 2014 10:29 pm

MTA config is 'stuck'

Post by sroylance »

I've somehow got myself into a situation where the mta trusted relay network setting is 'stuck'. Changes I make in the admin interface seemed to be saved OK, and can be viewed using zmprov gacf, but never take effect in the postfix configuration. I can even manually change main.cf to reflect what the setting should be, but it is still overwritten when zimbra restarts with the 'old' setting.
I ran zmslapcat and found the config entry in the LDAP database seems to also contain the 'old' value even though zmprov gacf returns the correct 'new' entry.
Any pointers would be appreciated.
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

MTA config is 'stuck'

Post by jholder »

Do a

zmlocalconfig | grep relay
What ever value comes back, you can change it with

zmlocalconfig -e (relay command)=(Relay value)
rsharpe
Outstanding Member
Outstanding Member
Posts: 254
Joined: Fri Sep 12, 2014 9:59 pm

MTA config is 'stuck'

Post by rsharpe »

If you do a execute "postfix reload" is should pull all the new parameters, and it's non-intrusive.
sroylance
Posts: 6
Joined: Fri Sep 12, 2014 10:29 pm

MTA config is 'stuck'

Post by sroylance »

Thanks for the advice, but neither of those things has helped.

zmlocalconfig | grep relay returns no lines and postfix reload ran without error but left the main.cf unchanged.
Should I try changing the entry in LDAP using an LDAP editor?
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

MTA config is 'stuck'

Post by jholder »

Sorry-

Try to grep the main.cf file.

What returns?
sroylance
Posts: 6
Joined: Fri Sep 12, 2014 10:29 pm

MTA config is 'stuck'

Post by sroylance »

[quote user="jholder"]Sorry-

Try to grep the main.cf file.

What returns?[/QUOTE]
looking for the value in main.cf shows the old value that doesn't agree with what is listed in zmprov gacf
Post Reply