spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin A. McGrail" <>
Subject Re: Synthesizing an Mbox Header
Date Mon, 09 Apr 2018 15:41:30 GMT
I'm receiving attachments from webforms primarily that are just the message
headers & body but missing the mbox separator.  However, most of my tooling
is designed for mbox.  I'll try the formail idea, thanks!

Kevin A. McGrail
Asst. Treasurer & VP Fundraising, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project - 703.798.0171

On Mon, Apr 9, 2018 at 11:37 AM, Kris Deugau <> wrote:

> Kevin A. McGrail wrote:
>> Hi All,
>> I get a lot of spamples submitted to me and it would be nice if there was
>> an automated way to synthesize the mbox separator.  Looking to see if there
>> is an existing process before I reinvent the wheel.
> formail < messagefile >> mboxfile
> However, whatever magic formail uses may not be able to locate the correct
> information - the envelope sender in particular is IME not always preserved
> well in the message itself, so the (re)generated "From " line may not match
> the original delivery information.
> I'm curious why you need to do this though;  if you're receiving these to
> a mbox mail folder then the delivery agent should be correctly generating
> one.  If you're filing them in a maildir mail folder, then it's not needed.
> -kgd

View raw message