Archive Mail

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


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 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    incomingarchive at    outgoingarchive at

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