Upgrade Wrecks MailScanner

Tracy Greggs mailscanner-list at okla.com
Fri Oct 14 13:40:36 UTC 2016


If you are using Centos I would suggest installing clamd from the EPEL repo,
after removing whatever version you have installed.  Clamd is the fastest
implementation and is pretty much considered to be THE way to go with MS
installations.

That being said the EPEL repo puts freshclam in /usr/bin/freshclam and in
the 4.x versions of MS the updater was looking for freshclam in
/usr/local/bin/ so a symlink is a quick fix for that.

Regards,
Tracy

-----Original Message-----
From: MailScanner
[mailto:mailscanner-bounces+mailscanner-list=okla.com at lists.mailscanner.info
] On Behalf Of Paul Scott
Sent: Thursday, October 13, 2016 4:44 PM
To: MailScanner Discussion
Subject: RE: Upgrade Wrecks MailScanner


Tried to update clamav, etc., but no love.  See the following:

[root at mail log]# yum update clamav
Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached
hostfile
 * addons: centos-distro.cavecreek.net
 * base: mirror.hmc.edu
 * epel: linux.mirrors.es.net
 * extras: mirror.compevo.com
 * rpmforge: mirror.hmc.edu
 * updates: mirror.pac-12.org
Excluding Packages in global exclude list Finished
248 packages excluded due to repository priority protections Setting up
Update Process No Packages marked for Update

[root at mail log]# yum update clamd
Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached
hostfile
 * addons: centos-distro.cavecreek.net
 * base: mirror.hmc.edu
 * epel: linux.mirrors.es.net
 * extras: mirror.compevo.com
 * rpmforge: mirror.hmc.edu
 * updates: mirror.pac-12.org
Excluding Packages in global exclude list Finished
248 packages excluded due to repository priority protections Setting up
Update Process No Packages marked for Update

[root at mail log]# yum update freshclam
Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached
hostfile
 * addons: centos-distro.cavecreek.net
 * base: mirror.hmc.edu
 * epel: linux.mirrors.es.net
 * extras: mirror.compevo.com
 * rpmforge: mirror.hmc.edu
 * updates: mirror.pac-12.org
Excluding Packages in global exclude list Finished
248 packages excluded due to repository priority protections Setting up
Update Process No Match for argument: freshclam No package freshclam
available.
No Packages marked for Update
[root at mail log]#


-----Original Message-----
From: MailScanner
[mailto:mailscanner-bounces+sales=edenusa.com at lists.mailscanner.info] On
Behalf Of Mark Sapiro
Sent: Thursday, October 13, 2016 2:19 PM
To: mailscanner at lists.mailscanner.info
Subject: Re: Upgrade Wrecks MailScanner

On 10/13/2016 01:35 PM, Paul Scott wrote:
> 
> Auto: Found virus scanners: clamavmodule LibClamAV Warning: 
> **************************************************
> LibClamAV Warning: ***  The virus database is older than 7 days!  ***
> LibClamAV Warning: ***   Please update it as soon as possible.    ***
> LibClamAV Warning: **************************************************
> LibClamAV Warning:
***********************************************************
> LibClamAV Warning: ***  This version of the ClamAV engine is outdated.
***
> LibClamAV Warning: *** DON'T PANIC! Read 
> http://www.clamav.net/support/faq *** LibClamAV Warning:
> ***********************************************************


Try using yum or whatever to install/update clamav, clamd and freshclam.
Also, running clamd is much preferred to the clamav module. If clamd is
running, Virus Scanners = auto will use it.


> 4. And every now and again, I get these kind of error messages in the
maillog:
> Oct 13 13:07:44 mail MailScanner[4773]: Could not open file 
> >/var/spool/MailScanner/incoming/4773/u9DK7gOS005688.header: No such 
> file or directory Oct 13 13:07:44 mail MailScanner[4773]: Cannot 
> create + lock headers file 
> /var/spool/MailScanner/incoming/4773/u9DK7gOS005688.header



What is the owner and group of /var/spool/MailScanner/incoming/, and what
user and group are the MailScanner processes running as?


> I noticed that there are a few other folks having the same or similar
issues as I ran into using the install.sh script.  I feel that this is going
to become a large support issue, and I feel badly for all of us out here in
the world that are running into this problem.


I'm sorry for the difficulty that you and others have experienced in
upgrading from Mailscanner 4.x.x to 5.x.x. I'm sure there's much room for
improvement in the scripts and documentation, but please note that this is
not a micro or minor point release upgrade. It is a major version jump. As
such you should expect that things will change and do more research and
preparation before actually upgrading.

-- 
Mark Sapiro <mark at msapiro.net>        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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list