procmail
[Top] [All Lists]

RE: how to strip SA's message markup?

2004-02-22 13:36:40



From: Dallman Ross
Sent: Sunday, February 22, 2004 9:37 AM
[...]

You need formail -s.

  formail -s spamassassin -d < old > new

Yup.


Exhibit A (Spamassassin):
% time formail -s spamassassin -d < spam-100-msgs.mbox > spam-100-clean.mbox
User=75.360 System=4.680 Wall=1:21.88 (U+S)/W=97.7%

Exhibit B (Procmail/sed):
% time formail -s procmail ~/remove_sa_markup.rc < spam-100-msgs.mbox >
spam-100-clean.mbox
User=0.660 System=0.330 Wall=0:01.09 (U+S)/W=90.8%

That's about 75x faster for procmail.



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