how to right ruleset for filename and filetype checking?

Ugo Bellavance ugob at CAMO-ROUTE.COM
Wed Aug 3 15:46:53 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Kosta Lekas wrote:
> I am wondering if it is possible to turn on Attachment Filename Checking
> and impose it on all messages except for mail going to a specific
> external recipient that my Exchange system journals to for compliance
> purposes. How would I right this rule? Right now I have:
> 
>  
> 
> Filename Rules = %etc-dir%/filename.rules.conf
> 
> Filetype Rules = %etc-dir%/filetype.rules.conf
> 
>  
> 
> Would this be the correct way be like this:
> 
>  
> 
> ***** /etc/MailScanner/MailScanner.conf *****
> 
> Filename Rules = %rules-dir%filename.rules
> 
> Filetype Rules = %rules-dir%filetype.rules
> 
>  
> 
> ******* /etc/MailScanner/rules/filename.rules ********
> 
> Set " Filename Rules = %etc-dir%/filename.rules.conf = ".
> 
>    To:    specificrecipient at somedomain.com           no
> 
>    FromOrTo:             default                                  yes
> 
>  
> 
> ******* /etc/MailScanner/rules/filetype.rules ********
> 
> Set " Filename Rules = %etc-dir%/filetype.rules.conf = ".
> 
>    To:    specificrecipient at somedomain.com           no
> 
>    FromOrTo:             default                                  yes

You cannot set yes/no to this kind of ruleset.  You must specify another
rulset.

-- 
Ugo

-> Please don't send a copy of your reply by e-mail.  I read the list.
-> Please avoid top-posting, long signatures and HTML, and cut the
irrelevant parts in your replies.

------------------------ 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 Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list