procmail
[Top] [All Lists]

Re: Procmail Errors

1999-02-26 23:49:45
Christopher,


Date: Fri, 26 Feb 1999 22:41:34 -0500
From: Christopher Neill <chris(_at_)verio(_dot_)net>
Organization: Verio Ohio (800) 424-3223 / http://www.verio.net/
To: deedsmis(_at_)ris(_dot_)net,
     "Procmail (procmail-request)" 
<procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de>

On Fri, Feb 26, 1999 at 03:49:39PM -0700, deedsmis(_at_)ris(_dot_)net wrote:
One more thing.

     What exactly is used for an "and" condition?

logical and is done with multiple conditions:

:0:
* ^FROM_DAEMON
* !^TOme(_at_)myself(_dot_)org
* ^Subject\:.*fnord$
nooch

What is the dollar sign for?


     And, exactly how are the "{}" braces used, what purpose do they
     serve, and how effective are they?

Those are for nesting actions, since a recipie only contains one action:

:0
* ^FROMBob Allistat
{
        :0
        EXITCODE=67 HOST
        !steele(_at_)fbi(_dot_)gov`
}

What leaves me puzzled about the above nested condition is: EXITCODE=67 HOST.
Where can more involved details be found?

*************************************************************************
Signed,
Inquisitive

P.'S. Detailed Documentation(s) and Sample(s) are more than welcome!


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