[Dovecot] DoveCot LDA/Postfix deliver by address

Tom Hendrikx tom at whyscream.net
Tue Jun 21 23:56:20 EEST 2011


On 21/06/11 19:34, Zhou, Yan wrote:
> Hi there,
> 
> I am using DoveCot 1.0.7 and virtual users. We want to integrate with
> Postfix 2.3.3 to use DoveCot LDA to deliver messages to user mailbox.
> All users are stored in LDAP. DoveCot looks up user by LDAP access. 
> 
> Our user name is not necessarily part of the address. For instance,
> address "zhouy at xxxx" may be with user "yzhou", thus all messages to
> "zhouy at xxxx" should go to /home/vmail/yzhou/Maildir
> 
> I do not see how LDA can support a two-step lookup:  1. Look up user
> from the given address, 2. Lookup user mail directory from the user in
> step 1.
> 
> My understanding is that /etc/dove-ldap.conf  is a one-step lookup, it
> only does user lookup (without password lookup).
> 
> Any suggestions?
> 

Typically, you would lookup the user in postfix, so you can let postfix
deliver to the user 'yzhou' in stead of the mailaddress 'zhouy at xxxx'.

f.i. a postfix /etc/aliases entry:
zhouy: yzhou

--
Regards,
	Tom


More information about the dovecot mailing list