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