I suggest checking the following:

1) Check that spamd is running and working correctly from you qmail scanner
user (maybe it's a permission thing) 

spamc -U /var/spool/spamd/spamd < /etc/hosts 

(or some mail file, like sample-nonspam.txt which comes with SA)

2) Turn ON the debug for QS, Edit the .pl file and put debug=1 instead of
debug=0. After that look in the log file which will be created in the
quarantine directory. There should be error messages there. 

3) Turn ON the debug for spamd (kill it and run with -D).
It will put a verbose log in /var/log/maillog . Check the messages (if it
actually gets called)

P.S.
Don't forget to turn OFf the debug after solving the problem, it slows down
the processing and might fill up your FS.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Szabo Nandor
Sent: Wednesday, January 25, 2006 12:33
To: qmail-scanner-general@lists.sourceforge.net
Subject: [Qmail-scanner-general]qmail-scanner-st dosn't work with spamd

Helo! 

I'm contentedly using qmail-scanner-1.25st patch on several system.
Except one: 

The configuraton successfully find the spamd socket, but the scanner dosn't 
call the spamassassin daemon. 

Output of qmail-queue.log:
"SA: finished scan in 0.006074 secs - hits=?/?" 

 

Output of qmail-scanner.125st install script: 

 -------------------------------------
st: configuration options for  1.25st
 -------------------------------------
admin-fromname='Antivirus'
minidebug=1
settings-per-domain=0
dscr-hdrs-text='X-Qmail-Scanner' 

sa-socket =/var/spool/spamd/spamd
sa-forward="[EMAIL PROTECTED]"  (Is it a valid address?)
sa-fwd-verbose=1  (X-Spam headers will be added in the forwarded mail)
sa-subject="SPAM *** " 

sa-delta  =0.5
sa-alt    =1
sa-debug  =1    (only valid if sa-alt is enabled)
sa-report =1    (only valid if sa-alt and sa-debug are enabled) 

Spamassasin Required_Hits=5.0
sa-quarantine=2.1       (messages over 7.1 hits will be quarantined)
sa-delete    =4.2       (messages over 9.2 hits will be rejected)
sa-reject    =1
 ------------------------------------------------------------------------- 


Any idea? 

Thanks: Nandor 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to