From owner-freebsd-questions@FreeBSD.ORG Wed Aug 9 05:44:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8919816A4DF for ; Wed, 9 Aug 2006 05:44:44 +0000 (UTC) (envelope-from chris.m@ebit.com.au) Received: from mailhub.linkpro.com.au (phoebe.linkpro.com.au [203.34.3.3]) by mx1.FreeBSD.org (Postfix) with SMTP id AD92843D4C for ; Wed, 9 Aug 2006 05:44:43 +0000 (GMT) (envelope-from chris.m@ebit.com.au) Received: (qmail 23199 invoked by uid 1002); 9 Aug 2006 05:44:34 -0000 Received: from chris.m@ebit.com.au by phoebe by uid 64011 with qmail-scanner-1.20rc3 (uvscan: v4.2.40/v4294. spamassassin: 2.55. Clear:RC:1:. Processed in 0.786826 secs); 09 Aug 2006 05:44:34 -0000 Received: from unknown (HELO ebit43010167) (10.3.2.137) by phoebe.linkpro.com.au with SMTP; 9 Aug 2006 05:44:33 -0000 From: "Christopher Martin" To: Date: Wed, 9 Aug 2006 15:44:38 +1000 Message-ID: <000201c6bb76$e8056300$8902030a@ebit.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Subject: Filtering mail based on header contents X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: chris.m@ebit.com.au List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 05:44:44 -0000 I have a mail system on which I have recently implemented spamassassin with Pyzor, DCC and Razor. I am really happy with the tagging accuracy and am ready to start filtering mail. I know spamassassin can be configured to drop all mail with a score over a certain amount, but I am concerned about dropping false positives. I would really prefer to either drop it in a folder for each user, or just send them all to a mailbox. The system we use has two tiers: mail enters the filtering server running sendmail, spamassassin Pyzor and DCC, which then sends to a qmail/courier-imap server. I would prefer to have the actual mailbox server drop the mail into a spam folder in each user's mailbox, but I realise that this could be a bit ambitious. Also, not all of the users use IMAP (about half use POP) so differentiating between IMAP and POP users is important. Does anyone have any suggestions? Failing that, is there an easy way to filter based on header content (Spamassassin score) in Sendmail on the filtering machine, or would I have to implement procmail or some such to redirect all spam to one mailbox? Chris Martin IT Support e.Bit Level 2, 499 Kent Street Sydney, NSW, 2000 Phone: 02 9279 2577 Fax: 02 9299 5528