Strange MailScanner --lint error

Bryan Laurila blaurila at sbcglobal.net
Fri Aug 14 20:52:58 UTC 2015


Thanks Jerry! 

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?
Bryan

      From: Jerry Benton <jerry.benton at mailborder.com>
 To: MailScanner Discussion <mailscanner at lists.mailscanner.info> 
 Sent: Friday, August 14, 2015 12:10 PM
 Subject: Re: Strange MailScanner --lint error
   
Uncomment line 313 of ConfigDefs.pl

-Jerry Bentonwww.mailborder.com





On Aug 14, 2015, at 12:03 PM, Bryan Laurila <blaurila at sbcglobal.net> wrote:
I am currentlyrunning MailScanner version 4.84.6 and in checking log files for something elseI discovered the following in /var/log/mail today.  Not sure how long this has been happening butI’d venture to guess it has been years… 2015-08-12T10:45:42.679370-05:00DCMXRLY1 MailScanner[19393]: Syntax error(s) in configuration file:2015-08-12T10:45:42.679398-05:00DCMXRLY1 MailScanner[19393]: Unrecognised keyword"spamassassinprefsfile" at line 31292015-08-12T10:45:42.679411-05:00 DCMXRLY1MailScanner[19393]: Warning: syntax errors in/etc/MailScanner/MailScanner.conf.  In running aMailScanner –lint I see the following: Tryingto setlogsock(unix) Readingconfiguration file /etc/MailScanner/MailScanner.confReadingconfiguration file /etc/MailScanner/conf.d/READMEReadingconfiguration file /etc/MailScanner/conf.d/web_bugSyntax error(s) inconfiguration file: at /usr/lib/MailScanner/MailScanner/Config.pm line 2213.Unrecognised keyword"spamassassinprefsfile" at line 3129 at/usr/lib/MailScanner/MailScanner/Config.pm line 2216.Warning: syntax errors in/etc/MailScanner/MailScanner.conf. at/usr/lib/MailScanner/MailScanner/Config.pm line 2221.Read463 hostnames from the phishing whitelistRead11928 hostnames from the phishing blacklists Checkingversion numbers...Versionnumber in MailScanner.conf (4.84.6) is correct. Yourenvelope_sender_header in spam.assassin.prefs.conf is correct.MailScannersetting GID to  (51)MailScannersetting UID to  (51) Checkingfor SpamAssassin errors (if you use it)...UsingSpamAssassin results cacheConnectedto SpamAssassin cache databaseSpamAssassinreported no errors.Ihave found clamav scanners installed, and will use them all by default.Connectedto Processing Attempts DatabaseCreatedProcessing Attempts Database successfullyThereare 368 messages in the Processing Attempts DatabaseUsinglocktype = posixMailScanner.confsays "Virus Scanners = auto"Foundthese virus scanners installed: clamav===========================================================================FilenameChecks: Windows/DOS Executable (1 eicar.com)OtherChecks: Found 1 problemsVirusand Content Scanning: Starting1.message:Eicar-Test-Signature-1 FOUND ./1/eicar.com:Eicar-Test-Signature FOUND VirusScanning: ClamAV found 2 infectionsInfectedmessage 1 came from 10.1.1.1VirusScanning: Found 2 viruses===========================================================================VirusScanner test reports:ClamAVsaid "eicar.com contains Eicar-Test-Signature" Ifany of your virus scanners (clamav)arenot listed there, you should check that they are installed correctlyand that MailScanner is finding them correctly viaits virus.scanners.conf.  Inlooking at /etc/MailScanner/MailScanner.conf I have the following on line 3129: SpamAssassin Prefs File = /etc/MailScanner/spam.assassin.prefs.conf
  In searching forthis error regarding the spam.assassin.prefs.conf file, all I find is old stufffrom like 2006-2009.  Some results say tojust comment out the line and others say to run upgrade_Mail_Scanner_conf. What’s going onhere and how do I fix it?  All help isgreatly appreciated. Thanks,    Bryan  
  

-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/listinfo/mailscanner






-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/listinfo/mailscanner



  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150814/3a87293d/attachment.html>


More information about the MailScanner mailing list