<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Honestly, I have no idea why it was commented out by default. I will remove it from the source unless someone else enlightens me as to do otherwise. <br class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">-</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Jerry Benton</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://www.mailborder.com" class="">www.mailborder.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Aug 14, 2015, at 4:52 PM, Bryan Laurila <<a href="mailto:blaurila@sbcglobal.net" class="">blaurila@sbcglobal.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 16px;" class=""><div id="yui_3_16_0_1_1439585398039_8208" dir="ltr" class="">Thanks Jerry! <br class=""></div><div dir="ltr" class=""><br class=""></div><div id="yui_3_16_0_1_1439585398039_8215" dir="ltr" class="">That got rid of the error but can you shed some light into why that line was commented out (assuming by default) and what uncommenting it will do to the functionality of MailScanner?</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Bryan<br class=""></div><div class=""><span class=""></span></div><br class="">  <div style="font-family: times new roman, new york, times, serif; font-size: 16px;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" class=""> <div dir="ltr" class=""> <hr size="1" class="">  <font face="Arial" size="2" class=""> <b class=""><span style="font-weight:bold;" class="">From:</span></b> Jerry Benton <<a href="mailto:jerry.benton@mailborder.com" class="">jerry.benton@mailborder.com</a>><br class=""> <b class=""><span style="font-weight: bold;" class="">To:</span></b> MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info" class="">mailscanner@lists.mailscanner.info</a>> <br class=""> <b class=""><span style="font-weight: bold;" class="">Sent:</span></b> Friday, August 14, 2015 12:10 PM<br class=""> <b class=""><span style="font-weight: bold;" class="">Subject:</span></b> Re: Strange MailScanner --lint error<br class=""> </font> </div> <div class="y_msg_container"><br class=""><div id="yiv3673804522" class=""><div class=""><div class="yiv3673804522"><div class="yiv3673804522" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Uncomment line 313 of ConfigDefs.pl</div><div class="yiv3673804522" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br class="yiv3673804522" clear="none"></div><div class="yiv3673804522" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br class="yiv3673804522Apple-interchange-newline" clear="none">-</div><div class="yiv3673804522" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Jerry Benton</div><div class="yiv3673804522" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><a rel="nofollow" shape="rect" class="yiv3673804522" target="_blank" href="http://www.mailborder.com/">www.mailborder.com</a></div><div class="yiv3673804522" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br class="yiv3673804522" clear="none"></div><br class="yiv3673804522Apple-interchange-newline" clear="none">
</div>
<br class="yiv3673804522" clear="none"><div class=""><blockquote class="yiv3673804522" type="cite"><div class="qtdSeparateBR"><br class=""><br class=""></div><div class="yiv3673804522yqt4747967224" id="yiv3673804522yqt97642"><div class="yiv3673804522">On Aug 14, 2015, at 12:03 PM, Bryan Laurila <<a rel="nofollow" shape="rect" class="yiv3673804522" ymailto="mailto:blaurila@sbcglobal.net" target="_blank" href="mailto:blaurila@sbcglobal.net">blaurila@sbcglobal.net</a>> wrote:</div><br class="yiv3673804522Apple-interchange-newline" clear="none"><div class="yiv3673804522"><div class="yiv3673804522"><div class="yiv3673804522" style="background-color:rgb(255, 255, 255);font-family:'times new roman', 'new york', times, serif;font-size:16px;"><div class="yiv3673804522">

</div><div class="yiv3673804522"><b class="yiv3673804522" style="">I am currently
running MailScanner version 4.84.6 and in checking log files for something else
I discovered the following in /var/log/mail today.<span class="yiv3673804522" style="">  </span>Not sure how long this has been happening but
I’d venture to guess it has been years…</b></div>

<div class="yiv3673804522" style="border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in;">

<div class="yiv3673804522" style="border:none;padding:0in;"> </div>

</div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">2015-08-12T10:45:42.679370-05:00
DCMXRLY1 MailScanner[19393]: Syntax error(s) in configuration file:</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">2015-08-12T10:45:42.679398-05:00
DCMXRLY1 MailScanner[19393]: Unrecognised keyword
"spamassassinprefsfile" at line 3129</span></div>

<div class="yiv3673804522" style="border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in;">

<div class="yiv3673804522" style="border:none;padding:0in;"><span class="yiv3673804522" style="font-size:10.0pt;">2015-08-12T10:45:42.679411-05:00 DCMXRLY1
MailScanner[19393]: Warning: syntax errors in
/etc/MailScanner/MailScanner.conf.</span></div>

</div>

<div class="yiv3673804522"> </div>

<div class="yiv3673804522"> </div>

