Hi ports@

for the second time in history I got a failed exim start after upgrading an 
OpenBSD release. The cause: /etc/rc.d/exim checks, whether 
/etc/mailer.conf.exim is present and (silently) fails to start, if present. 
This also is pretty difficult to find.

As I understand the reason for this check, the other mta in ports do not do 
this. It even seems wrong, as mailer.conf contains the exim binaries, but 
mailer.conf.exim is brought back by port upgrade.

I attach two possible patches to address this issue:

exim.rc.nocheck.patch removes rc_pre to bring it in line with other mta
exim.rc.grep.patch replaces the check with a direct check, if mailer.conf has 
“exim” in it and does some logging to report the issue.

Please provide me with feedback for better solutions.

Kind Regards,
Christian

Attachment: exim.rc.grep.patch
Description: Binary data

Attachment: exim.rc.nocheck.patch
Description: Binary data

Reply via email to