procmail
[Top] [All Lists]

Re: Exitcode changes to zero when I asked for 67 ?

1997-09-08 17:06:16
Do you have a file in your Mail called 'EXITCODE=67' ?

On Mon, 8 Sep 1997, W. Wesley Groleau x4923 wrote:

I had to put in a block for a mailbomber.  Does this look correct?  The
comsat line and then changing exitcode to zero is what seems peculiar to
me.


procmail: Match on "^Subject: Re: Computer Trespass"
procmail: Assigning "LASTFOLDER=EXITCODE=67"
procmail: Opening "EXITCODE=67"
procmail: Acquiring kernel-lock
procmail: Notified comsat: 
"wwgrol(_at_)64416:/usr/home/wwgrol/Mail/EXITCODE=67"
procmail: Assigning "EXITCODE=0"

The recipe is

:0
* condition(s) withheld in case the bomber reads this list  :-)
EXITCODE=67

How about  (100% untested)

# What the hell, delete every message no matter what :-)
:0
* ^TO* # don't really do this!
{
        EXITCODE=67
        :0
        /dev/null
}

--
g-r-a-t-e-f-u-l-l-y---[   email:<fishbowl(_at_)conservatory(_dot_)com>   
]---l-i-v-i-n-g
d-e-a-d-i-c-a-t-e-d---[     http://www.conservatory.com/      ]-----l-i-g-h-t
Love cannot be much younger than the lust for murder.  -- Sigmund Freud