Archive Mail format

Glenn Steen glenn.steen at
Mon Mar 2 16:17:30 GMT 2009

2009/3/2 Jason Voorhees <jvoorhees1 at>:
> 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
> times.
> 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

Archiving _after_ content checks et al would kind of defeat the
purpose of the archive... It should be pristine, untouched by MS...
What you're after would be the non-spam quarantine ... just add
"store" to the Non Spam Actions, and see how you like that.

-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se

More information about the MailScanner mailing list