Strange MailScanner --lint error

Bryan Laurila blaurila at
Fri Aug 14 16:03:43 UTC 2015

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/ line 2213.Unrecognised keyword"spamassassinprefsfile" at line 3129 at/usr/lib/MailScanner/MailScanner/ line 2216.Warning: syntax errors in/etc/MailScanner/MailScanner.conf. at/usr/lib/MailScanner/MailScanner/ 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 Found 1 problemsVirusand Content Scanning: Starting1.message:Eicar-Test-Signature-1 FOUND ./1/ FOUND VirusScanning: ClamAV found 2 infectionsInfectedmessage 1 came from Found 2 viruses===========================================================================VirusScanner test reports:ClamAVsaid " 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  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the MailScanner mailing list