procmail
[Top] [All Lists]

RE: Phantom lines in empty body

2004-06-20 17:32:25


-----Original Message-----
From: procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
[mailto:procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE]On Behalf Of 
Jim Osborn
Sent: Sunday, June 20, 2004 2:59 PM
To: procmail list
Subject: Phantom lines in empty body


Using this recipe to detect an empty mail body:

#
# Test for empty body:
#


This subject was discussed while back (follow the follow-up links):

http://www.xray.mpe.mpg.de/mailing-lists/procmail/2004-02/msg00169.html

My favorite was:

STOP=-9876543210
SPACE = " "
TAB = " "
NL = "
"
WS = "$SPACE$TAB$NL"

:0 B:
* 1^0
* $ $STOP^0 [^$WS]
empty-body.mbox


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