Archive Mail format

Julian Field MailScanner at
Mon Mar 2 18:04:34 GMT 2009

Hash: SHA1

On 2/3/09 16:17, Glenn Steen wrote:
> 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.
And remember there are variants on the "store" action, like this:

#    store                   - store the message in the (spam) quarantine
#    store-nonmcp            - store the message in the non-MCP quarantine
#    store-mcp               - store the message in the MCP quarantine
#    store-nonspam           - store the message in the non-spam quarantine
#    store-spam              - store the message in the spam quarantine
#    store-<directory-path>  - store the message in the <directory-path>


- -- 
Julian Field MEng CITP CEng
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key:

Version: PGP Desktop 9.9.1 (Build 287)
Comment: Use PGP or Thunderbird Enigmail to verify this message
Charset: ISO-8859-1


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list