Need to copy all incoming and all outgoing mail to a mailbox
Posted: Thu Dec 06, 2007 11:30 am
I have a pop account that is a catchall account for our company email. I then use fetchmail to get that mail delivered to scalix. All works fine so far.
What I need now is to have all incoming and all outgoung mail copied to a scalix mailbox for archiving purposes. I added the general.cfg opion ARCHIVE=bcc:archiv@mpla.com but this only copies outgoing email. I figured out I can get a copy of the incoming email by using this fetchmailrc file
but I suspect this will stop working if I let fetchmail delete the mail from my server after it downloads it since the second line will not find any mail to download. Is this correct? Does fetchmail with this config actually download the mail twice or does it just copy everything to the archiv account?
Is there another way I can have all incoming/outgoing mail copied to our archiv account?
What I need now is to have all incoming and all outgoung mail copied to a scalix mailbox for archiving purposes. I added the general.cfg opion ARCHIVE=bcc:archiv@mpla.com but this only copies outgoing email. I figured out I can get a copy of the incoming email by using this fetchmailrc file
Code: Select all
poll mail.mpla.com proto pop3 localdomains mpla.com
envelope X-Envelope-To
user all with pass password to * here
user all with pass password to archiv@atkosoft.com here
smtphost mailserver.mpla.org
but I suspect this will stop working if I let fetchmail delete the mail from my server after it downloads it since the second line will not find any mail to download. Is this correct? Does fetchmail with this config actually download the mail twice or does it just copy everything to the archiv account?
Is there another way I can have all incoming/outgoing mail copied to our archiv account?