<div class="yiv3673804522"><b class="yiv3673804522" style="">In running a
MailScanner –lint I see the following:</b></div>

<div class="yiv3673804522" style="border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in;">

<div class="yiv3673804522" style="border:none;padding:0in;"> </div>

</div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Trying
to setlogsock(unix)</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;"> </span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Reading
configuration file /etc/MailScanner/MailScanner.conf</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Reading
configuration file /etc/MailScanner/conf.d/README</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Reading
configuration file /etc/MailScanner/conf.d/web_bug</span></div>

<div class="yiv3673804522"><b class="yiv3673804522" style=""><span class="yiv3673804522" style="font-size:10.0pt;">Syntax error(s) in
configuration file: at /usr/lib/MailScanner/MailScanner/Config.pm line 2213.</span></b></div>

<div class="yiv3673804522"><b class="yiv3673804522" style=""><span class="yiv3673804522" style="font-size:10.0pt;">Unrecognised keyword
"spamassassinprefsfile" at line 3129 at
/usr/lib/MailScanner/MailScanner/Config.pm line 2216.</span></b></div>

<div class="yiv3673804522"><b class="yiv3673804522" style=""><span class="yiv3673804522" style="font-size:10.0pt;">Warning: syntax errors in
/etc/MailScanner/MailScanner.conf. at
/usr/lib/MailScanner/MailScanner/Config.pm line 2221.</span></b></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Read
463 hostnames from the phishing whitelist</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Read
11928 hostnames from the phishing blacklists</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;"> </span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Checking
version numbers...</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Version
number in MailScanner.conf (4.84.6) is correct.</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;"> </span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Your
envelope_sender_header in spam.assassin.prefs.conf is correct.</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">MailScanner
setting GID to<span class="yiv3673804522" style="">  </span>(51)</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">MailScanner
setting UID to<span class="yiv3673804522" style="">  </span>(51)</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;"> </span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Checking
for SpamAssassin errors (if you use it)...</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Using
SpamAssassin results cache</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Connected
to SpamAssassin cache database</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">SpamAssassin
reported no errors.</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">I
have found clamav scanners installed, and will use them all by default.</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Connected
to Processing Attempts Database</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Created
Processing Attempts Database successfully</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">There
are 368 messages in the Processing Attempts Database</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Using
locktype = posix</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">MailScanner.conf
says "Virus Scanners = auto"</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Found
these virus scanners installed: clamav</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">===========================================================================</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Filename
Checks: Windows/DOS Executable (1 <a rel="nofollow" shape="rect" class="yiv3673804522" target="_blank" href="http://eicar.com/">eicar.com</a>)</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Other
Checks: Found 1 problems</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Virus
and Content Scanning: Starting</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">1.message:
Eicar-Test-Signature-1 FOUND</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;"> </span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">./1/<a rel="nofollow" shape="rect" class="yiv3673804522" target="_blank" href="http://eicar.com/">eicar.com</a>:
Eicar-Test-Signature FOUND</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;"> </span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Virus
Scanning: ClamAV found 2 infections</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Infected
message 1 came from 10.1.1.1</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">Virus
Scanning: Found 2 viruses</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">===========================================================================</span></div>

<div class="yiv3673804522" id="yiv3673804522yui_3_16_0_1_1439567336127_11914"><span class="yiv3673804522" id="yiv3673804522yui_3_16_0_1_1439567336127_11913" style="font-size:10.0pt;">Virus
Scanner test reports:</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">ClamAV
said "<a rel="nofollow" shape="rect" class="yiv3673804522" target="_blank" href="http://eicar.com/">eicar.com</a> contains Eicar-Test-Signature"</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;"> </span></div>

<div class="yiv3673804522" id="yiv3673804522yui_3_16_0_1_1439567336127_11915"><span class="yiv3673804522" id="yiv3673804522yui_3_16_0_1_1439567336127_11916" style="font-size:10.0pt;">If
any of your virus scanners (clamav)</span></div>

<div class="yiv3673804522"><span class="yiv3673804522" style="font-size:10.0pt;">are
not listed there, you should check that they are installed correctly</span></div>

<div class="yiv3673804522" style="border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in;">

<div class="yiv3673804522" style="border:none;padding:0in;"><span class="yiv3673804522" style="font-size:10.0pt;">and that MailScanner is finding them correctly via
its virus.scanners.conf.</span></div>

</div>

<div class="yiv3673804522"> </div>

<div class="yiv3673804522"> </div>

<div class="yiv3673804522" style="border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in;">

<div class="yiv3673804522" style="border:none;padding:0in;"><b class="yiv3673804522" style="">In
looking at /etc/MailScanner/MailScanner.conf I have the following on line 3129:</b></div>

</div>

<div class="yiv3673804522" id="yiv3673804522yui_3_16_0_1_1439567336127_11853"><b class="yiv3673804522" style=""> </b></div><div class="yiv3673804522" dir="ltr" id="yiv3673804522yui_3_16_0_1_1439567336127_11917"><span class="yiv3673804522" id="yiv3673804522yui_3_16_0_1_1439567336127_11916" style="font-size:10.0pt;">SpamAssassin Prefs File = /etc/MailScanner/spam.assassin.prefs.conf</span></div><div class="yiv3673804522" dir="ltr"><span class="yiv3673804522" id="yiv3673804522yui_3_16_0_1_1439567336127_11916" style="font-size:10.0pt;"></span></div><br class="yiv3673804522" clear="none"><div class="yiv3673804522" id="yiv3673804522yui_3_16_0_1_1439567336127_11818" style="border-top:double windowtext 2.25pt;border-left:none;border-bottom:double windowtext 2.25pt;border-right:none;padding:1.0pt 0in 1.0pt 0in;"><div class="yiv3673804522" dir="ltr" id="yiv3673804522yui_3_16_0_1_1439567336127_11817" style="border:none;padding:0in;"><span class="yiv3673804522" id="yiv3673804522yui_3_16_0_1_1439567336127_11826" style="font-size:11.0pt;"></span></div>

</div>

<div class="yiv3673804522"> </div>

<div class="yiv3673804522" id="yiv3673804522yui_3_16_0_1_1439567336127_11945"> </div>

<div class="yiv3673804522"><b class="yiv3673804522" style="">In searching for
this error regarding the spam.assassin.prefs.conf file, all I find is old stuff
from like 2006-2009.<span class="yiv3673804522" style="">  </span>Some results say to
just comment out the line and others say to run upgrade_Mail_Scanner_conf.</b></div>

<div class="yiv3673804522"><b class="yiv3673804522" style=""> </b></div>

<div class="yiv3673804522"><b class="yiv3673804522" style="">What’s going on
here and how do I fix it?<span class="yiv3673804522" style="">  </span>All help is
greatly appreciated.</b></div>

<div class="yiv3673804522"><b class="yiv3673804522" style=""> </b></div>

<div class="yiv3673804522"><b class="yiv3673804522" style="">Thanks,</b></div>

<div class="yiv3673804522"><b class="yiv3673804522" style=""><span class="yiv3673804522" style="">    </span>Bryan</b></div>

<div class="yiv3673804522"> </div>

<div class="yiv3673804522"> </div><br class="yiv3673804522" clear="none"><div class="yiv3673804522"><span class="yiv3673804522" style=""> </span></div>

<div class="yiv3673804522"> </div><div class="yiv3673804522" dir="ltr">

</div></div></div><br class="yiv3673804522" clear="none"><br class="yiv3673804522" clear="none">-- <br class="yiv3673804522" clear="none">MailScanner mailing list<br class="yiv3673804522" clear="none"><a rel="nofollow" shape="rect" class="yiv3673804522" ymailto="mailto:mailscanner@lists.mailscanner.info" target="_blank" href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br class="yiv3673804522" clear="none"><a href="http://lists.mailscanner.info/listinfo/mailscanner" class="">http://lists.mailscanner.info/listinfo/mailscanner</a><br class="yiv3673804522" clear="none"><br class="yiv3673804522" clear="none"></div></div></blockquote></div><br class="yiv3673804522" clear="none"></div></div><br class=""><div class="yqt4747967224" id="yqt14247"><br clear="none" class=""><br clear="none" class="">-- <br clear="none" class="">MailScanner mailing list<br clear="none" class=""><a shape="rect" ymailto="mailto:mailscanner@lists.mailscanner.info" href="mailto:mailscanner@lists.mailscanner.info" class="">mailscanner@lists.mailscanner.info</a><br clear="none" class=""><a shape="rect" href="http://lists.mailscanner.info/listinfo/mailscanner" target="_blank" class="">http://lists.mailscanner.info/listinfo/mailscanner</a><br clear="none" class=""><br clear="none" class=""></div><br class=""><br class=""></div> </div> </div>  </div></div><br class=""><br class="">-- <br class="">MailScanner mailing list<br class=""><a href="mailto:mailscanner@lists.mailscanner.info" class="">mailscanner@lists.mailscanner.info</a><br class="">http://lists.mailscanner.info/listinfo/mailscanner<br class=""><br class=""></div></blockquote></div><br class=""></body></html>