-----Original Message----- From: John Andersen [mailto:[EMAIL PROTECTED] Sent: 09 August 2005 09:52 To: spamassassin-users@incubator.apache.org Subject: Re: Not delivering Spam with Procmail
On Monday 08 August 2005 11:29 pm, Joe Borg wrote: > Hi, > I've setup procmail so as to not deliver mails with a Spam score of 10 or > greater, as follows: > > #Mail that scores 10 or more is not delivered to users. > > :0 > > * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\* > /var/spool/mail/spam > > As may be observed from the above, mails with a Spam score of 10 or greater > should be delivered to a special mailbox /var/spool/mail/spam. So far, > however, only one spam mail has been delivered to this mailbox. Moreover, > spam that should have ended up in this mailbox (such as one with the header > below) is instead still being delivered to the user mailboxes. > > X-Spam-Level: **************** > X-Spam-Status: Yes, score=16.2 required=5.0 > > I find this behaviour very odd. Does anyone know what I should do to get > this to work properly? > Thanks, > > Joe Its easier not to try to count asterisks... ------------Sample procmailrc portion :0 * ^X-Spam-Status:.*score=[1-9][0-9] { :0 /dev/null } -------------end sample You may want to send them to other than /dev/null but for my home machine anything that scores 10 or more is something I don't want to see. -- _____________________________________ John Andersen Thanks for the info John. With your suggestions and, after some meddling with the mailbox permission (procmail didn't have enough permissions to write), it seems to be working now. Thanks again. joe