procmail
[Top] [All Lists]

Recipe Correctness ?

2003-09-21 17:55:33
I've modified the following Timo recipes and just want to check and see
if someone call tell me if I have done this correctly?

Thanks in advance!

Here are the two recipes which I include in the file, rc.other that
procmail uses. Both recipes have been modified to accept mail only from
either mpierce, mrpierce or marvinrpierce @ optusnet.com.au,
teebookglobal.com or 303Sport.com. 

If mail not addressed to those email addresses, then consider the mail
spam as my subscriptions are in another file, rc.subscriptions which
procmail processes before rc.other:

#Catch potential spam   
:0
*
!^TO_(mpierce|mrpierce|marvinrpierce)@(optusnet\.com\.au|teebookglobal\.com|303S
port.com|yahoo.com.au)
{
  :0 fwh
  * ^Content-Length:
  | formail -IContent-Length:
  :0:
  $MAILDIR/spam/
}

#Spam avoidance of certain routes and if not for me personally 
:0:
* -1^0
*  1^0 ? formail -x"Received:" | egrep -is "dialsprint\.net"
*  1^0 ? formail -x"Received:" | egrep -is "sccmmhc02\.asp\.att\.net"
*  1^0 !
^TO_(mpierce|mrpierce|marvinrpierce)@(optusnet\.com\.au|teebookglobal\.com|303Sport.com|yahoo.com.au)
$MAILDIR/spam/




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