procmail
[Top] [All Lists]

Re: AGIS Netblock recipe question.

1997-05-23 07:05:00
On Thu, 22 May 1997 23:23:38 +0000 (GMT),
"Matthew G. Saroff" <msaroff(_at_)pca(_dot_)net> wrote:
here is the part that I don't understand:
{
EXITCODE = 77

:0
/dev/null
}
     I'm not sure why this person has this instead of just routing 
directly to /dev/null.

The EXITCODE tells Sendmail to generate a bounce message (if Procmail
is being invoked correctly, so that its exit code is available to
Sendmail). 

See also /usr/include/sysexits.h for some other exit codes. 

     BTW, does anyone out there have a recipe that will automatically 
put a user name into a file if they send a message with the appropriate 
phrase, and then compares to that file to see if they should be passed?

This comes up rather often. Search the list archive for recipes with
"fgrep" and "bozo" in them :-)

/* era */

That archive URL again:
    <http://www.rosat.mpe-garching.mpg.de/mailing-lists/procmail/>

[This server's query language wants a string like 
"bozo;fgrep" (without the quotes)]

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

<Prev in Thread] Current Thread [Next in Thread>