How To Use Archive Mail??

Antony Stone Antony at SOFT-SOLUTIONS.CO.UK
Thu Aug 28 21:51:39 IST 2003


On Thursday 28 August 2003 9:10 pm, Jeremy Pirlet wrote:

> Hi-
>
> I have seen many posts on "Use Archive Mail", but I am not sure what I am
> doing wrong, but I can't get it to work.
>
> I host some websites where the owner would like me to monitor email in/out
> of their domain.  This is to monitor employee's and to make sure they are
> not doing things against company policy with their email of
> employee at domain.com.
>
> I have done this in MailScanner.conf:
> Archive Mail = /etc/MailScanner/rules/monitor.rules

The "Archive Mail" option requires a directory or filename as a value,
therefore this is what you need to put in yoour rules file as well.

> Then I edit that file (/etc/MailScanner/rules/monitor.rules) to look like
> this:
> FromOrTo: *@domain.com monitor at mydomain.com
> default no

Following the domain name you should place the name of the directory where
you want the mail to be archived (or, alternatively, the name of a file to
which you wish mail to be appended in mbox-style format - this is another of
Julian's amazing clever tricks which pop up every so often throughout the
rule settings...)

Hope this helps,

Antony.

--

The only problem with the Universe as a platform, though, is that it is
currently running someone else's program.

 - Ken Karakotsios, author of SimLife



More information about the MailScanner mailing list