Kreemy wrote,
Well, there will be a CRLF after the end of the headers which I think
is, technically, part of the body.
No, procmail considers the blank line at the end of the head to be part
of the head. However, except in raw mode there is a blank line at the
end of the body, which, of course, procmail sees as part of the body.
Alan figured it out:
Looking at procmailrc, B egreps the body but < is not a straight regular
expression. So maybe < 10 is checking the complete message, including the
header.
Ah, yes, that's right. "<" and ">" conditions ignore the H and B flags
from the colon line and always operate on the entire message unless a
different search area is specified *on*the*condition*line*. The
Received: header your own system adds is enough to make < 10 fail.
How about trying :0b: instead to pass just the body.
Well, Alan was half-right. `b' feeds the body (without the head) to the
action; it has no effect on the conditions. It would mean that
$SPAMFOLDER would get only the body of the message and not the head.
Paul, try this:
:0:
* B ?? < 10
$SPAMFOLDER
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail