CLAMD And EXIM – Anyone Got It Working`

Home » CentOS » CLAMD And EXIM – Anyone Got It Working`
CentOS 2 Comments

Has anyone actually got CLAMD and EXIM working?

I’ve just had a go on a new VPS server without success. The only thing that happened was that my server slowed because clamd was hogging CPU.

I have done a lot of googling and all I found was a couple of howto’s that said the same thing, and my questions from 2015 which is the last time I tried this.

I can get clamd / freshclam etc installed, although from the two howto’s I worked from I had to edit / create service files and edit config files. However, I still do not manage to get a clamd.exim socket created on my system.

2 thoughts on - CLAMD And EXIM – Anyone Got It Working`

  • I have clamd and exim on some of my systems. However, clamd is not called directly from exim.

    I use Mailscaner (https://www.mailscanner.info/) – it works using two exim queues so that one exim receives the mail and places it into a
    “received” queue, Mailscanner does various things to the messages including virus & spam scanning, then places it into the “scanned”
    queue and triggers a delivery.

    P.

  • we are running exim with clamd on CentOS 7.6.

    Installation from repo epel (exim and clamd).

    The access rights will not be OK out of the box.

    The connection between exim and clamd is configred in the exim.conf:
    av_scanner = clamd:/run/clamd.scan/clamd.sock

    Depending on our security policy I would recommend to use differend users for
    – clamd database : owner = clamupdate: to be configured in freshclam.conf
    – scan activities: owner clamscan: to be configured in clamd.conf

    each update, each reboot destroy the access rights to the socket and the database.

    Viele Grüße Helmut Drodofsky

    Internet XS Service GmbH
    Heßbrühlstraße 15
    70565 Stuttgart

    Geschäftsführung Helmut Drodofsky HRB 21091 Stuttgart USt.ID: DE190582774
    Fon: 0711 781941 0
    Fax: 0711 781941 79
    Mail: info@internet-xs.de http://www.internet-xs.de Viele Grüße Helmut Drodofsky

    Internet XS Service GmbH
    Heßbrühlstraße 15
    70565 Stuttgart

    Geschäftsführung Helmut Drodofsky HRB 21091 Stuttgart USt.ID: DE190582774
    Fon: 0711 781941 0
    Fax: 0711 781941 79
    Mail: info@internet-xs.de http://www.internet-xs.de Am 29.11.2019 um 10:56 schrieb Gary Stainburn: