4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] .mailfilter file tota...
FromSent OnAttachments
Dean MalandrisAug 26, 2006 9:34 pm 
Tony EarnshawAug 27, 2006 1:30 am 
Michael FordSep 14, 2006 7:20 pm 
Dean MalandrisSep 14, 2006 7:59 pm 
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:Re: [maildropl] .mailfilter file totally ignored?Actions...
From:Michael Ford (mfo@yahoo.com)
Date:Sep 14, 2006 7:20:23 pm
List:net.sourceforge.lists.courier-maildrop

Dean Malandris <dean <at> plexustechnologies.net> writes:

I'm trying to do sorting with maildrop-2.0.1. My system is all virtual and using Postfix+MySQL+Dovecot.

Maildirs are located at /vmail/domains/DOMAIN.TLD/USERNAME.

When I send an email, maildrop totally ignores the .mailfilter file and emails just go straight into .INBOX, which is the default location for users.

I've placed the .mailfilter file in /vmail/domains/DOMAIN.TLD/USERNAME/.mailfilter, and even tried moving it to /vmail/domains/DOMAIN.TLD/USERNAME/new/.mailfilter. I'm calling maildrop from postfix by

/etc/postfix/main.cf: *Code:* virtual_transport = maildrop maildrop_destination_recipient_limit = 1 mailbox_command = /usr/bin/maildrop -d "$USER"

Can anybody tell me why maildrop's not looking at the file?

I believe you need to find your maildroprc file (usually located in /etc) and then set it to include the individual .mailfilter files of each user. Here's my sample code for reference:

{ exception { include "$HOME/$DEFAULT/../.mailfilter" } }

I'm far from an expert but this worked for me.

Mike