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

Alessandro De Zorzi <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.