filename and filetype checking not working

Scott Kopel kopels at english.fsu.edu
Thu Nov 30 21:04:42 GMT 2006


here's the output of check_mailscanner with Debug = yes

Starting MailScanner...
In Debugging mode, not forking...
Ignore errors about failing to find EOCD signature
Stopping now as you are debugging me.
/opt/MailScanner/etc#

nothing about filetypes and filenames

upgraded to 4.56.8
using included filename.rules.conf and filetype.rules.conf except 
added/changed lines
filename.rules.conf
deny    \.gif$                  -       -
filetype.rules.conf
deny            GIF     -               -

can't stop gif files from being delivered

bought the book
thanks again
s




At 03:14 PM 11/30/2006, you wrote:
>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!!!!
>
>--
>MailScanner mailing list
>mailscanner at lists.mailscanner.info
>http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>Before posting, read http://wiki.mailscanner.info/posting
>
>Support MailScanner development - buy the book off the website!

Scott Kopel
English Department - FSU
850 644 6177 



More information about the MailScanner mailing list