OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: archiving email messages

From: William Schwartz (schwartzwgmail.com)
Date: Wed Nov 15 2006 - 15:26:03 CST


MailScanner works well for archiving email. I support a business that has a
legal requirement to archive all incoming and out going email.

in my MailScanner.conf....

Archive Mail = %rules-dir%/archive.rules

and in archive.rules....

FromOrTo: *domain.com /data/mail_archive/domain.com/archive.mbx
FromOrTo: *domain.com /data/mail_archive/domain.com/
FromOrTo: default no

The first line saves all messages in the one mbx file and the second line
stores the messages individually as postfix queue files in the listed
directory grouped by a dated sub directory.

basically inside /data/mail_archive/domain I have the following where the
numbered ones are the dirs with each days mail and then the one mbx file
which I have a cron to rotate on a weekly basis.

20060101 20060303 20060503 20060703 20060902 20061102
20060102 20060304 20060504 20060704 20060903 20061103
20060103 20060305 20060505 20060705 20060904 archive.mbx

Bill

On 11/15/06, Lucian <lucianlastdot.org> wrote:
>
> Hi,
> I need to setup a mail server for a small company in Bucharest
> and my problem is that the manager wants all email archived and sent to
> a control account. Let's not get into the ethics..
> With qmail the problem is easily solved using inter7
> 's qmail-tap patch (http://inter7.com/?page=qmailtap). Is there
> something similar for postfix?
> Making use of the .forward files (and always_bcc) is not an
> option as the users will have access to these files...
> Thanks,
> Lucian.
>