[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Filter



In my .procmailrc:
:0:
* ^FROM:.*(@spam1.com|@spam2.com|\
@spam2.com|@spam4.com)
* !^X-Loop: yourself@aol.com
| (formail -r -A"Precedence: junk" \
-A"X-Loop: yourself@aol.com" ; \
echo "Mail refused.  All mail from this domain is being rejected"; \
echo "by a spam filter.  Have a nice day :-)"; \
echo "  --Your Name(and email address)") | $SENDMAIL -t

and appended to my .poprc entry:
   mda "/usr/bin/procmail -f-"

HTH,
Brandon

PS, you can also use the .forward:
"|IFS=' '&&exec /usr/bin/procmail -f-||exit 75 #youruserid"

PPS, replace the yourself, and spam addresses appropriatly.

-----
Brandon Mitchell                         E-mail: bhmit1@mail.wm.edu
              PGP Key: finger bhmit1@128.239.205.139           

"We all know Linux is great...it does infinite loops in 5 seconds."
	--Linus Torvalds

On Sat, 26 Apr 1997 JADiaz@aol.com wrote:

> Where can I get A FILTER to stop SPAM
> 
> Jorge


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: