From owner-freebsd-questions@FreeBSD.ORG Sun Jan 15 10:14:59 2006 Return-Path: X-Original-To: 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 DC7D416A41F for ; Sun, 15 Jan 2006 10:14:59 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: from lmail.bathnetworks.co.uk (mail.bathnetworks.com [84.92.24.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id E452843D45 for ; Sun, 15 Jan 2006 10:14:58 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: (qmail 17423 invoked by uid 510); 15 Jan 2006 10:18:39 +0000 Received: from 84.92.24.252 by lmail.bathnetworks.co.uk (envelope-from , uid 508) with qmail-scanner-1.24-st-qms (clamdscan: 0.87/1146. spamassassin: 3.0.2. perlscan: 1.24-st-qms. Clear:RC:0(84.92.24.252):SA:0(-3.8/5.0):. Processed in 2.377555 secs); 15 Jan 2006 10:18:39 -0000 X-Spam-Status: No, hits=-3.8 required=5.0 X-Antivirus-MYDOMAIN-Mail-From: bsd@bathnetworks.com via lmail.bathnetworks.co.uk X-Antivirus-MYDOMAIN: 1.24-st-qms (Clear:RC:0(84.92.24.252):SA:0(-3.8/5.0):. Processed in 2.377555 secs Process 17416) Received: from mail.bathnetworks.com (HELO ?84.92.24.252?) (bsd@bathnetworks.com@84.92.24.252) by lmail.bathnetworks.co.uk with SMTP; 15 Jan 2006 10:18:37 +0000 From: Robert Slade To: Micah In-Reply-To: <43C9D51D.5080503@ywave.com> References: <43C93519.1040309@gmx.net> <43C9D51D.5080503@ywave.com> Content-Type: text/plain Message-Id: <1137320316.16098.21.camel@lmail.bathnetworks.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sun, 15 Jan 2006 10:18:36 +0000 Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, Frank Staals Subject: Re: Mail filtering at server 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: Sun, 15 Jan 2006 10:15:00 -0000 On Sun, 2006-01-15 at 04:52, Micah wrote: > Frank Staals wrote: > > Hey, > > > > I'm running FreeBSD 5-stable and I'm using the system as mailserver, so > > I set up sendmail using this guide: > > http://www.puresimplicity.net/~hemi/freebsd/sendmail.html as imap server > > I'm using imap-uw. Now I would like to do the following: > > > > 1) I would like to get all mail from questions@freebsd.org in a seperate > > directory. Currently I do this by filtering my mail in the mailclient ( > > Thunderbird ). The directory it uses for this is currently > > ~/mail/Questions/ so I would like to keep that, how can I do this ? Can > > I add this to /etc/mail/access ? what would then be the syntax ? > > I actually switched from IMAP-UW (ironic because I'm a UW student) to > Cyrus-IMAP to manage my personal email. Cyrus has a built in filtering > language called Sieve which works really well for moving my list and RSS > feeds into proper IMAP folders. > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html > seems to suggest procmail can do this too. > > > 2) I would also like to filter my mail for spam, again: currently I set > > up thunderbird to do this: the mail marked as spam/junk dissapears into > > the junk folder: ( ~/mail/junk ) What is the best way to set this up ? > > can this be done by sendmail itself or should I install an other program > > from the portstree > > I actually haven't tackled this one yet. Try looking through > http://www.freebsd.org/ports/index.html with a keyword of spam. > > HTH, > Micah Try spamassassin. Rob