Monday, February 05, 2018

Re: [FIX] mail/exim rc script fix

On 2018/01/31 10:47, Christian Gut wrote:
> 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


I think removing the check makes more sense. (REVISION bump needed as
well, but no need to re-send just for that). Anyone else have comments?

This port could really do with a maintainer, I've done most of the
recent updates but don't use it myself.

No comments:

Post a Comment