Filetype scanning rules?

Julian Field mailscanner at
Mon Jun 30 18:53:59 IST 2003

At 18:43 30/06/2003, you wrote:
> >On Mon, 2003-06-30 at 18:22, Julian Field wrote:
> >Currently, the only rule in the new filetype.rules.conf file bans
> >Has anyone got any good ideas for extra rules to allow or deny other
> >of files?
>I'd have thought all of the types banned by extension.  Are you blocking
>by mime types (from file -i or isn't this portable?) of just the regular
>file command output strings?

It isn't portable at all, only the GNU file command can do that. I'm using
the normal file command output.

> > Should I enable this filetype checking by default?
>I think so.  If the report makes it clear that its been blocked by file
>type rules then anyone who doesn't want it can quickly get a clue.  It
>doesn't seem consistent to have filename rules, but not filetype rules,
>on by default.

Julian Field
Professional Support Services at
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list