On Tue, 19 Mar 2002, Reuben D Budiardja wrote:

> Based on the discussion on this list, I use procmail to filter out spam.
> 
> What I did is to create a folder, let's call it junk, in my mail directory. 
> So everytime I get spam, I just move it to that junk directory. I then have a 
> script (php script) that is run by cron every 2 hours. The script will parse 
> the mail in junk directory, grep the domain of the spam e-mail, and add it to 
> the procmailrc rule like:
> 
> :0:
> * ^(To|From|Received|Reply-To|Sender):.*domain.com
> $MAILDIR/trash

 This is not a tremendously wise thing to do, because some spam uses
the address of the recipient as the From: address.  If you ever wanted
to send yourself something as a test, it'd disappear.




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to