<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello Zephyr,</p>
<p>My guess would be that it's selinux the problem, try setenforce
0</p>
<p>and try restarting mailscanner. If it works like that you need</p>
<p>to configure selinux so that it allows the creation of those</p>
<p>directories.<br>
</p>
<br>
<div class="moz-cite-prefix">On 29-08-18 10:40, 微和的風 wrote:<br>
</div>
<blockquote type="cite"
cite="mid:000001d43f73$e7ff8aa0$b7fe9fe0$@flytonet.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:新細明體;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@新細明體";
panose-1:2 1 6 1 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"新細明體",serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I use CentOS
v7(1804),and download MailScanner 5.0.7 from <a
href="https://s3.amazonaws.com/msv5/release/MailScanner-5.0.7-4.rhel.tar.gz"
moz-do-not-send="true">https://s3.amazonaws.com/msv5/release/MailScanner-5.0.7-4.rhel.tar.gz</a>.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But I got some problem.
I try some commands to slove them,but it’s not working.<o:p></o:p></span></p>
<div style="border:none;border-bottom:solid windowtext
1.0pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal"><span lang="EN-US">==================================================<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">mkdir
/var/spool/MailScanner/spamassassin<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">chown postfix.postfix
/var/spool/MailScanner/spamassassin<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">chown -R
postfix.postfix /var/spool/MailScanner/incoming<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">chown -R
postfix.postfix /var/spool/MailScanner/quarantine<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">====================================================<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Could someone help me
? Thanks a lot.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">zephyr<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">file path </span><span
style="font-family:Wingdings" lang="EN-US">è</span><span
lang="EN-US">/var/log/maillog<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 29 11:31:09 ftp
MailScanner[18173]: MailScanner Email Processor version
5.0.7 starting...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 29 11:31:09 ftp
MailScanner[18173]: Reading configuration file
/etc/MailScanner/MailScanner.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 29 11:31:09 ftp
MailScanner[18173]: Reading configuration file
/etc/MailScanner/conf.d/README<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 29 11:31:09 ftp
MailScanner[18173]: Could not read directory
/var/spool/MailScanner/incoming<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">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)<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US">Aug 29 11:31:09 ftp
MailScanner[18173]: Could not read directory
/var/spool/MailScanner/incoming/Locks<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US">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)<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US">Aug 29 11:31:09 ftp
MailScanner[18173]: Could not read directory
/var/spool/postfix/incoming<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">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)<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US">Aug 29 11:31:09 ftp
MailScanner[18173]: File containing list of incoming queue
dirs (/var/spool/postfix/hold) does not exist<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 29 11:31:09 ftp
MailScanner[18173]: Read 1500 hostnames from the phishing
whitelist<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 29 11:31:10 ftp
MailScanner[18173]: Read 15767 hostnames from the phishing
blacklists<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Aug 29 11:31:10 ftp
MailScanner[18173]: Using SpamAssassin results cache<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">Aug 29 11:31:10 ftp
MailScanner[18173]: Could not create SpamAssassin cache
database
/var/spool/MailScanner/incoming/SpamAssassin.cache.db<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US">Aug 29 11:31:10 ftp
MailScanner[18173]: Enabling SpamAssassin auto-whitelist
functionality...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">file path </span><span
style="font-family:Wingdings" lang="EN-US">è</span><span
lang="EN-US">/etc/MailScanner/MailScanner.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">MTA = postfix<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Run As User = postfix<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Run As Group = postfix<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Incoming Queue Dir =
/var/spool/postfix/hold<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Outgoing Queue Dir
=/var/spool/postfix/incoming<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">SpamAssassin User State
Dir = /var/spool/MailScanner/spamassassin<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Deliver Unparsable TNEF
= yes<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>