ClamAV 防病毒软件未将病毒电子邮件归类为病毒

ClamAV 防病毒软件未将病毒电子邮件归类为病毒

我安装了 Sendmail 作为我的 SMTP 邮件服务器,安装了 SpamAssassin 作为垃圾邮件分类器,还安装了 ClamAV 防病毒软件。我测试了向我的服务器发送病毒电子邮件 eicar.txt

现在,我在我的邮箱中收到了病毒邮件,但在隔离文件夹中却没有收到。为了找出问题所在,我运行了以下命令:

MailScanner --lint

输出为:

Trying to setlogsock(unix)

Reading configuration file /etc/MailScanner/MailScanner.conf
Reading configuration file /etc/MailScanner/conf.d/README
Read 868 hostnames from the phishing whitelist
Read 5807 hostnames from the phishing blacklists

Checking version numbers...
Version number in MailScanner.conf (5.1.3) is correct.

Your envelope_sender_header in spamassassin.conf is correct.

Checking for SpamAssassin errors (if you use it)...
Using SpamAssassin results cache
Connected to SpamAssassin cache database
SpamAssassin reported no errors.
mktemp: invalid option -- '-'
Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]
Auto: Found virus scanners: clamav 
Connected to Processing Attempts Database
Created Processing Attempts Database successfully
There are 0 messages in the Processing Attempts Database
Using locktype = posix
MailScanner.conf says "Virus Scanners = auto"
mktemp: invalid option -- '-'
Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]
Found these virus scanners installed: clamav
===========================================================================
Filename Checks: Windows/DOS Executable (1 eicar.com)
Other Checks: Found 1 problems
Virus and Content Scanning: Starting
mktemp: invalid option -- '-'
Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]
ERROR: Option --tempdir requires a non-empty string argument
ERROR: Can't parse command line options
===========================================================================

If any of your virus scanners (clamav)
are not listed there, you should check that they are installed correctly
and that MailScanner is finding them correctly via its virus.scanners.conf.

似乎有错误。我该如何修复?

相关内容