Hi fellow Zimbra admins,
I noticed that the MTA service on my ZCS is down after every night.
In the /var/log/zimbra.log I see:
... and after that the last message about the auth_mech is repeated every 30 seconds.
Apr 26 23:18:22 nl01 postfix/smtpd: table hash:/etc/aliases(0,lock|fold_fix) has changed -- restarting
Apr 26 23:18:22 nl01 postfix/postfix-script: refreshing the Postfix mail system
Apr 26 23:18:22 nl01 postfix/master: reload -- version 2.7.2, configuration /opt/zimbra/postfix-18.104.22.168z/conf
Apr 26 23:18:23 nl01 saslauthd: server_exit : master exited: 30970
Apr 26 23:18:24 nl01 saslauthd: set_auth_mech : failed to initialize mechanism zimbra
Seems that saslauthd failed to start on MTA restart.
Also when I try zmmtactl restart, I get the same error: "failed to initialize mechanism zimbra".
I investigated further and found that I'm missing URL in the saslauthd.conf:
And the file modification time is at 23:18, so it was rewritten at the time of the automatic MTA restart.
$ cat saslauthd.conf
But in saslauthd.conf.in, there is a line (among others):
so I suppose that this URL should be filled in automatically. And it really is, but only after I do a full restart of Zimbra with "zmcontrol restart", restart of MTA is not sufficient.
Please advise why my saslauthd.conf is rewritten without the URL or how could I debug this issue further.
Using ZCS Release 7.1.0_GA_3140.UBUNTU10_64 UBUNTU10_64 FOSS edition,
some variables I checked but didn't find any discrepancies:
Any help would be appreciated. Thank you very much.
$ zmprov getServer nl01.coders.sk | grep Auth
$ zmprov getServer nl01.coders.sk | grep Mode
Michal Belica - IT consultant