filetype rules

Dave Filchak dfilchak at SYMPATICO.CA
Sat Feb 5 17:56:59 GMT 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. ]


I have searched the archives and cannot find specific reference to my
issue. I have the book but it is not with me at the moment. I need to
set up specific file type rules for a single domain. I do not want to
just allow all file types but specific ones like .zip, .wmv etc. I tried
to add a new file called filetype.rules2.conf and change the MailScanner
entry to point to this file. In this file I put

FromOrTo:   *   yes
FromOrTo:   default   %etc-dir%/filetype.rules.conf

This did not work as it gave me syntax errors in the logs. So I then
renamed filetype.rules2.conf to filetype.rules and moved it into the
rules directory. However, this would allow all file types to this domain
and this is not what I am looking for. Can I use the same type of
language in this file that is used in the filetype.rules.conf file? Or,
if not, how would I approach this problem.



------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list