From owner-freebsd-questions@FreeBSD.ORG Sat Jan 14 17:29:29 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 F198116A41F for ; Sat, 14 Jan 2006 17:29:29 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: from smtp2.versatel.nl (smtp2.versatel.nl [62.58.50.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C28C43D5C for ; Sat, 14 Jan 2006 17:29:28 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail 5663 invoked by uid 0); 14 Jan 2006 17:29:24 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (HELO [192.168.2.5]) ([62.59.173.176]) (envelope-sender ) by smtp2.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 14 Jan 2006 17:29:24 -0000 Message-ID: <43C93519.1040309@gmx.net> Date: Sat, 14 Jan 2006 18:30:01 +0100 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060105) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: 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: Sat, 14 Jan 2006 17:29:30 -0000 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 ? 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 Thanks in advance, -- -Frank Staals