[clamav-users] Specify more servers for clamdscan to pass for scanning
clamav at jubileegroup.co.uk
Mon Nov 5 17:20:08 UTC 2018
On Mon, 5 Nov 2018, Micah Snyder wrote:
On Nov 5, 2018, at 7:48 AM, Brent Clark wrote:
> > How does one specify more than one server for scanning?
> I'd be interested to know if someone has come up with a hack for how
> to have clamdscan fail over to a secondary clamd instance - but I'm
> not aware of a way to do that.
You'd need to modify the existing clamav-milter, which might be quite
an undertaking if you're not familiar with milters, or perhaps write a
separate milter. I've written a milter which could easily be modified
to do this. I call it 'eXtensible-Milter', XM. At present it doesn't
call clamd at all - clamav-milter does that here. Until now I've had
no particular reason to replace clamav-milter although XM has replaced
half a dozen other milters which were giving me assorted troubles, and
now I use only the two.
The idea of the possibility of a 'clamd farm' is intriguing. If you'd
be interested I can think about adding such functionality to XM.
Hmmm. On reflection, 'easily' might have been an overstatement but at
worst in principle it's easy and it's very doable. :)
XM is written in pure Perl, and at the moment it has only ever been
used with Sendmail. It hasn't been published.
More information about the clamav-users