[Dovecot] lda and mail_location

Timo Sirainen tss at iki.fi
Thu Jun 28 19:04:27 EEST 2007


On Thu, 2007-06-28 at 08:17 -0700, Mark Edwards wrote:
> >> Jun 27 18:56:52 mini deliver(mark at antsclimbtree.com): auth input:  
> >> mail=mark
> >
> > You'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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070628/9ad837ae/attachment.bin 


More information about the dovecot mailing list