NOTE: I've been having some SMTP server problems, so, if this message is repeated, my apologies - Rick ______________
I'm using scanner per domain, to force identified spam to go into specific directories for selected users. This isn't working. The spam is being flagged with the spam header I've coded in settings_per_domain.txt ( **SPST** ), but the mail is going to the users mailbox, and not the specified directory "spammail-rick". So, how can I force mail received by specific users, to be routed into a specified directory. Here are what I think are the details and relevant files/entries. ______________________ I have scanner per domain set in qmail-scanner-queue.pl with: # st: Enable or diasable scanner per domain (1/0) my $settings_pd='1'; _____________ The relevant entries in settings_per_domain.txt are: [EMAIL PROTECTED]:sa,ps'**SPST**'''''''1'spammail-rick ___________ And, in my /var/spool/qmailscan directory I have: drwxrwx--- 5 qscand qscand 4096 Dec 24 11:27 spammail-rick The spammail-rick directory looks like: [EMAIL PROTECTED] qmailscan]# cd spammail-rick/ [EMAIL PROTECTED] spammail-rick]# lr .: total 12 drwxrwx--- 2 qscand qscand 4096 Dec 24 11:27 cur drwxrwx--- 2 qscand qscand 4096 Jan 21 12:01 new drwxrwx--- 2 qscand qscand 4096 Dec 24 11:27 tmp ./cur: total 0 ./new: total 0 ./tmp: total 0 _________________________ A sample log entry for a test spam from qmail-queue.log is: Sat, 21 Jan 2006 19:01:48 PST:703: +++ starting debugging for process 703 (ppid=702) by uid=502 Sat, 21 Jan 2006 19:01:48 PST:703: w_c: elapsed time from start 0.011198 secs Sat, 21 Jan 2006 19:01:48 PST:703: return-path='[EMAIL PROTECTED]', recips='[EMAIL PROTECTED]' Sat, 21 Jan 2006 19:01:48 PST:703: from='Rick <[EMAIL PROTECTED]>', subj='GTUBE test msg', via SMTP from 68.142.200.112 Sat, 21 Jan 2006 19:01:48 PST:703: s_p_d: rcpt match '[EMAIL PROTECTED]', scanners 'spamassassin,perlscan_scanner' Sat, 21 Jan 2006 19:01:51 PST:703: SA: yup, this smells like SPAM - hits=1000.0/5.0/5.0 - tagging message... Sat, 21 Jan 2006 19:01:51 PST:703: SA: finished scan in 2.312566 secs - hits=1000.0/5.0 Sat, 21 Jan 2006 19:01:51 PST:703: p_s: finished scan in 0.118545 secs Sat, 21 Jan 2006 19:01:51 PST:703: ini_sc: finished scan of "/var/spool/qmailscan/tmp/home.xxxxxx.com1137898908726703"... Sat, 21 Jan 2006 19:01:51 PST:703: ------ Process 703 finished. Total of 2.568739 secs ______________________ And the result of qmail-scanner-queue.pl -d is: [EMAIL PROTECTED] qmailscan]# /var/qmail/bin/qmail-scanner-queue.pl -d Reading from /var/spool/qmailscan/settings_per_domain.db [EMAIL PROTECTED] : spamassassin,perlscan_scanner'**SPST**'0'0'0'0''0'1'spammail-rick . . . d_w: total of 4 entries found _________________________ Thanks, Rick ------------------------------------------------------- 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&kid3432&bid#0486&dat1642 _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general