From owner-freebsd-questions@FreeBSD.ORG Thu Aug 10 02:15:13 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 DA21916A4DA for ; Thu, 10 Aug 2006 02:15:13 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20A4E43D45 for ; Thu, 10 Aug 2006 02:15:12 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id k7A29Xaf090668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 10 Aug 2006 09:09:33 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.3/8.12.11) id k7A29nCC034666; Thu, 10 Aug 2006 09:09:49 +0700 (ICT) Date: Thu, 10 Aug 2006 09:09:49 +0700 (ICT) Message-Id: <200608100209.k7A29nCC034666@banyan.cs.ait.ac.th> From: Olivier Nicole To: derek@computinginnovations.com In-reply-to: <6.0.0.22.2.20060809094420.025cc018@mail.computinginnovations.com> (message from Derek Ragona on Wed, 09 Aug 2006 09:47:22 -0500) References: <000201c6bb76$e8056300$8902030a@ebit.com.au> <6.0.0.22.2.20060809094420.025cc018@mail.computinginnovations.com> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: chris.m@ebit.com.au, freebsd-questions@freebsd.org Subject: Re: Filtering mail based on header contents X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 02:15:13 -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 NO SA only tag the mail, it never drops anything. Droping email is a bad attitude if you don't send a bounce, and as it it impossible to bounce a spam, then you should not drop spam email. >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? I solved that by putting email tagged as spam into quarantine. Once a day I submit to the users an email summary of their quarantine and they can recover any message by replying. >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? But I do that with procmail, at the delivery level :) http://www.cs.ait.ac.th/laboratory/email/quarantine.shtml Best regards, Olivier