2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Maildrop Filter Reference
FromSent OnAttachments
Esben StienJul 1, 2009 2:27 am 
Sam VarshavchikJul 1, 2009 4:13 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Maildrop Filter ReferenceActions...
From:Esben Stien (b0@esben-stien.name)
Date:Jul 1, 2009 2:27:20 am
List:net.sourceforge.lists.courier-maildrop

Trying to setup postfix with virtual users, along with maildrop and courier.

I've largely followed the tutorials:

http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu9.04 http://www.howtoforge.com/postfix_mailfilter

It's up an running; ie, I get mail through IMAP.

The problem is that maildrop filter settings does not have any effect.

Reading the manual, but can't really figure out how to reference my filter or how to really make sure my filter rules are read.

In /etc/postfix/master.cf, I have:

maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/maildrop/bin/maildrop -d
${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop} ${sender}

My filter rule for my email address is stored in:

-rw------- 1 vmail vmail 323 2009-06-29 18:28
/home/vmail/.mailfilters/b0@esben-stien.name

In the manual, it says not to include periods in the name of this filter file, but according to the tutorial, this is allowed.

Anyway, this file seems to have no effect. I've also tried putting these rules directly in my /etc/maildroprc file, which strangely enough, didn't work either.

To my understanding, maildrop should traverse this /home/vmail/.mailfilters directory and grab whatever rule is there and use it.

Is there any way of knowing if this is really happening?.

I'm also not really sure how this is supposed to work, because in some examples of /etc/maildroprc files I've seen, each directory is created scriptwise.

My main goal for using maildrop is to sort emails from different mailing lists into groups, but do I need to script creating a directory for every mailing list in addition to defining the rule?.