Upgrade Wrecks MailScanner
Jerry Benton
jerry.benton at mailborder.com
Wed Oct 12 04:51:26 UTC 2016
Or move it rather.
-
Jerry Benton
www.mailborder.com
+1 - 844-436-6245
-----Original Message-----
From: Jerry Benton <jerry.benton at mailborder.com>
Reply: Jerry Benton <jerry.benton at mailborder.com>
Date: October 12, 2016 at 12:50:17 AM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: RE: Upgrade Wrecks MailScanner
> Remove that BACKUP file from the /conf.d/ directory. It is still being read.
>
>
> -
> Jerry Benton
> www.mailborder.com
> +1 - 844-436-6245
>
>
> -----Original Message-----
> From: Paul Scott
> Reply: MailScanner Discussion
> Date: October 12, 2016 at 12:06:05 AM
> To: MailScanner Discussion
> Subject: RE: Upgrade Wrecks MailScanner
>
> > Hello Mark,
> >
> > There are two files in the /etc/MailScanner/conf.d directory, as follows:
> >
> > MyMailScannerConfig.conf
> >
> > -and-
> >
> > README
> >
> > 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
> > 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
> > ===========================================================================
> >
> > 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:
> >
> > Sep 11 05:36:17 mail MailScanner[3147]: New Batch: Scanning 1 messages, 6510 bytes
> > Sep 11 05:36:17 mail MailScanner[3147]: Virus and Content Scanning: Starting
> > Sep 11 05:36:57 mail MailScanner[3147]: MCP Checks: Starting
> > Sep 11 05:36:57 mail MailScanner[3147]: Expired 1 records from the SpamAssassin cache
> > Sep 11 05:37:02 mail MailScanner[3147]: Spam Checks: Found 1 spam messages
> > Sep 11 05:37:02 mail MailScanner[3147]: Deleted 1 messages from processing-database
> > Sep 11 05:37:02 mail MailScanner[3147]: Logging message u8BCaA1A003322 to SQL
> > Sep 11 05:37:02 mail MailScanner[3240]: u8BCaA1A003322: Logged to MailWatch SQL
> > Sep 11 05:40:07 mail MailScanner[3163]: New Batch: Scanning 1 messages, 8208 bytes
> > Sep 11 05:40:07 mail MailScanner[3163]: Virus and Content Scanning: Starting
> > Sep 11 05:40:47 mail MailScanner[3163]: MCP Checks: Starting
> > Sep 11 05:40:47 mail MailScanner[3163]: Whitelist refresh time reached
> > Sep 11 05:40:47 mail MailScanner[3163]: Starting up SQL Whitelist
> > Sep 11 05:40:47 mail MailScanner[3163]: Read 17 whitelist entries
> > Sep 11 05:40:47 mail MailScanner[3163]: Blacklist refresh time reached
> > Sep 11 05:40:47 mail MailScanner[3163]: Starting up SQL Blacklist
> > Sep 11 05:40:47 mail MailScanner[3163]: Read 51 blacklist entries
> > Sep 11 05:40:53 mail MailScanner[3163]: Spam Checks: Found 1 spam messages
> > Sep 11 05:40:53 mail MailScanner[3163]: Deleted 1 messages from processing-database
> >
> > Not sure why this is. Any ideas?
> >
> > Thank you again! Paul
> >
> > -----Original Message-----
> > From: MailScanner [mailto:mailscanner-bounces+sales=edenusa.com at lists.mailscanner.info]
> > On Behalf Of Mark Sapiro
> > Sent: Tuesday, October 11, 2016 8:46 PM
> > To: mailscanner at lists.mailscanner.info
> > Subject: Re: Upgrade Wrecks MailScanner
> >
> > On 10/11/2016 08:29 PM, Paul Scott wrote:
> > >
> > > At this moment, I am still getting the following error using the --lint tests:
> > > Checking version numbers...
> > > Version installed (5.0.3) does not match version stated in
> > > MailScanner.conf file (4.84.5), you may want to run ms-upgrade-conf to
> > > ensure your MailScanner.conf file contains all the latest settings.
> > >
> > > But I don't understand why, since the MailScanner.conf which is in the /etc/MailScanner
> > directory, has this line in it, and it IS the correct version:
> > >
> > > # This is the version number of the MailScanner distribution that
> > > created # this configuration file. Please do not change this value.
> > > MailScanner Version Number = 5.0.3
> >
> >
> > What's in /etc/MailScanner/conf.d/? and anywhere else that might be
> > included from /etc/MailScanner/MailScanner.conf?
> >
> > --
> > Mark Sapiro The highway is for gamblers,
> > San Francisco Bay Area, California better use your sense - B. Dylan
> >
> >
> > --
> > MailScanner mailing list
> > mailscanner at lists.mailscanner.info
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
> >
> >
> > --
> > MailScanner mailing list
> > mailscanner at lists.mailscanner.info
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
> >
>
More information about the MailScanner
mailing list