File Command

Julian Field mailscanner at ecs.soton.ac.uk
Thu Sep 4 18:10:44 IST 2003


At 17:43 04/09/2003, you wrote:
>Hi people,
>
>a quick one: in the default MailScanner.conf (from the tar 4.23-11 distro) I
>have the following:
>
># Where the "file" command is installed.
># This is used for checking the content type of files, regardless of their
># filename.
># To disable Filetype checking, set this value to blank.
>File Command = #/usr/bin/file
>
>Now, that "#" just before /usr/bin/file, does it imply the command is
>commented out and won't be executed? or is it required?

As the line above "File Command" says, setting it to blank disables
filetype checking. The "#" at the start of /usr/bin/file comments out the
rest of the line, leaving the value blank. This therefore disables filetype
checking. Just ignore everything after a "#" and it will be obvious :-)



>I can't figure this out just by browsing the code and I as I haven't finished
>configuration, I hoped someone answered before I try it out.
>
>TIA
>
>--
>Mariano Absatz
>El Baby
>----------------------------------------------------------
>Don't worry about the world coming to an end today.It's already tomorrow in
>Australia.        -- Charles Schulz

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list