Derrick Ryalls freebsd at
Mon Apr 26 11:11:57 PDT 2004

> On Friday 23 April 2004 03:07 pm, Derrick Ryalls <"Derrick Ryalls" 
> <freebsd at>> 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 
> box, and I 
> > wanted to add some server side mailfilter for some of my 
> email (like 
> > 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"
> It's been a long time since I set it up, so I don't remember 
> the details 
> of how I came up with it, but the rule I use for this list is:
> if (/List-ID:.*freebsd-questions/:h)
> {
>   to $HOME/Maildir/.FreeBSD.questions
> }
> That's in the ".mailfilter" file in my home directory.
> You also need a file named ".courier" in your home directory with the 
> following delivery instruction in it:
> | /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 at 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.

More information about the freebsd-questions mailing list