openwrt-packages/net/clamav/files
W. Michael Petullo 54016ddaf4 clamav: allow configuration to use TCP socket
Something having to do with passing a file descriptor over spamd's
Unix socket causes the ClamAV milter to fail. The milter says "ERROR:
Unknown reply from clamd," and running strace on spamd reveals "No file
descriptor received. ERROR."

Some work by others can be found on the Internet that suggests using
a TCP socket for the communication between the milter and spamd fixes
this. Lucian Cristian confirmed this on OpenWrt.

I am not sure why the Unix socket does not work. I suspect it is something
related to musl, but I have not yet found evidence of this.

This merge request adds the option to configure spamd to use a TCP
socket, and it uses this as the default. The merge request also adds an
init script for clamav-milter.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-01-09 18:29:46 -06:00
..
bytecode.cvd clamav: add package 2015-05-20 17:28:30 +02:00
clamav-milter.config clamav: allow configuration to use TCP socket 2021-01-09 18:29:46 -06:00
clamav-milter.init clamav: allow configuration to use TCP socket 2021-01-09 18:29:46 -06:00
clamav.config clamav: allow configuration to use TCP socket 2021-01-09 18:29:46 -06:00
clamav.init clamav: allow configuration to use TCP socket 2021-01-09 18:29:46 -06:00
freshclam.config clamav: update to 0.99.2 2017-03-06 14:46:24 +02:00
freshclam.init clamav: Shellcheck fixes 2019-11-23 18:55:22 +01:00