Page 1 of 1
How to archive old mail?
Posted: Thu May 25, 2006 6:51 pm
by dpuryear
I am moving to Scalix from a Courier-IMAP/Maildir background. One of the nice features of Maildir was that it was easy to archive old mail automatically. Is there a way to reproduce this ability in Scalix? What I'd like to see is mail older than, say, six months to be archived. I can do this using the Archive ability in Outlook, but that's more cumbersome.
Just curious.
Thanks!
Posted: Tue May 30, 2006 4:32 pm
by ScalixSupport
There isn't away other than through outlook to archive messages in the way you are thinkiing of archiving. We do have the ability to archive every message. Have a look at page 302 (pdf 310) of the admin guide. It offers some options for archiving. The setting you will make in general.cfg is
ARCHIVE=TRUE which will send the messages to /var/opt/scalix/archive. The will be stored there in mime format.
ARCHIVE=inet:host.example.com will send the messages to another host. Possibly one that is an running an archiving service i.e. iLumin (
http://www.ca.com/ilumin/)
ARCHIVE=bcc:archive@example.com will send the messages to the mailbox specified. It does not have to be a scalix mailbox.
Regards,
Don
Posted: Tue Jun 06, 2006 2:16 pm
by jgao
If I use method one:
ARCHIVE=TRUE which will send the messages to /var/opt/scalix/archive. The will be stored there in mime format.
How to restore them back to Scalix?
Thanks.
Posted: Fri Jun 09, 2006 8:10 pm
by ScalixSupport
In the archive directory you will see directories by day. In a day directory you will see files with names like 22:21:10-0400.11094.0. You can resubmit that message with:
sendmail -bs<22:21:10-0400.11094.0
That will send the message to everyone listed in the file with RCPT TO:. If you want the message to go to only one person you'll have to edit out the other RCPT TO's. If you are clever with grep and sed you can script something to ease the process.
Regards,
Don