The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Clamav Configuration Question

Discussion in 'General Discussion' started by lloyd_tennison, Sep 26, 2004.

  1. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    1. Installed using anand's method, but coming up with Digital Signature error message. Have installed gmp-devel through WHM - but still receive message. Have stopped and restarted Exim, Bind and Apache.

    2. Is there a way to see if Clamd is still running clamwatch does not seem to be able to handle - or will Exim restart if it stops?

    I did setup Clamav so that it would not scan my outgoing - I have large Mailman lists. I used accept authenticated = * just before the ACL for Clam - if someone has a better idea than that - or an idea on how to ONLY skip Mailman... Otherwise I can live with that.


    Thanks in advance...
     
  2. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    netstat -nlp should give you something like this right at the bottom:

    Active UNIX domain sockets (only servers)
    Proto RefCnt Flags Type State I-Node PID/Program name Path
    unix 2 [ ACC ] STREAM LISTENING 61719325 30346/clamd /var/run/clamav/clamd

    On outgoing mail scanning:
    If outgoing mails uses local smtp it would be.
    I presume that if it uses sendmail wrapper, it shouldn't be scanned for viruses.

    Anup
     
  3. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Thanks, but I was tryng to find out if it would restart. Clamwatch has a way to do it - but the method relies on the daemon being loaded at startup - which Cpanel/Exim does not do.


    Anyone on the Digital Signature -or should I try reinstalling Clamav - since I have already RPM'd gmp-devel ?

    On the local SMTP - thanks I will see if I can test that and see if does not do local.
     
  4. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    Hi.

    Just do a /etc/rc.d/init.d/exim restart

    It should show you clamd stopping and starting also.

    Anup
     
  5. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    /scripts/restartsrv_clamd
     
  6. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    Could this be used in adding clamd to /etc/chkserv.d and also to /var/run/chkservd?

    If yes then how exactly?

    Thanx
    Anup
     
    #6 anup123, Sep 27, 2004
    Last edited: Sep 27, 2004
  7. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    you can open the script and check that out. i just got him something to start the clamd.
     
Loading...

Share This Page