Bug#267706: exim4: Exim should use procmail if it is installed even if there is not a ~/.procmailrc file

Mike Fedyk Mike Fedyk <mfedyk@matchmail.com>, 267706@bugs.debian.org
Tue, 24 Aug 2004 12:49:18 -0700


Andreas Metzler wrote:

>This will cause delivery by procmail even if there are no "global
>procmail rules". And I do not think that is desirable, it is just
>useless overhead in this case. (imho the more common szenario is that
>procmail is installed because _some_ users want/need it.)
>
>I think it is possible to make exim use procmail if either
>/etc/procmailrc or ~/.procmailrc exist, something like
>
>require_files = ${local_part}:${if stat{/etc/procmailrc}{/etc/procmailrc}{ ${home}/.procmailrc}}:+/usr/bin/procmail
>
>will probably do the trick. - I assume you'd be satisfied by that?
>
Yes.

Thanks,

Mike