Re: filetype checking

Valentin Laskov <[email protected]> Wed, 8 Sep 2021 09:55:51 +0300
Newsgroups gmane.mail.virus.mailscanner
Organization Festa Holding AD
Message-ID <[email protected]>
Hello,

This server experienced several accidental power outages and possibly a 
file system repair. A lot of old source files from spamassassin 
dependencies turned out to be in / directory.

I'm trying to decide whether to fix it with targeted actions or with a 
partial or complete reinstall.

Regards!
V. Laskov

На 07.09.2021 в 13:58, Valentin Laskov написа:
> 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
>
>



-- 
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner