filename and filetype checking not working

Scott Silva ssilva at sgvwater.com
Thu Nov 30 20:14:22 GMT 2006


Scott Kopel spake the following on 11/30/2006 11:04 AM:
> 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.
You need to edit the virus.scanners.conf to fix the path of any virus scanners
you use installed into non-default (for linux) locations.

-- 

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!



More information about the MailScanner mailing list