Results 1 to 7 of 7

Thread: How to Install and Configure ClamAV

  1. #1
    Join Date
    Apr 2010
    Posts
    91

    How to Install and Configure ClamAV

    I just installed clamAV. Everything went well but to do the update problem is what I get:
    ERROR: Please edit the example config file / usr / local / etc / freshclam.conf.
    ERROR: Please edit the example config file / usr / local / etc / clamd.conf.
    ERROR: Can not parse the config file / usr / local / etc / clamd.conf
    where can find configuration files? Thank you.

  2. #2
    Join Date
    Feb 2008
    Posts
    2,635

    Re: How to Install and Configure ClamAV

    Clamav antivirus which is going to read the email content and then transmit it to validate or reject Postfix. As I am Sarge, there is a special repository for the latest version of ClamAV: "Debian-Volatile. It is essential to be able to recognize all the signatures of the latest viruses.
    # Apt-get update
    # Apt-get install clamav clamav-daemon

  3. #3
    Join Date
    May 2008
    Posts
    2,945

    Re: How to Install and Configure ClamAV

    Question during the installation: select the mode daemon for automatic updates (every hour), and select the server "en" for downloading these updates. As indicated in the configuration file, you must add the group to Clamav Amavis:
    addgroup clamav amavis
    Code:
    Check configured to work with ClamAV (it's automatic). In the file "/ etc / amavis / amavisd.conf" you must find:
    ['Clam Antivirus-clamd',
    \ & Ask_daemon, ["CONTSCAN () \ n", "/ var / run / clamav / clamd.ctl"]
    qr / \ BOK $ /, qr / \ bFOUND $ /,
    qr /^.*?: (?! Infected Archive )(.*) FOUND $ /],

  4. #4
    Join Date
    Jan 2006
    Posts
    3,792

    Re: How to Install and Configure ClamAV

    You can now send a virus to test the release of ClamAV. For this, download One of the EICAR file (European Institute for Computer Anti-Virus Research), which simulates the signature of a virus (it is not a real virus, do not worry!). Add this file as an attachment to your mail server logs and watch:
    tail-f / var / log / clamav / clamav.log

  5. #5
    Join Date
    Jan 2006
    Posts
    4,221

    Re: How to Install and Configure ClamAV

    it is better to install ClamAV using an installer.
    Code:
     Yum-y install clamav
    This approach gives a very fast and preconfigured software to operate. It certainly does not have the configuration phase. ClamAV is an open source product compilation of sources is also a way to make possible.

    # Tar zxf clamav-x.yz.tar.gz
    # Cd clamav-x.yz
    #. / Configure - sysconfdir = / etc
    # Make
    # Make install

  6. #6
    Join Date
    Apr 2008
    Posts
    3,339

    Re: How to Install and Configure ClamAV

    I like many software under linux, ClamAV is configured via a simple configuration file located in / etc / clamd.conf. Latter, although it is very well commented, clearly requires to be a anglicist confirmed. Among the useful options are:
    The start of transactions by the antivirus. LogFile: /! Full path to Path to the database of viruses.
    DatabaseDirectory
    User that running ClamAV
    Use
    Filetype that ClamAV is / should not watch ScanArchives, ScanMail, ScanHTML. The automatic update of the database can be done via two main vectors:
    * Put in the program freshclam process:
    # Freshclam-d
    * Add a cronjob running every hour
    # Freshclam - quiet

  7. #7
    Merlinclancy Guest

    Re: How to Install and Configure ClamAV

    Its very useful .... Thanks for sharing!!!!!!
    Last edited by Maqbool; 15-06-2010 at 05:32 PM. Reason: External Links Not Allowed, Removed The Same.

Similar Threads

  1. How to install and configure Conky
    By Vodka in forum Customize Desktop
    Replies: 2
    Last Post: 12-08-2010, 01:28 PM
  2. error when compiling clamav-0.95.tar.gz
    By KennedII in forum Networking & Security
    Replies: 4
    Last Post: 24-04-2010, 04:35 AM
  3. ClamAV as external email scanner
    By Galbraith in forum Networking & Security
    Replies: 4
    Last Post: 10-04-2010, 12:23 AM
  4. Install and Configure DNS in Linux
    By Hollow-man in forum Networking & Security
    Replies: 4
    Last Post: 01-02-2010, 04:01 PM
  5. How to use ClamAV to monitor Thunderbird
    By Sonic in forum Networking & Security
    Replies: 3
    Last Post: 09-12-2008, 01:19 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,001,740.83204 seconds with 17 queries