Archive Mail format

Jason Voorhees jvoorhees1 at
Mon Mar 2 16:02:46 GMT 2009

On Mon, Mar 2, 2009 at 10:38 AM, Steve Freegard <steve.freegard at> wrote:
> Jason Voorhees wrote:
>> Hi there:
>> I'm using Archiving feature of MailScanner 4.74.16-1 with this setting:
>> Archive Mail =  %rules-dir%/mail.archiving.rules
>> The content of mail.archiving.rules is:
>> To:             *
>> /var/spool/MailScanner/archive/_TOUSER_/Received
>> From:         *
>> /var/spool/MailScanner/archive/_FROMUSER_/Sent
>> MailScanner stores mail OK, I can browse e-mail classified by each
>> user but there are some things about this that I'm not really sure:
>> 1. MailScanner isn't supposed to archive every mail in Mbox format?
>> Every archived mai it doesn't seem like a mbox message, the "file"
>> command says the email message is only "data", and the content hasn't
>> the order of a real e-mail message.
>> Am I doing something wrong in my settings? How can I store email in
>> mbox format o something legible?
> Set 'Missing Mail Archive Is = file' instead of directory; this should
> cause 'Received' and 'Sent' to become mboxes (you might want to add
> _DATE_ into the path too as mbox files can only grow to 2Gb maximum).
Thanks Steve, that makes thing works as expected... I wasn't sure
about the real meaning of that feature even when I read it a couple of

But now that I'm reading mail logs I see that MS achive mails before
content checkings. Is it posible to change the order MS archive mails?
Maybe something like archiving before or after spam/virus/dangerous
content checking, or even better let this option to rules decision

> Regards,
> Steve.
> --
> MailScanner mailing list
> mailscanner at
> Before posting, read
> Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list