This pig need some workarounds...
----[ '/var/lib/tdmailtools/FLT_empty_body' ]---------------------------
<snip>
:0B
* ^(--=20|-- )$
{
TMPMSG=`formail -I "" |sed -e 's|^--=20|-- |' -n -e :a -e '/^-- /,$d;P'`
:0B
* 1^1 `echo -e "${TMPMSG}"`
* -1^1 `echo -e "${TMPMSG}" |grep '^$'`
{ LOG="" }
BLINES="$="
}
:0E
{
:0B
* 1^1 ^.*$
* -1^1 ^$
{ LOG="" }
BLINES="$="
}
<snip>
------------------------------------------------------------------------
Tested with arround 200/200 messages (spam/ham) and gotten now:
----[ '~/log/procmail/2007-12-06' ]-------------------------------------
##################### NEW MESSAGE AT 2007-12-06 09:25:03 #####################
(7896609) TDMailSerialnumber : Passiert
(7896609) FLT_whitelist : Passiert
(7896609) FLT_received : Passiert [COUNT=9]
(7896609) ML_divers : Passiert
(7896609) BTS_Debian : Passiert
(7896609) FLT_mailer-daemon : Passiert
procmail: [21191] Thu Dec 6 09:25:04 2007
procmail: No match on "^(--=20|-- )$"
procmail: Score: 29 29 "^.*$"
procmail: Score: -12 17 "^$"
procmail: Assigning "LOG="
procmail: Assigning "BLINES=17"
procmail: Assigning "VERBOSE=off"
(7896609) FLT_empty_body : Passiert [LINES=17]
(7896609) FLT_blacklist : Treffer [TLIST=blacklist,
FROM=imss(_at_)koopjeskrant(_dot_)be]
Subject: Bug#381252: Uw e-mail aan Koopjeskrant
Folder: .ATTENTION.2007_47.bts_debian.FLT_blacklist/new/1196929503.2 4168
##################### NEW MESSAGE AT 2007-12-06 09:25:04 #####################
(7877068) TDMailSerialnumber : Passiert
(7877068) FLT_whitelist : Passiert
(7877068) FLT_received : Passiert [COUNT=10]
(7877068) ML_divers : Passiert
(7877068) ML_debian : Passiert
(7877068) FLT_mailer-daemon : Passiert
procmail: [21300] Thu Dec 6 09:25:05 2007
procmail: Match on "^(--=20|-- )$"
procmail: Executing "formail -I "" |sed -e 's|^--=20|-- |' -n -e :a -e '/^--
/,$d;P'"
procmail: Assigning "TMPMSG="
procmail: Score: 0 0 "`echo -e "${TMPMSG}"`"
procmail: Score: 0 0 "`echo -e "${TMPMSG}" |grep '^$'`"
procmail: Assigning "BLINES=0"
procmail: Assigning "VERBOSE=off"
(7877068) FLT_empty_body : Leer [FROM=n_spearscs(_at_)metlife(_dot_)com]
Subject: Bug#109846: 4dti
Folder: .ATTENTION.2007_46.ml_debian.FLT_empty_body_0/new/1196929504 4136
------------------------------------------------------------------------
Thanks, Greetings and nice Day
Michelle Konzack
Tamay Dogan Network
Open Hardware Developer
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail