Archive Mail format

Steve Freegard steve.freegard at
Mon Mar 2 15:38:06 GMT 2009

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).


More information about the MailScanner mailing list