How to archive old mail?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

dpuryear
Posts: 34
Joined: Thu May 25, 2006 5:02 pm

How to archive old mail?

Postby dpuryear » Thu May 25, 2006 6:51 pm

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!

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue May 30, 2006 4:32 pm

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

jgao
Posts: 55
Joined: Tue Feb 14, 2006 11:54 pm

Postby jgao » Tue Jun 06, 2006 2:16 pm

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.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Jun 09, 2006 8:10 pm

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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests