Upgrade Wrecks MailScanner
Mark Sapiro
mark at msapiro.net
Wed Oct 12 14:47:14 UTC 2016
On 10/11/2016 09:05 PM, Paul Scott wrote:
>
> The MyMailScannerConfig.conf file appears to be a copy of my OLD MailScanner.conf file. So that explains partially what is going on, if indeed, the ENTIRE new MailScanner.conf is being wiped out by this "include" file. So I renamed that file, and now, lo-and-behold, the --lint test works much better, but still has some errors:
>
> [root at mail conf.d]# MailScanner --lint
> Trying to setlogsock(unix)
>
> Reading configuration file /etc/MailScanner/MailScanner.conf
> Reading configuration file /etc/MailScanner/conf.d/BACKUP
> Reading configuration file /etc/MailScanner/conf.d/README
> Read 501 hostnames from the phishing whitelist
> Read 19129 hostnames from the phishing blacklists
> Config: calling custom init function SQLBlacklist
> Config: calling custom init function MailWatchLogging
> Config: calling custom init function SQLWhitelist
>
> Checking version numbers...
> Version number in MailScanner.conf (5.0.3) is correct.
>
> Your envelope_sender_header in spamassassin.conf is correct.
>
> Checking for SpamAssassin errors (if you use it)...
> Using SpamAssassin results cache
> Connected to SpamAssassin cache database
> dcc: dccifd -> check skipped: dcc: failed to connect to a socket /var/dcc/dccifd: Connection refused
This is an issue between Spamassassin and DCC. Something is not
configuredcorrectly or DCC isn't running or ??
> SpamAssassin reported no errors.
> Connected to Processing Attempts Database
> Created Processing Attempts Database successfully
> There are 0 messages in the Processing Attempts Database
> Using locktype = flock
> MailScanner.conf says "Virus Scanners = clamav avg"
> mktemp: invalid option -- -
> Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]
> Found these virus scanners installed: clamavmodule
> ===========================================================================
> Virus and Content Scanning: Starting
> mktemp: invalid option -- -
> Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]
> ERROR: Option --tempdir requires a non-empty string argument
> ERROR: Can't parse command line options
This comes from /usr/lib/MailScanner/wrapper/clamav-wrapper.
I think I asked before, what does
/usr/sbin/ms-peek IncomingWorkDir /etc/MailScanner/MailScanner.conf
report, or is there a setting for 'ms_conf' in /etc/MailScanner/defaults
other than
ms_conf=/etc/MailScanner/MailScanner.conf
> ===========================================================================
>
> If any of your virus scanners (clamavmodule)
> are not listed there, you should check that they are installed correctly
> and that MailScanner is finding them correctly via its virus.scanners.conf.
> Config: calling custom end function SQLBlacklist
> Config: calling custom end function MailWatchLogging
> Config: calling custom end function SQLWhitelist
>
> So it looks better now, but I don't see the normal MailScanner messages in the maillog.log, like I used to. All of the startup messages appear, for each child, but after that, all I see are standard sendmail and popper messages in the log. No MailScanner messages, like these:
MailScanner is not scanning messages. There is an issue because
MailScanner's init.d script used to start the two required sendmail
processes in a sendmail configuration. It no longer does this so
sendmail is probably not being started as required by MailScanner.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the MailScanner
mailing list