filename and filetype checking not working

Scott Kopel kopels at
Thu Nov 30 19:04:05 GMT 2006

I can't seem to get my filename and filetype checking to work
I think it's supposed block the emails with attachments that fit the 
filename/filetype rules right?

I'm running a test trying to block .gif attachments

/opt/MailScanner/etc/filetype.rules.conf contains:
deny    \.gif$                  -       -

/opt/MailScanner/etc/filename.rules.conf contains:
deny    GIF             -                       -

relavent MailScanner.conf lines
File Command = /usr/bin/file   # I checked ... the file command is there
File Timeout = 20
Filename Rules = %etc-dir%/filename.rules.conf
Filetype Rules = %etc-dir%/filetype.rules.conf
%etc-dir% = /opt/MailScanner/etc

I ran check_mailscanner but it stops after a few moments because of a 
path problem in the mcafee_wrapper
so I never get the info I need.

thanks for whatever help you can give.

Scott Kopel
English Department - FSU
850 644 6177 

More information about the MailScanner mailing list