procmail
[Top] [All Lists]

Email Body Containing Only MS Newlines

2003-11-08 16:39:08
    Running procmail v3.14 on a Linux system (distribution not known
to me) with procamil as the local MDA.  MUA Pine 4.21.  I dial or
telnet into shell (commercial ISP).

    From time to time I receive spam (or what has always turned out to
be spam) with no apparent body.  Pine first displays an empty message. 
If I 'r'eply to it, Pine sets up an edit space (I use joe) with two
quoted lines.  If I download the message to my home Win98 box (pipe to
Zmodem directly out of Pine) and look at the file with a binary editor,
it nearly always shows three MS-style newlines, 0x0D0A, and nothing
else.  I am trying to trap such messages and deliver them to a
potential-spam folder.  I have tried this:

# Empty body
:0B:
* < 10
$SPAMFOLDER

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

-- 
Paul Bartlett
bartlett at smart.net
PGP key info in message headers


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