avast mailscanner problem

Hi

I installed avast unix.linux edition on my FreeBSD 6.1 server step by step folowing installation guide from avast4mail2.0.1.tar.gz arhive, but mail scanner not working…
I send to my mail file with test virus eicar.com and recieve this file to my inbox…
My mail server is qmail with vpopmail…

hi,
first, try standalone avast! mail filter - insert some mail message to avastfilter’s STDIN
% cat message.eml | avastfilter

avastfilter should output the message including ‘X-Antivirus…’ mail headers. If an error occure, alter /var/log/mail.log and/or /var/log/avast4/avastd.log files to find what is wrong.

I test scanner with % cat message.eml | avastfilter… working
I put in /var/qmail/supervise/qmail-smtpd/run this line:

QMAILQUEUE=“/usr/bin/avastfilter” ; export QMAILQUEUE

But I brake therefore Receive emails…
(I used qmailrock configured at http://freebsd.qmailrocks.org/ and started by tcprules)

With this line QMAILQUEUE=“/usr/bin/avastfilter” ; export QMAILQUEUE i have message in maillog - message is clean, But I then do not receive the notes of my mail box…

I trayning to put :allow,QMAILQUEUE=“/usr/bin/avastfilter” in /etc/tcp.smtp
But I therefore again stopped to receive letters to his mail box

How to configure avast! so that yes it works?

please, edit src/avastfilter.c source file and modify line no.1091
original line is:
if (FD_ISSET(fd1, &wfds))
to:
if (0)

then recompile and reinstall fixed avastfilter binary
this is temporary fix for your qmail

my /etc/tcp.smtp file contains this line:
:allow,QMAILQUEUE=“/usr/bin/avastfilter”