Gary Funck wrote:

Attached, is a Perl script, mdf2sa.pl, which converts spam messages
that have been marked up by MIMEDefang, into a form that is similar
to the message format used by SA.  Also attached is a simple



Hi Gary, just tried out that script, and sorry to say it didn't work at all.
a lot of the time, it fails here:
goto copy_original if !m{$report_hdr_pat};
even though it's not obvious to me (not being a total perl regex guru) why, as the messages all contain:


Content-Type: text/plain; name="SpamAssassinReport.txt"
Content-Disposition: inline; filename="SpamAssassinReport.txt"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Mailer: MIME-tools 5.413 (Entity 5.413)

anyway, on the messages where that regex does trigger, the resulting mail is unreadable in Pine, which complains about not being able to open text attachment, and thunderbird on windows via imap, which in some cases just showed me an empty mailbox.

maybe i'll get a chance to look at it over the next few days.

thanks,
Keith.



Reply via email to