procmail
[Top] [All Lists]

/etc/procmailrc, $HOME/.procmailrc and sendmail

2001-07-04 07:00:55
Hello procmail gurus,

posting again the same problem.

briefly: 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.

procmail matches the INCLUDERC and the .procmailrc file and applies it
to all user names.
in particular this recepies filter mail from a certain sender. but when my
other users get mail from that sender the mails are filtered in the same
way, although there are no .procmailrc files in their dirs. so i guess the
INCLUDERC directive simply gets the rules from $HOME/.procmailrc and
propagades them for everyone - which is the same as simply listing the rule
in question in the /etc/procmailrc.  

 
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.
3. even created a .forward file in the user's home dir, but that
should not be necessary



 /etc/procmailrc


SENDMAIL = /usr/sbin/sendmail
PATH=/usr/bin:/usr/local/bin:/bin
PMDIR=$HOME/
MAILDIR=$HOME/
LOGFILE=$MAILDIR/log.`date +%y-%m-%d`
SHELL=/bin/sh
INCLUDERC=/path/to/user/.procmailrc

$HOME/.procmailrc

# Put mail from pm.greyhound into mailbox Send_From_Pm
:0:
* ^(From).*pm.greyhound
Sent_From_Pm_Greyhound


thank you

-- 
Best regards,
 Ivailo    Chipev                      
mailto:contact(_at_)ivc(_dot_)phalanx(_dot_)cc

_______________________________________________
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>