On Tue, 2004-07-13 at 13:06, MJ Ray wrote:
On 2004-07-13 12:03:12 +0100 Martijn Koster mak-alug@greenhills.co.uk wrote:
By the way, many modern MTAs can run procmail without a .forward file, by checking whether .procmailrc exists. Exim is definitely one [...]
An MTA doesn't check for ".procmailrc" itself; [...]
I wrote Exim definitely does this, so I disagree with your absolute statement. What do you think this part from the debian default exim config does, then:
# This director runs procmail for users who have a .procmailrc file
procmail: driver = localuser transport = procmail_pipe require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail no_verify
Note the comment: "runs procmail" :-) The mta itself doesn't read .procmailrc; it runs a separate local delivery agent /usr/bin/procmail, and *that* reads the .procmailrc. I'm not aware of any mta's linking with procmail as a library, so until you present a counter example I stand by my assertion :-)
I do not know know if the original poster has a exim configuration that configures procmail as default local delivery agent too. If not, he might be surprised to see that his .procmailrc gets ignored. That's why I explicitly mentioned it needs to be configured in both postfix and exim.
-- Martijn