procmail
[Top] [All Lists]

Re: Sendmail and procmail don't invoke $HOME/.procmailrc

2001-07-05 08:06:06
Ivailo Chipev <contact(_at_)ivc(_dot_)phalanx(_dot_)cc> writes:
Problem: sendmail and procmail activate only from /etc/procmailrc, but
don't act on any $HOME/.procmailrc recipes. However when i do a local
recipe test like # procmail .procmialrc < sample.msg the recipe works
correct.

I wonder what i am missing. here is what i have done so far:

1. installed latest procmail
2. edited the Mlocal parameter in sendmail.cf as described in the
procmail documentation.

Instead of editing the sendmail.cf file you should be editing your
sendmail.mc file to add the line
        FEATURE(`local_procmail', /path/to/procmail/here)

then re-run m4 to generate the new file.  If this is a BSD or Linux
system and there isn't a simple way to do that, yell at your vendor.


3. even created a .forward file in the user's home dir

If you're done (2), then don't do (3).


What are the permissions on $HOME and $HOME/.procmailrc?  Have you
checked the maillogs?  What happens if you just run procmail from the
command line, feeding it a message on its stdin?


Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>