John Conover <conover(_at_)rahul(_dot_)net> writes:
Thanks, Philip. But it does not work as per the MISCELLANEOUS:
:0
* -11^0
* 4^0 something
* 4^0 somethingelse
* 4^0 andanother
* 4^0 andsomeother
{
# do something if total >= 11
}
#
:0
* 8^0
* $$=^0
{
# do something if total was >= 8
}
$$=^0 is always zero at the beginning of the second block, and the
second block always executes. (Although your recomendations do work.)
Can you post the verbose log showing this? When I try it I get the
following:
morgaine$ cat foo.rc
VERBOSE=on
:0
* -3^0
{ FIRST=yes }
:0
* 8^0
* $$=^0
{ SECOND=yes }
HOST
morgaine$ src/procmail/bin/procmail-3.13.1 foo.rc
procmail: [3301] Fri May 18 00:11:47 2001
procmail: Score: -3 -3 ""
procmail: Score: 8 8 ""
procmail: Score: -3 5 ""
procmail: Assigning "SECOND=yes"
procmail: Assigning "HOST"
procmail: HOST mismatched "morgaine"
Folder: 0
morgaine$
If I change the "-3" to "-10" then SECOND isn't set.
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail