[Mimedefang] Connecting Clamd via inet socket?

Dianne Skoll dfs at roaringpenguin.com
Fri Dec 2 13:29:33 EST 2016


On Fri, 02 Dec 2016 13:22:09 -0500
"Bill Cole" <mdlist-20140424 at billmail.scconsult.com> wrote:

> socat UNIX-LISTEN:/var/run/fakeclamd.sock,mode=777,fork TCP:<clamdhost>:<clamdport>

That won't work because the MIMEDefang code uses SCAN, which gets passed
a local filename.

Better just to modify the Perl wrappers to use IO::Socket::INET and use
the stream-scanning clamd protocol.

Regards,

Dianne.


More information about the MIMEDefang mailing list