Ruleset to archive mail

Kevin Old kevinold at gmail.com
Thu Oct 7 20:28:09 IST 2004


Hello everyone,

I've been trying to create a ruleset that would copy mail, from or to
kevin at kevin.com to the directory /root/marchive with little success.

First, I must state that I can archive *all* mail by setting "Archive
Mail = /root/marchive" in MailScanner.conf.

I've tried the following ( taken from
http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/177.html):

In /etc/MailScanner/MailScanner.conf:

Archive Mail = %rules-dir%/archive.rules

In %rules-dir%/archive.rules:

FromOrTo:      kevin at kevin.com      yes
FromOrTo:      default       /root/marchive


I've tried so many variations of this that I can't even begin to start
listing them.

Can someone tell me what I'm doing wrong?

Thanks,
Kevin
--
Kevin Old
kevinold at gmail.com

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).



More information about the MailScanner mailing list