Re: clamav

2004-08-25 Thread Mark Powell
On Wed, 25 Aug 2004, Hans Sandsdalen wrote: > At 25.08.2004 15:44, John Peacock wrote: > >Hans Sandsdalen wrote: > > > >>Why do I get this error: > >> clamav plugin: clamscan results: > >>/home/smtpd/clamscan-tmp/qpsmtpd.clamav.26519.a1K8V9: Can't access the > >>file ERROR > > > >Does that direct

Re: clamav

2004-08-25 Thread Hans Sandsdalen
At 25.08.2004 15:44, John Peacock wrote: Hans Sandsdalen wrote: Why do I get this error: clamav plugin: clamscan results: /home/smtpd/clamscan-tmp/qpsmtpd.clamav.26519.a1K8V9: Can't access the file ERROR Does that directory exist? Is it writable by the use that qpsmtpd is running as? Yes. I for

Re: SpeedyCGI PID problems (was forkserver/pperl (was Re: starttls

2004-08-25 Thread John Peacock
Mark Powell wrote: So that only leaves a bug/feature of SpeedyCGI as the only possible explanation? The presence or absence of 'use Qpsmtpd::Constants' has no bearing on whether a plugin correctly registers a hook. Throw something like this into the end of Qpsmtpd::Plugin::register_hook(): $plu

Re: SpeedyCGI PID problems (was forkserver/pperl (was Re: starttls

2004-08-25 Thread Mark Powell
On Wed, 25 Aug 2004, John Peacock wrote: > No, they are still processed during compile (you'd have to use an eval > to alter that), but it can, sometimes, affect scope. In any case, the > Qpsmtpd::Constants is useless, since all plugins get that module > automatically. So that only leaves a bug/

Re: clamav

2004-08-25 Thread John Peacock
Hans Sandsdalen wrote: Why do I get this error: clamav plugin: clamscan results: /home/smtpd/clamscan-tmp/qpsmtpd.clamav.26519.a1K8V9: Can't access the file ERROR Does that directory exist? Is it writable by the use that qpsmtpd is running as? John

Re: SpeedyCGI PID problems (was forkserver/pperl (was Re: starttls

2004-08-25 Thread John Peacock
Mark Powell wrote: The only differences I can see with your plugin are you start it with a "#!/usr/bin/perl -Tw" which seems unusual for a plugin? Does that mean it specifically runs under perl? No, that only means that if the plugin were run independently, it would use that Perl. In any module

clamav

2004-08-25 Thread Hans Sandsdalen
Hi I downloaded the current clamav plugin from http://cvs.perl.org/viewcvs/viewcvs.py/cvs-public/qpsmtpd/plugins/virus/clamav?rev=1.2&view=log Why do I get this error: clamav plugin: clamscan results: /home/smtpd/clamscan-tmp/qpsmtpd.clamav.26519.a1K8V9: Can't access the file ERROR -- / hans

Re: Filter attachments

2004-08-25 Thread Hans Sandsdalen
Gavin I guess you are right. I use qpsmtpd on the incomming mailserver, which then sends the mail on to another mailserver with qmail-smtpd with qmail-scanner. The second one reports f.ex. scr-files, which qpsmtpd (or exe_filter) did not find. On Wed, 2004-08-25 at 11:46, Gavin Carr wrote: > On

Re: Filter attachments

2004-08-25 Thread Gavin Carr
On Wed, Aug 25, 2004 at 08:23:31AM +0200, Hans Sandsdalen wrote: > It says "non-multipart mail - skipping" int the log, and executables are > not blocked? Are you sending it as an attachment or directly as the mail body? The current version of exe_filter only scans MIME multipart mails, so the l