Page 1 of 1

A Quick Archival Question

Posted: Tue Dec 04, 2007 1:20 am
by propagandhi
Hi People,

Here's the thing. I've got no problem archiving inbound messages. We're archiving now in three places. We've got a standalone scalix server that has a mirror of all of our users, and we forward copies of all inbound mail to that server, thereby maintaining a full user backup of all inbound mail, as it comes in.

We are also using the built in archival functions to maintain archives on a per day basis which are stored on a samba mounted NAS.

We then maintain full backups of user mailboxes daily.

However, here's the main thing we want to achieve, and that is - we want to also be able to archive all sent mail that the user sends. Ideally I'd want all mail the user sents out to be archived in a sent folder for the user on our existing full user archive, but I'm open to any feedback you can provide on how to permanently archive all outbound email!!

Cheers,

Patrick

Posted: Tue Dec 04, 2007 4:04 pm
by mikevl
Have a look at page 153 of the Scalix Admin Guide 11.0.2
All messages are captured in & out cause they pass through the Service Router

Mike

Posted: Tue Dec 04, 2007 4:05 pm
by mikevl
PS if youi use SMTP then the mail address could eith be an external archiving server or a mailbox on your scalix server.

Mike

A Little More On Archival

Posted: Tue Dec 04, 2007 7:32 pm
by propagandhi
Thank you so much for the replies.

I had not realised that outbound mail was also being captured.

However, is there a technique that exists that would allow for the sent mail to be archived on a per user basis?

At the moment I can see that the archival happens in a per-day folder.

Also, is it possible to specify multiple archive methods? In saying this I mean, can you not only use the bcc: mode but also use the file: mode??

Cheers In Advance

Patrick

Posted: Tue Dec 04, 2007 7:59 pm
by mikevl
If you use either an internal or external SMTO archive server then you will be easily able to sort by person.

Mike

One final question

Posted: Tue Dec 04, 2007 10:03 pm
by propagandhi
Ok, sorry for this, but how do you restore a message from the file based archive for a user?

Posted: Tue Dec 04, 2007 11:27 pm
by mikevl
From memory the file based messages are in MIME format.

You should hopefully be able to feed them into the Scalix smtp port

mail -s :message" resubuser@sombody.com < /var/op/scalix......../meaasgeyouwant

Hope this helps. I have not tried this

Mike

Posted: Wed Dec 05, 2007 4:06 am
by Valerion
It's not just in MIME, but contains all the envelope information needed as well. Therefore I would suggest

cat <filename> | sendmail -bs

Just remember the Local Delivery service keeps a list of recently delivered emails and won't deliver duplicates. This cache does expire, though. There is some hints elsewhere on how to clear the cache.