procmail
[Top] [All Lists]

Re: Bouncing/refusing mail with EXITCODE

1997-04-14 06:51:00
On Mon, 14 Apr 1997, era eriksson wrote:

On Sun, 13 Apr 1997 19:15:13 -0700 (PDT),
James Vahn <jvahn(_at_)short(_dot_)circuit(_dot_)com> wrote:

     :0:.this.looks.like.a.good.place.to.lock
 > * ^(From|Message-id|Received):(.*andernet.org|.*earthlink\
 > |.*dm1.com|.*quant|.*telysis|.*sprynet|.*bellsouth|.*rosey\
 > |.*worldnet|.*bell|.*getnet|.*grafix|.*voyager|.*aol.com\
 > |.*origin suppressed|.*kiminc|.*cyber|.*america|.*redrove\
 > |.*concentric|.*cris.com|.*indiana)
 > {
 >         EXITCODE=67
 >         :0
 >         TRASHCAN
 > }
TRASHCAN looks like it's a synonym of /dev/null (since you're not
locking it); merely setting EXITCODE and unsetting HOST will lose the
message for you automatically; you don't have to save it anywhere
then. 

No, it should be locked. My fumble fingers seems to have omitted that for
some reason. It also looks like I forgot to escape andernet.com and a few
others. Thanks, I missed that entirely.

TRASHCAN is a folder that I snoop into once in a while. Like any garbage
can, you can expect it to be full of trash so there aren't many suprises.

(# match end of word or end of line: |\>|$))\

I didn't intend to match the end of anything with these, purposely
kept the names short to catch sub-domains. They are not going into
/dev/null and are not all spam sites, but sometimes paths that the 
spammers use.

Friendly mail ending up in TRASHCAN would force me to include a block
of "* ! ^From:.*(friendly(_dot_)face(_at_)someplace)" or something, but I 
haven't 
had to go through the trouble.. umm.. yet.

Do you receive any mail whatsoever? ;^)

Enough to interfere with the yardwork..  :-)



-!-