filetype checking

Valentin Laskov it at
Tue Sep 7 10:58:39 UTC 2021


I have two identical servers. The same version (5.3.1) of MailScanner 
and same config and rules files. One makes filename/filetype checks but 
the other doesn't. Rights and owners of the folders are the same.

How can I debug the problem?

MailScanner doesn't starts file command too. I have

File Command = /usr/local/bin/file-wrapper

  The content of /usr/local/bin/file-wrapper  is

/usr/bin/file --mime-type "$1" | tee -a 

One logs file type checks but the other doesn't.

Thanks for any help

V. Laskov

More information about the MailScanner mailing list