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:Tony Earnshaw (teri@barlaeus.nl)
Date:Aug 27, 2006 1:30:58 am
List:net.sourceforge.lists.courier-maildrop

su den 27.08.2006 Klokka 14:35 (+1000) skreiv Dean Malandris:

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?

maildrop for virtual users will look for .mailfilter in the folder (directory) you tell it is the virtual user's $HOME directory.

I know nothing about MySQL together with maildrop (we use LDAP), but looking at authmysqlrc for Courier authlib 0.58, this would be MYSQL_HOME_FIELD. The corresponding for LDAP for us is an attribute that equates to the virtual user's Maildir.

--Tonni