On Tue, Aug 09, 2005 at 09:29:07AM +0200, 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
Is this recipe in /etc/procmailrc or in each user's .procmailrc? If the former, I don't know what the problem is. If the latter, at that point procmail assumes the UID of the user. So the first user's email that creates /var/spool/mail/spam owns it and no one else can write to it. You may need to make it world-writable. You can review that stuff if you want to, but if I went for a month without finding anything salvageable, I'd change things to summarily punt anything that scores that high. I punt anything above 9.0. Cheers, -- Bob McClure, Jr. Bobcat Open Systems, Inc. [EMAIL PROTECTED] http://www.bobcatos.com God doesn't have (or need) a Plan B.