checking outgoing mail attachments
Julian Field
mailscanner at ecs.soton.ac.uk
Sat Sep 25 14:12:17 IST 2004
<x-flowed>
At 19:45 24/09/2004, you wrote:
>Greg Deputy wrote:
>>Wait, so you're essentially doing nested/include rules files? I thought
>>that wasn't supported? Did I miss something?
>
>>>>You need to set in MailScanner.conf:
>>>>
>>>>Filename Rules = %rules-dir%/filename.rules.rules
>>>>
>>>>In the above file you put your content:
>>>>
>>>>From: 192.168.217.26 /etc/rules/filenameoutgoing.rules.conf
>>>>From: default /etc/rules/filenameincoming.rules.conf
>>>>
>>>>Copy the standard filename.rules.conf into the two above files and
>>>>edit them to suite your purpose. Reload MailScanner.
>
>No, he's just setting the value of Filename Rules to a file name. Don't
>confuse the file name rules with a ruleset.
The one place you can effectively nest rules is that you can have a line in
a ruleset that looks like
From: /path/to/file/customers.txt yes
This will produce the value "yes" for mail from any address/pattern/domain
listed in /path/to/file/customers.txt.
You might want to use this in your spam whitelist for example.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ 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).
</x-flowed>
More information about the MailScanner
mailing list