procmail
[Top] [All Lists]

Re: EXITCODE and stdout

2000-08-25 23:50:21
On 24-Aug-2000, Ronny Haryanto wrote:
:0
* ^From:(_dot_)*abuser(_at_)example\(_dot_)com
{
    EXITCODE=100

    :0
    | echo "Permission denied"
}

Well, I got the answer from Michael Handler from the qmail mailing
list. I am posting the recipe here hoping it will be helpful to
others.

:0
* ^From:(_dot_)*abuser(_at_)example\(_dot_)com
{
    EXITCODE=100

    :0f
    | echo "Permission denied"

    :0r
    |
}

Ronny

_______________________________________________
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>