When forwarding a batch of missed spam (or ham) from
Outlook back to SpamAssassin the best way seems to be
for our users to select more than a single message,
and use the menu:  Action->Forward which puts them
all in as attachments.

(Selecting a single item just does a normal forward.)

While I will eventually be able to write a parser to
go through these and find the 'outer' Mime part marker,
skip over the Content headers of each message and then
save the following lines up to the next marker to a
separate file:

        ------=_NextPart_000_0700_01C59212.7AE17630
        Content-Type: message/rfc822
        Content-Transfer-Encoding: 7bit
        Content-Disposition: attachment

        From: <[EMAIL PROTECTED]>

...it would be nice to use a pre-written program or
module.  Perl is best for me.

My initial searches at CPAN and Google have not
found this but my guess it that someone has such,
or even that I am looking right at it in the search
results but overlooking the module.

Other methods (for my users) include opening each
email separate, choosing menu:  Action->Resend, filling
in a "to address" (for each message) and answer a number
of prompts (Ok) to send.

--
Herb Martin

Reply via email to