Solved - Re: Error reading from socket using IKARUS scan.server

Alessandro De Zorzi lota at nonlontano.it
Mon May 23 09:15:20 CEST 2022


finally, we solved it with a workaround: switching to using ikarus AV 
via socket,

because starting with version 1.7.0, IKARUS scan.server supports a 
ClamAV compatible TCP socket that mimics clamd (default TCP port: 3310)

in scanserver.json decomment:

"clam_port": 3310,
"clam_iface": 127.0.0.1,

restart ikarus service, then in Amavis use these lines:

['IKARUS-Clamav',
    \&ask_daemon, ["CONTSCAN {}/../email.txt\n", "127.0.0.1:3310"],
    qr/\bOK$/m, qr/\bFOUND$/m,
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],

Seems works fine

why via api stopped working remains unknown for me ;-)

Alessandro - Lota
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20220523/2fcb5cd2/attachment.htm>


More information about the amavis-users mailing list