On Monday 18 March 2002 12:05 pm, you wrote: > 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.
Well, I shoud have added: do it with care !! :) You're right, I usually check to see if the From is really from the spammers domain. If not, then I just edited the procmailrc file by hand and trash the mail. But in most cases, it works for me. Rdb _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list