[EMAIL PROTECTED] writes:
>
> I have noticed that it is possible to send infected messages
> with sqwebmail running qmail-scanner.
> I guess sqwebmail put messages directly in the queue, so it
> no qmail-smptd is called and no antivirus is used.
>
> The only solution I could find is reverting to Amavis.
> Amavis is bit harder to setup and maintain, and I always
> prefered qmail-scanner, even being a lot slower and more resource
> consuming. Now Amavis is the only option.
>
> Some ideia?
Sqwebmail uses a script called sendit.sh, that calls qmail-inject for
sending the mail. If you have applied the QMAILQUEUE patch, than you have
to tell qmail-inject to use that.
In the sendit.sh:
Apply export QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" before
qmail-inject.
Or you could also do as I've done, applied the QMAILQUEUE variable in the
httpd.conf file.
SetEnv QMAILQUEUE /var/qmail/bin/qmail-scanner-queue.pl
regards,
eibo