Archiving Mail

Julian Field MailScanner at ecs.soton.ac.uk
Mon Jan 10 23:18:00 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Jameel Akari wrote:

> While we're on the subject of the Archive function and the fact that it
> can dump to an mbox file, is there a way to tell MailScanner to use a new
> mbox file while it is running?

Your best bet is to HUP MailScanner and then immediately move new mbox
files into place. It takes a second or two before the first message will
be processed, which should give you enough time to get the new mboxes in
place.

Though obviously this isn't as "Solid" as it should be, I quite agree.
Ideally you should stop and restart.

> Or perhaps you can have some sort of rule or macro define that
> filename so
> that it automatically switches to a new file each day, something like:
> archive_$DATE.mbox -> archive_20040110.mbox for today,
> archve_20040111.mbox for tomorrow, etc.  Then you only work on the
> rotated-out file.

That's not a bad idea, but makes it ever more complex to use and configure.

> And at risk of being burnt at the stake for heresy, how well might it
> handle a single mbox between two machines over NFS?

It can be done (we do it) reliably. But it is pretty hard as you need to
be totally paranoid about the locking.

--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

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

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list