On Thu, 2007-06-28 at 08:17 -0700, Mark Edwards wrote:
Jun 27 18:56:52 mini deliver(mark@antsclimbtree.com): auth input:
mail=markYou're overriding it with "mark".
I see. Well, my aim is to avoid having to prefix my mailbox entries
in my LDAP database with "maildir:", and to avoid having to deal with
the home attribute in LDAP at all if possible. I want to set those
things globally.My dovecot-ldap.conf contains: user_attrs = homeDirectory=home,mailbox=mail
I'm setting mailbox=mail because otherwise dovecot uses postfix's
destination, which is the entire destination email address. Are my
only choices to either use postfix's supplied destination, or to
override that and explicitly set the home directory and mailbox type
in the LDAP database?
Do you mean you want to drop the domain part for all users (use %n and not %u in mail_location), or do you mean you just want to handle some aliases? I think you should be able to handle aliases on Postfix side.