Exim upgrade has screwed up the config file. Exim not starting

Update happened around 5 hours ago here. Exim didn’t restart with error:

Jul 12 05:35:44 node.akcp.com exim4[802690]: 2023-07-12 05:35:44 Exim configuration error in line 306 of /var/lib/exim4/config.autogenerated.tmp:
Jul 12 05:35:44 node.akcp.com exim4[802690]:   authenticator inbound_srs: cannot find authenticator driver "redirect"
Jul 12 05:35:44 node.akcp.com exim4[802692]: Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
Jul 12 05:35:44 node.akcp.com exim4[802692]: /var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
Jul 12 05:35:44 node.akcp.com systemd[1]: exim4.service: Control process exited, code=exited, status=1/FAILURE
Jul 12 05:35:44 node.akcp.com systemd[1]: exim4.service: Failed with result 'exit-code'.
Jul 12 05:35:44 node.akcp.com systemd[1]: Failed to start LSB: exim Mail Transport Agent.

At first glance it seems that the srs lines have been inserted in the wrong place in the config.
Fixed with
cd /etc/exim4
cp exim4.conf.template.orig exim4.conf.template

And then restart exim.
Will investigate further. Have a few more servers to check right now.

Only affected about 25% of servers. Have restored them to working order by copying previous config into place as described above. Seems a quickly released 1.8.1 has fixed the problem.

OK, so it only happened on servers running exim 4.95, which will be servers installed in the last 6 months or so. If you installed hestia longer ago than that, you’re on exim 4.93 and won’t be affected

Only Ubuntu 22.04 is affected due to the .patch file not working correctly we have also addressed it in 1.8.1 solution to copy over https://github.com/hestiacp/hestiacp/blob/main/install/deb/exim/exim4.conf.4.95.template and rename it to
exim4.conf.template

And un comment:

#SPAMASSASSIN = yes
#SPAM_SCORE = 50
#SPAM_REJECT_SCORE = 100
#CLAMD = yes

If you use SPAMASSASSIN / Clamd

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.