My clamav-milter is not load balancing between 2 hosts running clamd.
Startup commando:
/usr/local/sbin/clamav-milter --server=host1.domain.com:host2.domain.com
local:/var/run/clamav/clmilter.sock
Only host1 is used. If I put host2 first, host1 will not be used anymore and
everything will be send to host2.
Failover isn't working, if I stop clamd on host1 I will get errors.
Software:
ClamAV version 0.74
clamav-milter version 0.74a
FreeBSD 4.10
Sendmail 8.12.11
It is possible according to man:
--server=HOSTNAME/ADDRESS, -s HOSTNAME/ADDRESS
IP address or hostname of server(s) running clamd (when
using TCPsocket). More than one server may be specified,
separating the server's names by colons. If more than
one server is specified, clamav-milter will load balance
between the available servers. All the servers must be up
when clamav-milter starts, however afterwards it is fault
tolerant to a server becoming unavailable, and will only
raise an error if all of the servers cannot be reached.
The default value for ADDRESS is 127.0.0.1 (localhost).
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users