Help~Setup MailScanner v5.0.7-4 error
微和的風
zephyr at flytonet.com
Fri Aug 31 00:26:44 UTC 2018
The problem is solved. Thanks for Maarten and Jerry Benton.
/var/log/maillog
Aug 31 08:20:00 ftp MailScanner[16310]: MailScanner Email Processor version
5.0.7 starting...
Aug 31 08:20:00 ftp MailScanner[16310]: Reading configuration file
/etc/MailScanner/MailScanner.conf
Aug 31 08:20:00 ftp MailScanner[16310]: Reading configuration file
/etc/MailScanner/conf.d/README
Aug 31 08:20:00 ftp MailScanner[16310]: Read 1500 hostnames from the
phishing whitelist
Aug 31 08:20:00 ftp MailScanner[16310]: Read 16138 hostnames from the
phishing blacklists
Aug 31 08:20:00 ftp MailScanner[16310]: Using SpamAssassin results cache
Aug 31 08:20:00 ftp MailScanner[16310]: Connected to SpamAssassin cache
database
Aug 31 08:20:00 ftp MailScanner[16310]: Enabling SpamAssassin auto-whitelist
functionality...
Aug 31 08:20:05 ftp MailScanner[16421]: MailScanner Email Processor version
5.0.7 starting...
Aug 31 08:20:05 ftp MailScanner[16421]: Reading configuration file
/etc/MailScanner/MailScanner.conf
Aug 31 08:20:05 ftp MailScanner[16421]: Reading configuration file
/etc/MailScanner/conf.d/README
Aug 31 08:20:05 ftp MailScanner[16421]: Read 1500 hostnames from the
phishing whitelist
Aug 31 08:20:05 ftp MailScanner[16421]: Read 16138 hostnames from the
phishing blacklists
Aug 31 08:20:05 ftp MailScanner[16421]: Using SpamAssassin results cache
Aug 31 08:20:05 ftp MailScanner[16421]: Connected to SpamAssassin cache
database
Aug 31 08:20:05 ftp MailScanner[16421]: Enabling SpamAssassin auto-whitelist
functionality...
Message: 1
Date: Wed, 29 Aug 2018 16:40:14 +0800
From: ???? <zephyr at flytonet.com <mailto:zephyr at flytonet.com> >
To: <mailscanner at lists.mailscanner.info
<mailto:mailscanner at lists.mailscanner.info> >
Subject: Help~Setup MailScanner v5.0.7-4 error
Message-ID: <000001d43f73$e7ff8aa0$b7fe9fe0$@flytonet.com
<mailto:000001d43f73$e7ff8aa0$b7fe9fe0$@flytonet.com> >
Content-Type: text/plain; charset="big5"
Hi,
I use CentOS v7(1804),and download MailScanner 5.0.7 from
https://s3.amazonaws.com/msv5/release/MailScanner-5.0.7-4.rhel.tar.gz.
But I got some problem. I try some commands to slove them,but it?s not
working.
==================================================
mkdir /var/spool/MailScanner/spamassassin
chown postfix.postfix /var/spool/MailScanner/spamassassin
chown -R postfix.postfix /var/spool/MailScanner/incoming
chown -R postfix.postfix /var/spool/MailScanner/quarantine
====================================================
Could someone help me ? Thanks a lot.
zephyr
file path ==>/var/log/maillog
Aug 29 11:31:09 ftp MailScanner[18173]: MailScanner Email Processor version
5.0.7 starting...
Aug 29 11:31:09 ftp MailScanner[18173]: Reading configuration file
/etc/MailScanner/MailScanner.conf
Aug 29 11:31:09 ftp MailScanner[18173]: Reading configuration file
/etc/MailScanner/conf.d/README
Aug 29 11:31:09 ftp MailScanner[18173]: Could not read directory
/var/spool/MailScanner/incoming
Aug 29 11:31:09 ftp MailScanner[18173]: Error in configuration file line
200, directory /var/spool/MailScanner/incoming for incomingworkdir does not
exist (or is not readable)
Aug 29 11:31:09 ftp MailScanner[18173]: Could not read directory
/var/spool/MailScanner/incoming/Locks
Aug 29 11:31:09 ftp MailScanner[18173]: Error in configuration file line
3069, directory /var/spool/MailScanner/incoming/Locks for lockfiledir does
not exist (or is not readable)
Aug 29 11:31:09 ftp MailScanner[18173]: Could not read directory
/var/spool/postfix/incoming
Aug 29 11:31:09 ftp MailScanner[18173]: Error in configuration file line
190, directory /var/spool/postfix/incoming for outqueuedir does not exist
(or is not readable)
Aug 29 11:31:09 ftp MailScanner[18173]: File containing list of incoming
queue dirs (/var/spool/postfix/hold) does not exist
Aug 29 11:31:09 ftp MailScanner[18173]: Read 1500 hostnames from the
phishing whitelist
Aug 29 11:31:10 ftp MailScanner[18173]: Read 15767 hostnames from the
phishing blacklists
Aug 29 11:31:10 ftp MailScanner[18173]: Using SpamAssassin results cache
Aug 29 11:31:10 ftp MailScanner[18173]: Could not create SpamAssassin cache
database /var/spool/MailScanner/incoming/SpamAssassin.cache.db
Aug 29 11:31:10 ftp MailScanner[18173]: Enabling SpamAssassin auto-whitelist
functionality...
file path ==>/etc/MailScanner/MailScanner.conf
MTA = postfix
Run As User = postfix
Run As Group = postfix
Incoming Queue Dir = /var/spool/postfix/hold
Outgoing Queue Dir =/var/spool/postfix/incoming
SpamAssassin User State Dir = /var/spool/MailScanner/spamassassin
Deliver Unparsable TNEF = yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mailscanner.info/pipermail/mailscanner/attachments/20180829/a5
fd8fdf/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 29 Aug 2018 18:04:46 +0200
From: Maarten <mailinglists at feedmebits.nl
<mailto:mailinglists at feedmebits.nl> >
To: MailScanner Discussion <mailscanner at lists.mailscanner.info
<mailto:mailscanner at lists.mailscanner.info> >
Subject: Re: Help~Setup MailScanner v5.0.7-4 error
Message-ID: <e0872240-0b5f-108d-5c16-b61258aad63c at feedmebits.nl
<mailto:e0872240-0b5f-108d-5c16-b61258aad63c at feedmebits.nl> >
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Hello Zephyr,
My guess would be that it's selinux the problem, try? setenforce 0
and try restarting mailscanner. If it works like that you need
to configure selinux so that it allows the creation of those
directories.
Message: 3
Date: Wed, 29 Aug 2018 12:06:27 -0400
From: "Jerry Benton" <jerry.benton at mailborder.com
<mailto:jerry.benton at mailborder.com> >
To: "'MailScanner Discussion'" <mailscanner at lists.mailscanner.info
<mailto:mailscanner at lists.mailscanner.info> >
Subject: RE: Help~Setup MailScanner v5.0.7-4 error
Message-ID: <009b01d43fb2$3e0c0250$ba2406f0$@mailborder.com
<mailto:009b01d43fb2$3e0c0250$ba2406f0$@mailborder.com> >
Content-Type: text/plain; charset="utf-8"
Also:
postfix:mtagroup
not
postfix:postfix
--
Jerry Benton
<http://www.mailborder.com/> www.mailborder.com <http://www.mailborder.com>
+1 (843) 800-8605
+44 (020) 3883-8605
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20180831/952c9781/attachment.html>
More information about the MailScanner
mailing list