Problem with sqwebmail + qmail-scanner

2000-10-27 Thread davi


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?



Re: Problem with sqwebmail + qmail-scanner

2000-10-27 Thread Andy Bradford

Thus said [EMAIL PROTECTED] on Fri, 27 Oct 2000 23:26:33 GMT:

 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.

I don't see how you could do this with sqwebmail unless you are 
forwarding on messages that someone sent you.  I am not aware of any 
email *virus* for sqwebmail and you most certainly won't be sending one 
out with it when you simply hit "Create message"  As far as I know, it 
is not susceptible to the strain of kiddie *virus* that most 
Microsludge mailers are. :-)

Andy
-- 
[---[system uptime]]
  7:11pm  up 20 days, 22:38,  4 users,  load average: 1.33, 1.22, 1.21





Re: Problem with sqwebmail + qmail-scanner

2000-10-27 Thread Einar Bordewich


[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