From owner-freebsd-questions@FreeBSD.ORG Sun Jan 15 04:52:52 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 0BADD16A420 for ; Sun, 15 Jan 2006 04:52:52 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from relay3.av-mx.com (relay3.av-mx.com [137.118.16.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68C6843D46 for ; Sun, 15 Jan 2006 04:52:51 +0000 (GMT) (envelope-from micahjon@ywave.com) X-Virus-Scan-Time: 0 Received: from [137.118.16.60] (HELO mx2.av-mx.com) by relay3.av-mx.com (CommuniGate Pro SMTP 4.2.10) with SMTP id 144853669 for questions@freebsd.org; Sat, 14 Jan 2006 23:52:50 -0500 Received: (qmail 10028 invoked from network); 15 Jan 2006 04:52:50 -0000 Received: from dsl28215.ywave.com (HELO ?192.168.1.68?) (micahjon@ywave.com@216.227.115.215) by 0 with SMTP; 15 Jan 2006 04:52:50 -0000 X-CLIENT-IP: 216.227.115.215 X-CLIENT-HOST: dsl28215.ywave.com Message-ID: <43C9D51D.5080503@ywave.com> Date: Sat, 14 Jan 2006 20:52:45 -0800 From: Micah User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Frank Staals References: <43C93519.1040309@gmx.net> In-Reply-To: <43C93519.1040309@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org 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 04:52:52 -0000 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 > > Thanks in advance, >