LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-21-2006, 08:54 AM   #1
gizza23
Member
 
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"

/etc/cron.daily/yum.cron:

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*******************************

Thanks!
 
Old 11-21-2006, 09:40 AM   #2
Berhanie
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
Code:
freshclam
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
gizza23
Member
 
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
gani
Member
 
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:

/etc/amavisd.conf

['ClamAV-clamd',
\&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
 
  


Reply


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


All times are GMT -5. The time now is 06:59 PM.

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