Need to copy all incoming and all outgoing mail to a mailbox

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

mpikounis

Need to copy all incoming and all outgoing mail to a mailbox

Postby mpikounis » 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

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?

mikevl
Scalix Star
Scalix Star
Posts: 596
Joined: Mon Feb 02, 2004 8:32 pm
Location: New Zealand

Postby mikevl » Thu Dec 06, 2007 3:25 pm

The archive option that scalix uses works at the service router level whre all incomming and outgoing messages pass though.

If you output your fetchmail to each of the users in Scalix via the smtp port on your server then all will be OK.

Alternativly you can configure or request your mail provider to deliver SMTP mail to your server.

Mike

mpikounis

Postby mpikounis » Fri Dec 07, 2007 2:29 am

I thought that fetchmail pops mail from my server and delivers it to the scalix smtp server. But if that is the case then it should be irrelevant that I am using fetchmail to "bring" mail to the scalix server - scalix should still archive incoming mail, but it does not.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron