We use something similar. We are a small company so what suits us may
not be usable for you, either way I'll give you the run down so you can
decide. We use an alias to forward mail to the regular mail box that is
accessed via imap/pop and then to a custom program that stores the mail
in mbox format. The only reason we use a custom program (a script of
sort would probably do however ours is written in C) is to sort the mail
by month. To archive sent mail we use the same technique via
sender_bcc_maps to the same program that dates the mailboxes by month. A
quick example of the end product is:
joeuser-recv-MM-YYYY
joeuser-sent-MM-YYYY
This technique has worked very well for us. You can use the mbox style
files with thunderbird or mutt if you need to extract mail from them.
The only downside is the complexity of setting up an email account. You
need to remember to add the proper aliases and what not. I've automated
the process with scripts to make it less likely that we miss something.
Chris St Denis wrote:
James wrote:
I was wondering if anyone here knew of a good way to duplicate emails
for archival purposes.
What i want to do is use a gateway machine that will deliver mail to
two machines.
one being an active imap/pop3 system and the other being a mail
archival system
i was thinking that there might be something like editing the
transport file to do that but that only allows a single destination
per domain as far as i know.
Any help is appreciated,
Thanks
Try recipient_bcc_maps
http://www.postfix.org/postconf.5.html#recipient_bcc_maps