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