filetype checking

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


Hi,

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

#!/bin/bash
#
/usr/bin/file --mime-type "$1" | tee -a 
/var/spool/MailScanner/file-wrapper.log

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

Thanks for any help

V. Laskov



More information about the MailScanner mailing list