Hi,

What does your @scanner_array contain?

Mine would be  my @scanner_array=("avp_scanner","spamassassin"); except that
I'm running just avp_scanner and spamassassin per domain.

Regards,

Rick

----- Original Message -----
From: "AD" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 15, 2002 7:54 PM
Subject: [SAtalk] qmail-scanner-1.12 not calling spamc please help


I've been banging my head for 4 days trying to figure this out and I've
come to the end of my rope :(

I have qmail-1.03 running on RedHat 7.2, perl v5.6.1.

I am running qmail-scanner-queue because suidperl is not implemented.

here are the file permissions:
qmail-scanner-queue.pl -rwxr-xr-x (0755) owner:group --> qmailq:qmail
qmail-scanner-queue -rwsr-xr-x (4755) owner:group --> qmailq:qmail

first line of qmail-scanner-queue.pl is set to #!/usr/bin/perl as per
instructions included in qmail-scanner-queue.c

I know that qmail-scanner-queue/qmail-scanner-queue.pl is working because
if I send any illegal attachments or eicar.com virus, they are blocked.

regular mail comes through fine but no spam checking is performed and no
email is tagged.

I have the following set in qmail-scanner-queue.pl:
my $spamc_binary='/usr/bin/spamc';
my $spamc_options=' -f';
my $spamassassin_binary='/usr/bin/spamassassin';

spamd runs as:
/usr/bin/perl /usr/bin/spamd -F 0 -d -u spamdaemon

contents of supervise "run" script for qmail-smtp:
#---
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`

QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue" export QMAILQUEUE

exec /usr/local/bin/softlimit -m 15000000 \
  /usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb \
  -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
#---

sample log entries from syslog when I send an email to a user on the server:
May 15 13:18:51 mail2 qmail-scanner: Clear: 0.136397 955
[EMAIL PROTECTED] [EMAIL PROTECTED] test_3
<[EMAIL PROTECTED]>
1021486731.2820-0.mail2.autobahn.mb.ca:242

sample log entries from syslog when I manually run spamc (spamd is running
already):
$spamc -c -f < sample-spam.txt
17.0/5.0

May 15 18:44:17 mail2 spamd[761]: connection from localhost.localdomain [
127.0.0.1 ] at port 32774
May 15 18:44:23 mail2 spamd[1225]: identified spam (17.0/5.0) for root:511
in   6 seconds.


I should mention I've tried running spamd as root and calling spamc with -u
root -f with no luck.

Has anybody seen this before?
Any help or pointers in the right direction would be greatly appreciated.


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk



_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to