From owner-freebsd-questions@FreeBSD.ORG Mon Apr 26 11:11:57 2004 Return-Path: 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 799BC16A4CE for ; Mon, 26 Apr 2004 11:11:57 -0700 (PDT) Received: from clanbuckbuck.org (c-67-160-113-101.client.comcast.net [67.160.113.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9ABB43D31 for ; Mon, 26 Apr 2004 11:11:56 -0700 (PDT) (envelope-from freebsd@fbsdsolutions.com) Received: from RYALLS1 ([131.107.3.85]) (AUTH: LOGIN ryallsd, TLS: TLSv1/SSLv3,128bits,RC4-MD5) by clanbuckbuck.org with esmtp; Mon, 26 Apr 2004 11:11:56 -0700 From: "Derrick Ryalls" To: freebsd-questions@freebsd.org Date: Mon, 26 Apr 2004 11:11:02 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <200404242349.29908.bob89@bobj.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: RE: Courier-MTA/maildrop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 18:11:57 -0000 > On Friday 23 April 2004 03:07 pm, Derrick Ryalls <"Derrick Ryalls"=20 > > wrote: > > Pardon if this is a bit off topic, but here it goes... > > > > I have a couier-mta system that is running nicely on my 4.9=20 > box, and I=20 > > wanted to add some server side mailfilter for some of my=20 > email (like=20 > > put mail from this list into a specific folder automatically). > > > > I enabled maildrop in courierd, but I am unconvinced it is working. > > As a test, I put just this in my $HOME/.mailfilter file: > > > > to "./Maildir/.test" >=20 > It's been a long time since I set it up, so I don't remember=20 > the details=20 > of how I came up with it, but the rule I use for this list is: >=20 > if (/List-ID:.*freebsd-questions/:h) > { > to $HOME/Maildir/.FreeBSD.questions > } >=20 > That's in the ".mailfilter" file in my home directory. >=20 > You also need a file named ".courier" in your home directory with the=20 > following delivery instruction in it: >=20 > | /usr/local/bin/maildrop This is the part that I missed. It is always the little things that = mess us up :) What I was talking about with aliases was that I wanted stuff addressed = to godzilla@mydomain.com to automatically be put in a specific folder on = the server. I already had the aliases set up, I just wanted autofiltering = put in place. Thanks to your help, though, I did get it worked out. I guess my next step will be spamassassin, but that will probably be a = bit down the road.