<html><body><div style="font-family: Helvetica; font-size: 12pt; color: #000000"><div>Marc,<br></div><div><br data-mce-bogus="1"></div><div>I had the same on CentOS 6.9. It is not an MailScanner thing, it is an spamassassin thing<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>In the file /etc/MailScanner/spamassassin.conf locate the following:<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div># make sure pyzor is installed before enabling<br>#ifplugin Mail::SpamAssassin::Plugin::Pyzor<br>#    pyzor_path /usr/bin/pyzor<br>#endif</div><div><br data-mce-bogus="1"></div><div>And change it to<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div># make sure pyzor is installed before enabling<br>ifplugin Mail::SpamAssassin::Plugin::Pyzor<br>     pyzor_path /usr/bin/pyzor<br>     pyzor_options --homedir /etc/mail/spamassassin<br>endif</div><div><br data-mce-bogus="1"></div><div>And set the correct ownership and permissions<br data-mce-bogus="1"></div><div><br></div><div data-marker="__SIG_PRE__"><div>Met vriendelijke groet, Best regards,</div><div><br></div><div><br style="font-family: helvetica;" data-mce-style="font-family: helvetica;"><span style="font-family: helvetica;" data-mce-style="font-family: helvetica;">Thom van der Boon</span><br style="font-family: helvetica;" data-mce-style="font-family: helvetica;"><span style="font-family: helvetica;" data-mce-style="font-family: helvetica;">E-Mail: thom@vdb.nl</span></div><div><br></div><div><br style="font-family: helvetica;" data-mce-style="font-family: helvetica;"><br style="font-family: helvetica;" data-mce-style="font-family: helvetica;"><span style="font-family: helvetica;" data-mce-style="font-family: helvetica;">=====</span></div><div><br></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><span style="font-family: helvetica;" data-mce-style="font-family: helvetica;">Thom.H. van der Boon b.v.</span><br style="font-family: helvetica;" data-mce-style="font-family: helvetica;"><span style="font-family: helvetica;" data-mce-style="font-family: helvetica;"></span><span style="font-family: helvetica;" data-mce-style="font-family: helvetica;">Transito 4</span></div><div><span style="font-family: helvetica;" data-mce-style="font-family: helvetica;">6909 DA  Babberich<br style="font-family: helvetica;" data-mce-style="font-family: helvetica;"></span><span style="font-family: helvetica;" data-mce-style="font-family: helvetica;">Tel.: +31 (0)88 4272727</span><br style="font-family: helvetica;" data-mce-style="font-family: helvetica;"><span style="font-family: helvetica;" data-mce-style="font-family: helvetica;">Fax: +31 (0)88 4272789</span><br style="font-family: helvetica;" data-mce-style="font-family: helvetica;"><span style="font-family: helvetica;" data-mce-style="font-family: helvetica;">Home Page: http://www.vdb.nl/</span></div></div><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>Van: </b>"Mark Meelhuysen" <mark@meelhuysen.com><br><b>Aan: </b>"MailScanner Discussion" <mailscanner@lists.mailscanner.info><br><b>Verzonden: </b>Woensdag 23 augustus 2017 23:51:02<br><b>Onderwerp: </b>New MailScanner Stable v5.0.6-3 install<br></div><br><div data-marker="__QUOTED_TEXT__">



<style><!--

@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;}

p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
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;}
span.E-mailStijl17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>


