Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2028
  • Last Modified:

ClamAV

Okay, I look for some documentation online to install ClamAV, but didn’t find any that was useful.

This is what I have done so far

install rpm
                  clamav-db-0.75.1-1.1.fc2.dag.i386.rpm
                  clamav-0.75.1-1.1.fc2.dag.i386.rpm
                  clamd-0.75.1-1.1.fc2.dag.i386.rpm
                  clamav-milter-0.75.1-1.1.fc2.dag.i386.rpm
                  clamav-devel-0.75.1-1.1.fc2.dag.i386.rpm

Then I tried a bunch of other stuff with no luck.
I am not sure how the socket thing works.

Can someone send me a good site to set this up with step by step instruction or just tell me?

I am on FC2

I am also getting this when I restart sendmail

Aug  6 16:17:39 ns3 sendmail[12761]: STARTTLS=server: file /etc/mail/certs/cert.pem unsafe: No such file or directory
0
clintonm9
Asked:
clintonm9
  • 5
  • 4
2 Solutions
 
grbladesCommented:
Hi clintonm9,
If you installed clamav rpm then you have it installed.
You normally have a cron job to run 'freshclam' every couple of hours to keep the virus definitions up to date.
Then you can use 'clamscan' to scan files for viruses.

If you want to use it to scan emails then I highly recomend you forget about Sendmail and install Postfix instead as it is far more configurable. You can use amavisd-new as the virus scanning engine.


I have Postfix, clamav, spanassassin, procmail and amavisd-new irunning at work to scan all emails for viruses and spam.
0
 
owensleftfootCommented:
Download mailscanner from www.mailscanner.info. Install the rpm, then edit /etc/MailScanner/MailScanner.conf and change 2 options. One is whether MailScanner actually scans for viruses & the other one is to tell mailscanner which anti-virus program to use..
The first one is

 Virus Scanning = yes

The second one is

 Virus Scanners = clamav
0
 
clintonm9Author Commented:
MailScanner worked great.

I am now using sendmail, clamav, and spanassassin.

Thanks

When I try and put this in my cron I get an error message

/usr/bin/freshclam --quiet -l /var/log/clamav/db-update.log
ERROR: Can't open /var/log/clamav/db-update.log in append mode.
ERROR: Problem with internal logger.

grblades, you say Sendmail is less configurable then other app, if I have it configured now, is there other downfalls to sendmail that you would still highly recommend switching?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
grbladesCommented:
Check the permissions on /var/log/clamav/db-update.log. Normally clamav switches to the 'clamav' user or whatever it is configured to run as so the log file should be owned by that user.

If you have sendmail configured then it is not worth changing. The most problems I have with sendmail is you cannot limit the maximum number of emails which can be sent simultaneously so if someone send multiple large email the internet access for everyone slows down considerably if you have a slow link.
0
 
clintonm9Author Commented:
I think it worked, is there anyway to test?
0
 
grbladesCommented:
You could just manually run the command.
/usr/bin/freshclam --quiet -l /var/log/clamav/db-update.log
0
 
clintonm9Author Commented:
/usr/bin/freshclam --quiet -l /var/log/clamav/db-update.log
ERROR: Can't get information about db.us.clamav.net host.
ERROR: Connection with db.us.clamav.net (IP: ???) failed.
0
 
grbladesCommented:
It looks like DNS lookups are not working. Try typing "host db.us.clamav.net" and you should get back a list of IP addresses for that host. If you get an error then check your DNS configuration.
0
 
clintonm9Author Commented:
Yeah, it worked, thanks!
0
 
clintonm9Author Commented:
Now that i have MailScanner installed sm-client does not run any more. Is that correct?
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now