What's spamd log say? Is spamc suid? Also try removing the -c and -u options
as a test from qmail-scanner.pl

-----Original Message-----
From: Vee Persaud [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 26, 2003 1:19 PM
To: [EMAIL PROTECTED]
Subject: [Qmail-scanner-general]RE: Qmail-scanner not running SPAMC


tcp.smtp looks like this :

127.0.0.1:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queu
e.pl"
192.168.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue
.pl"
142.226.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue
.pl"
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"


-----Original Message-----
From: Vee Persaud 
Sent: Wednesday, November 26, 2003 12:49 PM
To: [EMAIL PROTECTED]
Subject: [Qmail-scanner-general]Qmail-scanner not running SPAMC


Hi,

I just installed Spamassassin on a Solaris 7 box.  I use Qmail and I'm using
Qmail scanner.  My problem is that I cannot seem to get SPAMC to run for my
mail.  If I run the test that was supplied with qmail-scanner, it works
(this uses qmail-inject).  When I send the same email from anywhere, it runs
thru Spamassassin, but it never runs SPAMC.  I have SPAMD running as a
daemon.


My qmail-scanner options are:

# ./configure --spooldir /var/log/qmailscan --qmaildir /var/qmail --bindir
/var/qmail/bin --qmail-queue-bina
ry /var/qmail/bin/qmail-queue  --admin vee --domain rocco.pwgsc.gc.ca
--notify admin,recips --local-domains
rocco.pwgsc.gc.ca --silent-viruses auto --lang en_GB --debug 1 --unzip 0
--add-dscr-hdrs 0 --archive 0 --red
undant no --log-details 0 --log-crypto 0 --fix-mime 1  --scanners
"fast_spamassassin" --install 1


My local.cf (for Spamassassin) is:

required_hits 5.0
rewrite_subject 1
subject_tag ********This could be SPAM*********
add_header spam Flag _YESNOCAPS_
dns_available no
timelog_path /var/log/spamassassin

Logs: (This one works OK)

Wed, 26 Nov 2003 11:45:21 %z:17170: scanloop: starting scan of directory
"/var/log/qmailscan/tmp/rocco106986
512146117170"...
Wed, 26 Nov 2003 11:45:21 %z:17170: scanloop:
scanner=spamassassin,plain_text_msg=0
Wed, 26 Nov 2003 11:45:21 %z:17170: SA: run /opt/bin/spamc  -c -f -u
"[EMAIL PROTECTED]" <
/var/log/qmailscan/working/new/rocco106986512146117170
Wed, 26 Nov 2003 11:45:21 %z:17170: SA: yup, this smells like SPAM
Wed, 26 Nov 2003 11:45:21 %z:17170: spamassassin: finished scan of dir
"/var/log/qmailscan/tmp/rocco10698651
2146117170" in 0.690038 secs
Wed, 26 Nov 2003 11:45:21 %z:17170: scanloop: finished scan of
"/var/log/qmailscan/tmp/rocco1069865121461171
70"...


Logs: (This one doesn't work)

ed, 26 Nov 2003 11:45:30 %z:17735: scanloop: starting scan of directory
"/var/log/qmailscan/tmp/rocco106986
513046117735"...
Wed, 26 Nov 2003 11:45:30 %z:17735: scanloop:
scanner=spamassassin,plain_text_msg=1
Wed, 26 Nov 2003 11:45:30 %z:17735: scanloop: finished scan of
"/var/log/qmailscan/tmp/rocco106986513046117735"...
Wed, 26 Nov 2003 11:45:30 %z:17735: p_s: starting scan of directory
"/var/log/qmailscan/tmp/rocco10698651304
6117735"...




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to