On Sun, 3 Nov 1996, Philip Guenther wrote:
As for EXITCODE=77, the syntax for procmail actions does't allow simple
assignments (to do so would be ambigious). You have to wrap the assignment
in braces to make it a nested block. However, that probably not enough
for what you want, as assigning to EXITCODE does not cause procmail to
stop processing the .procmailrc. The most efficient way of doing what you
want is:
:0
* random conditions here
* another one
{
EXITCODE = 77
HOST=
}
This one works nicely. :)
:0
*^(From|Received).*evil.site.here
{
EXITCODE = 77
HOST=metz.une.edu.au
:0
/dev/null
}
Cheers
David