3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: How to use list of bl...
FromSent OnAttachments
Philip MakDec 26, 2001 10:48 pm 
Philip MakDec 27, 2001 3:34 pm 
Philip MakDec 28, 2001 4:38 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: How to use list of blocked addresses?Actions...
From:Philip Mak (pm@animeglobe.com)
Date:Dec 27, 2001 3:34:40 pm
List:net.sourceforge.lists.courier-maildrop

Well, I've figured out how to get .mailfilter to work. It would be nice if there was a less cumbersome syntax to do what I'm doing though, since the general form of my rules are pretty simple. Does anyone have suggestions, perhaps a .mailfilter script that uses GDBM that I can drop my rules into?

if (/^From:.*girls\.4u@yahoo\.com.*/) { echo "Becky Smith <girl@yahoo.com> is a spammer" EXITCODE = 100 exit }

if (/^From:.*hpcaller9800@yahoo\.com.*/) { echo "Bill Formacker <hpca@yahoo.com> is a spammer" EXITCODE = 100 exit }

if (/^From:.*korcin\.com.*/) { echo "Jonathan Lee <webm@korcin.com> is a spammer" EXITCODE = 100 exit }

if (/^Subject:.*DVD Movie Lovers.*/ || /^Subject:.*Copy any.*DVD.*/) { echo "DVD duplication spam rejected" EXITCODE = 100 exit }

if (/^Subject:.*Prescription.*Without.*Doctor.*/) { echo "Prescriptions Without Doctor spam rejected" EXITCODE = 100 exit }