filetype checking
Valentin Laskov
it at festa.bg
Wed Sep 8 06:55:51 UTC 2021
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20210908/01cb6fac/attachment.html>
More information about the MailScanner
mailing list