1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

ClamAV with 7.5.1

Discussion in 'Plesk for Linux - 8.x and Older' started by ylon, Jan 7, 2005.

  1. ylon

    ylon Basic Pleskian

    23
    23%
    Joined:
    Apr 28, 2007
    Messages:
    39
    Likes Received:
    0
    I just purchased the SpamAssassin module, however I am also wanting to incorporate ClamAV into this. I've done this before on a FreeBSD server w/o Plesk, however I'm wanting to do this the "right" way on a Plesk server rather than fiddling through it myself.

    Can someone please provide instructions or a package that has worked for you on the 7.5.1 release (running Fedora Core 2 underneath).
     
  2. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    you can do it with qmail-scanner from my archive
     
  3. ylon

    ylon Basic Pleskian

    23
    23%
    Joined:
    Apr 28, 2007
    Messages:
    39
    Likes Received:
    0
    Thanks, I will look into that! Do you have an introductory document that offers a little insight or describes your repository and how to use it? I think (I saw it in passing before while looking at the forums) that you can just pop your listing into apt-get's pkg list or yum, but I was hopeful to find something with more commentary or each package may be described, etc.

    Thanks for the pointer so far!
     
  4. ylon

    ylon Basic Pleskian

    23
    23%
    Joined:
    Apr 28, 2007
    Messages:
    39
    Likes Received:
    0
    Also, would you happen to have a slashcode pkg laying around?
     
  5. ylon

    ylon Basic Pleskian

    23
    23%
    Joined:
    Apr 28, 2007
    Messages:
    39
    Likes Received:
    0
    Sorry, another quick question... :) I've been reading a slight bit in your forums regarding spamassassin. Do you have a package that also will enable spamassassin on FC2 with Plesk 7.5.1?

    Thanks!
     
  6. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Theres a yum project page on my website, its not really a lot of effort to set up. Add the channel to yum, and thats it.

    You can use qmail-scanner to run spamassassin as well. This was the anti-spam/anti-virus system I put together for PSA 5 before PSA had those features.
     
  7. ylon

    ylon Basic Pleskian

    23
    23%
    Joined:
    Apr 28, 2007
    Messages:
    39
    Likes Received:
    0
    That's super. I was looking at your page and it appears to get it set up correctly with Fedora Core 2 that I simply need to add the following headers (with accompanying info) to yum.conf:

    [atomic]
    [app-vault]
    [psa-7.5] (although I'm on 7.5.1)
    [base] (Not Sure)
    [updates] (Not Sure)

    Then I should be able to just do a:
    `yum install qmail-scanner`

    and this will grab all of the Fedora Core 2 pkgs such as clamav, clamavd, spamassassin, etc?

    Also, is there a way to get this working with apt-get rather than yum? Just used to that more from fink on Mac OS X.

    Thanks!
     
  8. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Yep thats it, and no I dont have apt support.
     
  9. ylon

    ylon Basic Pleskian

    23
    23%
    Joined:
    Apr 28, 2007
    Messages:
    39
    Likes Received:
    0
    Hmm, hopefully will be the last question... ;)

    when I run the `yum install qmail-scanner` I am getting (after it searches through the headers):

    Resolving dependencies
    .Dependencies resolved
    I will do the following:
    [install: qmail-scanner 1:1.23-3.rhfc2.art.noarch]
    I will install/upgrade these to satisfy the dependencies:
    [deps: daemontools 0.70-1.rhfc2.art.i386]
    [deps: maildrop 1.6.0-1.rhfc2.art.i386]
    [deps: tnef 1.2.1-1.rhfc2.art.i386]
    Is this ok [y/N]:

    I am not seeing "clamav" nor spamassassin in the list. Perhaps its bundled in your pkg and I am amiss, however I would like to be sure. I did run `rpm -qa|grep lam` and it resulted in no ClamAV[d] pkgs and I ran `rpm -qa|grep assa` which did result in the following listed in my installed rpm database:

    spamassassin-2.63-8
    psa-spamassassin-7.5.1-fc2.build75041216.15

    How should I proceed? Thanks so much for your help thus far!
     
  10. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    You need to specify clamav, since its a separate package. Yum update spamassassin, or yum update (would get everything)
     
  11. ylon

    ylon Basic Pleskian

    23
    23%
    Joined:
    Apr 28, 2007
    Messages:
    39
    Likes Received:
    0
    And yum update will not toast any plesk configs or functionality? I'm used to the previous versions of plesk which seemed to have its own versions of everything and you were not really able to update things such as apache unless you hacked it in, however it seems that things have changed from then to now (7.5.1).

    Also, I get the following with spamassassin:

    [user@somdomain user]# sudo yum update spamassassin
    Gathering header information file(s) from server(s)
    Server: Atomic Rocket Turtle - 2 - App Vault RPMS
    Server: Atomic Rocket Turtle - 2 - Atomic PSA-Compatible RPMS
    Server: Atomic Rocket Turtle - 2 - Base OS RPMS mirror
    Server: Atomic Rocket Turtle - 2 - SW-Soft PSA 7.5 RPMS
    Server: Atomic Rocket Turtle - 2 - OS Update RPMS mirror
    Server: Fedora Core 2 - i386 - Released Updates
    Finding updated packages
    Downloading needed headers
    Resolving dependencies
    .Package psa-spamassassin needs perl(Mail::SpamAssassin::NoMailAudit), this is not available.

    Am I missing something in my repository, here are my repositories out of yum.conf:

    [base]
    name=Fedora Core $releasever - $basearch - Base
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

    [updates-released]
    name=Fedora Core $releasever - $basearch - Released Updates
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

    #[updates-testing]
    #name=Fedora Core $releasever - $basearch - Unreleased Updates
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

    #[development]
    #name=Fedora Core $releasever - Development Tree
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/

    [atomic]
    name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
    baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
    baseurl=http://archive.atomicrocketturtle.com/atomic/art/$releasever/
    baseurl=http://www.atomicrocketturtle.com/atomic/art/$releasever/

    [app-vault]
    name=Atomic Rocket Turtle - $releasever - App Vault RPMS
    baseurl=http://3es.atomicrocketturtle.com/atomic/app-vault/
    baseurl=http://archive.atomicrocketturtle.com/atomic/app-vault/
    baseurl=http://www.atomicrocketturtle.com/atomic/app-vault/

    [psa-7.5]
    name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
    baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
    baseurl=http://archive.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
    baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.5/$releasever/

    [base]
    name=Atomic Rocket Turtle - $releasever - Base OS RPMS mirror
    baseurl=http://3es.atomicrocketturtle.com/3rd-party/base/$releasever/

    [updates]
    name=Atomic Rocket Turtle - $releasever - OS Update RPMS mirror
    baseurl=http://3es.atomicrocketturtle.com/3rd-party/updates/$releasever/


    Thanks! You're super!
     
  12. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    No, its all completely compatible with PSA
     
  13. ylon

    ylon Basic Pleskian

    23
    23%
    Joined:
    Apr 28, 2007
    Messages:
    39
    Likes Received:
    0
    Did you catch that part about:

    .Package psa-spamassassin needs perl(Mail::SpamAssassin::NoMailAudit), this is not available.
     
  14. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Yeah, very well documented on my site numerous times :p
     
  15. hanes

    hanes Guest

    0
     
    latest version of clamav

    Hi,

    I installed the qmail-scanner on RH9 , works perfectly.

    Thanks for that.

    The clamav version is not the latest, would it be possible to upgrade this myself or will this break things ?

    WARNING: Your ClamAV installation is OUTDATED - please update immediately!

    Regards,

    Hannes
     
  16. KudosDesigns

    KudosDesigns Guest

    0
     
    qmail-scanner, spamassassin and clamav options

    Hi,

    I've just installed clamav and spamassassin and qmail-scanner from ART. They all work fine, and i believe they are filtering out viruses on my system now.

    Does anyone know where the virus notifications go or if they are generated at all? By testing with the eicar test signiature, the virii are deleted, but i get no notification of their deletion? I also haven't had a spam report either?

    Is there any way of turning on some reporting for it?

    Is it all contained in qmail-scanner-queue.pl?

    Thanks,

    Nick
     
  17. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    By default (and popular demand!) I have notifications turned off in qmail-scanner, your options there are sender, recipient, and admin. Check out the notify array in qmail-scanner-queue.pl

    Virii are quarantined by default to /var/spool/qmailscan/quarantine/

    Logs of quarantined virii are in /var/spool/qmailscan/quarantine.log, and you can generate reports with qss (posted to these forums, many times). They look like this:

    http://www.atomicrocketturtle.com/qss/
     
Loading...