procmail
[Top] [All Lists]

Re: procmail 'if' statements

2003-12-30 17:49:11
Follow-up:

I added these lines to my recipe, after SQLRESULT=$HOME/spamcheck.pl:

:0 
* $SQLRESULT > 0
{
        OUTCOME='Address matched'
}
:0
* $SQLRESULT < 1
{
        OUTCOME='No match.'
}

but the log shows the following:
procmail: Assigning "SQLRESULT=1"
procmail: No match on "SQLRESULT > 0"
procmail: No match on "SQLRESULT < 1"

That's perplexing: even though SQLRESULT was assigned 1, neither option 
matched... What have I overlooked?

Thanks!

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