Strange MailScanner --lint error
jerry.benton at mailborder.com
Fri Aug 14 17:10:17 UTC 2015
Uncomment line 313 of ConfigDefs.pl
> On Aug 14, 2015, at 12:03 PM, Bryan Laurila <blaurila at sbcglobal.net> wrote:
> 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. Not sure how long this has been happening but I’d venture to guess it has been years…
> 2015-08-12T10:45:42.679370-05:00 DCMXRLY1 MailScanner: Syntax error(s) in configuration file:
> 2015-08-12T10:45:42.679398-05:00 DCMXRLY1 MailScanner: Unrecognised keyword "spamassassinprefsfile" at line 3129
> 2015-08-12T10:45:42.679411-05:00 DCMXRLY1 MailScanner: Warning: syntax errors in /etc/MailScanner/MailScanner.conf.
> In running a MailScanner –lint I see the following:
> Trying to setlogsock(unix)
> Reading configuration file /etc/MailScanner/MailScanner.conf
> Reading configuration file /etc/MailScanner/conf.d/README
> Reading configuration file /etc/MailScanner/conf.d/web_bug
> Syntax error(s) in configuration 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.
> Read 463 hostnames from the phishing whitelist
> Read 11928 hostnames from the phishing blacklists
> Checking version numbers...
> Version number in MailScanner.conf (4.84.6) is correct.
> Your envelope_sender_header in spam.assassin.prefs.conf is correct.
> MailScanner setting GID to (51)
> MailScanner setting UID to (51)
> Checking for SpamAssassin errors (if you use it)...
> Using SpamAssassin results cache
> Connected to SpamAssassin cache database
> SpamAssassin reported no errors.
> I have found clamav scanners installed, and will use them all by default.
> Connected to Processing Attempts Database
> Created Processing Attempts Database successfully
> There are 368 messages in the Processing Attempts Database
> Using locktype = posix
> MailScanner.conf says "Virus Scanners = auto"
> Found these virus scanners installed: clamav
> Filename Checks: Windows/DOS Executable (1 eicar.com)
> Other Checks: Found 1 problems
> Virus and Content Scanning: Starting
> 1.message: Eicar-Test-Signature-1 FOUND
> ./1/eicar.com: Eicar-Test-Signature FOUND
> Virus Scanning: ClamAV found 2 infections
> Infected message 1 came from 10.1.1.1
> Virus Scanning: Found 2 viruses
> Virus Scanner test reports:
> ClamAV said "eicar.com contains Eicar-Test-Signature"
> If any of your virus scanners (clamav)
> are not listed there, you should check that they are installed correctly
> and that MailScanner is finding them correctly via its virus.scanners.conf.
> In looking at /etc/MailScanner/MailScanner.conf I have the following on line 3129:
> SpamAssassin Prefs File = /etc/MailScanner/spam.assassin.prefs.conf
> In searching for this error regarding the spam.assassin.prefs.conf file, all I find is old stuff from like 2006-2009. Some results say to just comment out the line and others say to run upgrade_Mail_Scanner_conf.
> What’s going on here and how do I fix it? All help is greatly appreciated.
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner