Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-21-2006, 08:54 AM   #1
Registered: Jun 2005
Location: Chicago, IL, USA
Distribution: Fedora Core, CentOS
Posts: 188

Rep: Reputation: 31
Updating avamisd-new VIrus Scan

Hi all,

Is anyone familiar with updating avamisd-new virus protection? If clamAV were separate I would know how to do this but I'm pretty clueless at the moment.

******************BEGIN EMAIL*******************************
Just for reference I've included the daily email from "run-parts /etc/cron.daily"


Shutting down amavisd: Daemon [1688] terminated by SIGTERM
[ OK ]
amavisd stopped
Starting amavisd: [ OK ]

Stopping clamd.amavisd: [ OK ]
Starting clamd.amavisd: LibClamAV Warning:
LibClamAV Warning: *** The virus database is older than 7 days. ***
LibClamAV Warning: *** Please update it IMMEDIATELY! ***
LibClamAV Warning: **************************************************
[ OK ]

******************END EMAIL*******************************

Old 11-21-2006, 09:40 AM   #2
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
The warning above regards the virus definitions database. To get the latest, just run
You might need to adjust freshclam.conf beforehand if you've never run freshclam in the past. In the future, you can run freshclam from a cron job or as a daemon to keep the definitions up-to-date. Regarding your other comments, when you need to do it, it should be possible to upgrade each of amavis' components (clamav, spamassassin) separately. I don't use Fedora, but I don't believe they all come packaged together in a single RPM.
Old 11-21-2006, 09:47 AM   #3
Registered: Jun 2005
Location: Chicago, IL, USA
Distribution: Fedora Core, CentOS
Posts: 188

Original Poster
Rep: Reputation: 31
I can definitely try that command. I've used clamAV separate from a package like avamisd-new so i'm somewhat familiar with the /etc/freshclam.conf file.

Although this suggestion is good enough does anyone with experience in Fedora Core and avamisd-new have any suggestions to add?
Old 11-30-2006, 08:44 AM   #4
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: OpenBSD, Slackware, XP
Posts: 347

Rep: Reputation: 31
amavisd-new can invoke ClamAV to scan email attachments by executing clamscan. It is ClamAV that has to be updated using as said already, through freshclam. In amavisd-new, if you haven't done yet:


\&ask_daemon, ["CONTSCAN {}\n", "/tmp/clamd"],
qr/\bOK$/, qr/\bFOUND$/,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

It is just uncommenting these lines and then reload amavisd-new.

# /usr/sbin-path/../amavisd -u amavisd-user reload

In cron you need to add:

06 08 * * * /usr/bin-path/../freshclam --quiet


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Good Linux Virus Scan !!! chuck77 Linux - General 4 09-02-2008 02:54 AM
AVG virus scan safety and reliability jormahuuskonen Linux - Security 2 07-20-2006 04:18 AM
McAfee Virus scan v4.7 installation problem fredred Linux - Security 1 03-08-2005 10:38 PM
Is there a virus scan software in linux? Itachi Mandriva 12 02-08-2005 07:59 PM
Ran a virus scan, please look at.. webwolf70 Linux - Security 3 01-29-2005 11:54 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration