Hi guys,

Because of some troubles we chose to disable ipv6 protocol on a client's server.
Everything now runs fine, but we get some connection errors from Amavis. Seems as it still tries to connect to clamd through ipv6 - even though clamd is confirmed (netstat -tan) listening in ip4-mode only.

How can we force Amavis to connect through ipv4? FYI they are running ZCS NE 6.0.1..


log:

Oct 20 21:34:17 zimbra amavis[39647]: (39647-01) ClamAV-clamd: Can't connect to INET6 socket 127.0.0.1:3310: Address family not supported by protocol family, retrying (1)
Oct 20 21:34:17 zimbra postfix/smtpd[49533]: disconnect from unknown[189.100.224.80]
Oct 20 21:34:18 zimbra amavis[39647]: (39647-01) (!)ClamAV-clamd: Can't connect to INET6 socket 127.0.0.1:3310: Address family not supported by protocol family, retrying (2)
Oct 20 21:34:24 zimbra amavis[39647]: (39647-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to 127.0.0.1:3310 (Can't connect to INET6 socket 127.0.0.1:3310: Address family not supported by protocol family) at (eval 43) line 373.\n
Oct 20 21:34:24 zimbra amavis[39647]: (39647-01) (!!)WARN: all primary virus scanners failed, considering backups