Exim4 unable to start even after rebooting server:
× exim4.service - LSB: exim Mail Transport Agent
Loaded: loaded (/etc/init.d/exim4; generated)
Active: failed (Result: exit-code) since Sun 2024-06-16 01:48:52 UTC; 3min 35s ago
Docs: man:systemd-sysv-generator(8)
Process: 29906 ExecStart=/etc/init.d/exim4 start (code=exited, status=1/FAILURE)
CPU: 147ms
Jun 16 01:48:52 server.hostname.com systemd[1]: Starting LSB: exim Mail Transport Agent...
Jun 16 01:48:52 server.hostname.com exim4[29906]: * Starting MTA
Jun 16 01:48:52 server.hostname.com exim4[30149]: 2024-06-16 01:48:52 Exim configuration error in line 41 of /var/lib/exim4/config.autogenerated.tmp:
Jun 16 01:48:52 server.hostname.com exim4[30149]: main option "acl_smtp_mime" unknown
Jun 16 01:48:52 server.hostname.com exim4[30151]: Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
Jun 16 01:48:52 server.hostname.com exim4[30151]: /var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
Jun 16 01:48:52 server.hostname.com systemd[1]: exim4.service: Control process exited, code=exited, status=1/FAILURE
Jun 16 01:48:52 server.hostname.com systemd[1]: exim4.service: Failed with result 'exit-code'.
Jun 16 01:48:52 server.hostname.com systemd[1]: Failed to start LSB: exim Mail Transport Agent.
root@server2:~# exim4 --version | head -n 1
dpkg -l | grep -E '^ii.*exim'
2024-06-16 05:58:48 Exim configuration error in line 41 of /var/lib/exim4/config.autogenerated:
main option "acl_smtp_mime" unknown
Exim version 4.95 #2 built 11-Jan-2024 13:16:58
ii exim4 4.95-4ubuntu2.5 all metapackage to ease Exim MTA (v4) installation
ii exim4-base 4.95-4ubuntu2.5 amd64 support files for all Exim MTA (v4) packages
ii exim4-config 4.95-4ubuntu2.5 all configuration for the Exim MTA (v4)
ii exim4-daemon-light 4.95-4ubuntu2.5 amd64 lightweight Exim MTA (v4) daemon
Thank you.
The exim service is now running, and yes I did reinstall exim4 due to an error I was having with roundcube on all accounts. Accounts could not send emails, they were getting this error: External SMTP 535 Error Authentication Failed
Now after fixing this exim4 issue, this is the error they get: SMTP Error (451): Failed to add recipient "[email protected]" (Temporary local problem - please try later).
Are you sure you backed up correctly the exim4 dir?
I’m asking because the older exim4.conf.template and the one you have copied doesn’t have the same size…
That i can not say because I’m quite confused as to why the mail stopped working before I decided to reinstall the exim4 (which I ended up with the wrong one that you just corrected).