Re: Not moving spam to spam directory
Salvatore Toribio <[email protected]>
| Newsgroups | gmane.mail.qmail.scanner |
|---|---|
| Message-ID | <a0611040bbffeb5a588b0@[193.43.129.200]> |
At 9:04 -0800 26-01-2006, <[email protected]> wrote: >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". > >A sample log entry for a test spam from qmail-queue.log is: >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 >And the result of qmail-scanner-queue.pl -d is: > >[root@home 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 HI Rick Sorry, but you have misunderstood how that feature works, QS-st "quarantines" messages in the directories selected per user or in the default quarantine directory, but messages "tagged" as spam go to the mailbox, so you have to set sa_quarantine if you want to "quarantine" messages. If I understand what you want to do, a proper value for sa_quarantine is 0.01, so each message with a score higher than 5.01 will be "quarantined" in the specific directory of the user, but this is a very low value to quarantine messages in the defaults directory, too many false positives: [email protected]:sa,ps'**SPST**'0.01''''''1'spammail-rick Regards ST