Any changes made to exim4.conf.template deesn’t work:
Jun 22 13:39:02 portal systemd[1]: Starting exim4.service - LSB: exim Mail Transport Agent…
Jun 22 13:39:02 portal exim4[7645]: Starting MTA:
Jun 22 13:39:02 portal exim4[7887]: 2024-06-22 13:39:02 Exim configuration error in line 505 of /var/lib/exim4/config.autogenerat>
Jun 22 13:39:02 portal exim4[7887]: Unexpected end of configuration file: .endif missing
Jun 22 13:39:02 portal exim4[7889]: Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
Jun 22 13:39:02 portal exim4[7889]: /var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
Jun 22 13:39:02 portal systemd[1]: exim4.service: Control process exited, code=exited, status=1/FAILURE
Jun 22 13:39:02 portal systemd[1]: exim4.service: Failed with result ‘exit-code’.
Jun 22 13:39:02 portal systemd[1]: Failed to start exim4.service - LSB: exim Mail Transport Agent.