<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi All,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I have for quite some time a 4.84.6 install running with SpammAssassin, ClamAV, Postgrey and Postfix on CentOs 6.9.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Now I have installed a CentOs 7 minimal installation with MailScanner 5.0.6-3, Spamassassin, ClamAv and Postfix.</span></p>
<p class="MsoNormal"><span lang="EN-US">Ran through the config and everything seems fine.</span></p>
<p class="MsoNormal"><span lang="EN-US">MailScanner â€“lint output:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">[root@localhost ~]# MailScanner -lint</span></p>
<p class="MsoNormal"><span lang="EN-US">Trying to setlogsock(unix)</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Reading configuration file /etc/MailScanner/MailScanner.conf</span></p>
<p class="MsoNormal"><span lang="EN-US">Reading configuration file /etc/MailScanner/conf.d/README</span></p>
<p class="MsoNormal"><span lang="EN-US">Read 1500 hostnames from the phishing whitelist</span></p>
<p class="MsoNormal"><span lang="EN-US">Read 12886 hostnames from the phishing blacklists</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Checking version numbers...</span></p>
<p class="MsoNormal"><span lang="EN-US">Version number in MailScanner.conf (5.0.6) is correct.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Your envelope_sender_header in spamassassin.conf is correct.</span></p>
<p class="MsoNormal"><span lang="EN-US">MailScanner setting GID to  (89)</span></p>
<p class="MsoNormal"><span lang="EN-US">MailScanner setting UID to  (89)</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Checking for SpamAssassin errors (if you use it)...</span></p>
<p class="MsoNormal"><span lang="EN-US">Using SpamAssassin results cache</span></p>
<p class="MsoNormal"><span lang="EN-US">Connected to SpamAssassin cache database</span></p>
<p class="MsoNormal"><span lang="EN-US">pyzor: check failed: internal error, python traceback seen in response</span></p>
<p class="MsoNormal"><span lang="EN-US">SpamAssassin reported no errors.</span></p>
<p class="MsoNormal"><span lang="EN-US">Auto: Found virus scanners: clamav</span></p>
<p class="MsoNormal"><span lang="EN-US">Connected to Processing Attempts Database</span></p>
<p class="MsoNormal"><span lang="EN-US">Created Processing Attempts Database successfully</span></p>
<p class="MsoNormal"><span lang="EN-US">There are 0 messages in the Processing Attempts Database</span></p>
<p class="MsoNormal"><span lang="EN-US">Using locktype = posix</span></p>
<p class="MsoNormal"><span lang="EN-US">MailScanner.conf says "Virus Scanners = auto"</span></p>
<p class="MsoNormal"><span lang="EN-US">Found these virus scanners installed: clamav</span></p>
<p class="MsoNormal"><span lang="EN-US">===========================================================================</span></p>
<p class="MsoNormal"><span lang="EN-US">Filename Checks: Windows/DOS Executable (1 eicar.com)</span></p>
<p class="MsoNormal"><span lang="EN-US">Other Checks: Found 1 problems</span></p>
<p class="MsoNormal"><span lang="EN-US">Virus and Content Scanning: Starting</span></p>
<p class="MsoNormal"><span lang="EN-US">./1/eicar.com: Eicar-Test-Signature FOUND</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Virus Scanning: ClamAV found 2 infections</span></p>
<p class="MsoNormal"><span lang="EN-US">Infected message 1 came from 10.1.1.1</span></p>
<p class="MsoNormal"><span lang="EN-US">Virus Scanning: Found 2 viruses</span></p>
<p class="MsoNormal"><span lang="EN-US">===========================================================================</span></p>
<p class="MsoNormal"><span lang="EN-US">Virus Scanner test reports:</span></p>
<p class="MsoNormal"><span lang="EN-US">ClamAV said "eicar.com contains Eicar-Test-Signature"</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">If any of your virus scanners (clamav)</span></p>
<p class="MsoNormal"><span lang="EN-US">are not listed there, you should check that they are installed correctly</span></p>
<p class="MsoNormal"><span lang="EN-US">and that MailScanner is finding them correctly via its virus.scanners.conf.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">The only problem I have is that MailScanner is not grabbing in when a new mail is held by Postfix. It also seems the service does not exist:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">[root@localhost ~]# systemctl status MailScanner</span></p>
<p class="MsoNormal"><span lang="EN-US">Unit MailScanner.service could not be found.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I have installed another server for testing and there the service is recognized and started. I have no clue if I missed an error when installing MailScanner.</span></p>
<p class="MsoNormal"><span lang="EN-US">Btw SElinus is disabled.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Hope some can give me a push in the right direction. Thank you in advance!</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="mso-fareast-language:NL" lang="EN-US">With kind regards,</span></p>
<p class="MsoNormal"><span style="mso-fareast-language:NL" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="mso-fareast-language:NL" lang="EN-US">Mark</span><span lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
</div>
<br>-- 
<br>Dit bericht is gescanned op virussen en andere gevaarlijke inhoud en lijkt schoon te zijn.
<br><a href="http://www.meelhuysen.com/" target="_blank">Meelhuysen IT Solutions</a>.


<br><br><br>-- <br>MailScanner mailing list<br>mailscanner@lists.mailscanner.info<br>http://lists.mailscanner.info/mailman/listinfo/mailscanner<br></div></div></body></html>