procmail
[Top] [All Lists]

Re: mail filtering doesn't work

2002-12-01 02:25:46
Thanks for the answers, here is my .forward file

bash-2.04$ cat .forward
"|/usr/bin/procmail #climbinc"




and my .procmailrc file


bash-2.04$ cat .procmailrc
SENDMAIL=/usr/sbin/sendmail
LOGFILE=$HOME/errors/log.`date +%Y-%m`
VERBOSE=on

#Mail filtering config

:0
* ^From:(_dot_)*asmar(_at_)pathfinder\(_dot_)gr
/dev/null

:0
* ^From:(.*\<)?asmar(_at_)pathfinder\(_dot_)gr

:0
*^From:jcatena(_at_)speedy(_dot_)com(_dot_)ar
/dev/null

# Test if the email's sender is in the blacklisted
:0
* ? formail -x"From" -x"From:" -x"Sender:" \
    -x"Reply-To:" -x"Return-Path:" -x"To:" \
    | egrep -is -f /home/climbinc/black.lst
/dev/null



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