procmail
[Top] [All Lists]

Filter?

2005-08-11 22:42:25

Hi,

I came across this little recipe today, it filters by domain name.

This is the filter. It works great, but I would like to do this on a much 
larger scale.


:0H
* 1^0 ^Reply-To:.*hotmail\.com
* 1^0 ^From:.*hotmail\.com
* 1^0 ^To:.*hotmail\.com
$MAILDIR/spam


I would like to be able to extract a domain name from an email that I consider 
spam, put it in a text file and then have procmail query the text file to block 
future emails from hotmail.com aol.com.

Any suggestion or help is greatly appreciated.

Regards,
-- 
 Lennart Andersen 
 St Thomas, Ontario
 lennart at rogers dot com
--------------------------        
  - Debian - when code matters more than commercials
  

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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