Archive Mail

Indunil Jayasooriya indunil75 at gmail.com
Thu Sep 25 05:20:28 IST 2008


Hi,

I want to archive both outgoing mail incoming mails to 2 diffrent
email addresses. I think I will have to write a rule set for that.

I have set Archive Mail as follows in MailScanner.conf file.

#Archive Mail = /var/spool/MailScanner/archive
Archive Mail =  %rules-dir%/archive.rules


Pls assume my domain is example.com. Then, How can I write a rule to
for incoimg mails and outgoing mails

I have wrote a simple rule as follows

my archive.rules as follows

To:@example.com    incomingarchive at example.com
From:@example.com    outgoingarchive at example.com

then, I created a 2 usernames  such as incomingarchive and
outgoingarchive by using useradd command.

Am I right?

Any Advice?



-- 
Thank you
Indunil Jayasooriya


More information about the MailScanner mailing list