procmail
[Top] [All Lists]

Re: EXITCODE and stdout

2000-08-26 00:27:05

On Sat, 26 Aug 2000, Ronny Haryanto wrote:
:0
* ^From:(_dot_)*abuser(_at_)example\(_dot_)com
{
    EXITCODE=100

    :0
    | echo "Permission denied"
}

Will EXITCODE 67 or 100 work with Sendmail 8 something?  It appears
doing a /dev/null/ is not required.

I am currently forwarding some unwanted mail to another address,
but would like to get the above result AFTER the forwarding has
taken place.  Is the following a correct syntax, or do I need
to stick a :0 a or :0 c in there somplace?  Thanks.

:0fhw
* !^X-Loop: me(_at_)mydomain\(_dot_)com
* ! ^Old-Postmark:
* ^Received:.*mydomain\.com
| formail -R 'From ' Old-Postmark:
 :0a
 ! `cat /u/eric/procmail/myfile.txt`
------CAN A BLANK LINE BE HERE??????????????
{
     EXITCODE=100

     :0
     | echo "Permission denied"
}





_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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