procmail
[Top] [All Lists]

Re: Email Body Containing Only MS Newlines

2003-11-08 20:27:48
On Sat, 8 Nov 2003, Paul O. BARTLETT wrote:

POB> # Empty body
POB> :0B:
POB> * < 10
POB> $SPAMFOLDER
POB>
POB> My thinking is that with the three MS-style newlines, the actual body
POB> consists of six bytes.  However, this recipe does not catch such
POB> messages.  I have a lot of filtering recipes, but they are nearly all
POB> quite simple, as I am not a procmail heavy.  Any assistance will be
POB> very much appreciated.
POB>


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.

How about trying :0b: instead to pass just the body.


Alan


( Please do not email me AS WELL as replying to the list.  Please
  address personal email to alan+1@ as lists@ is not read. A
  password autoresponder may be invoked if this email is very old. )


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail