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? Thanks, Yan Confidentiality Notice: The information contained in this electronic transmission is confidential and may be legally privileged. It is intended only for the addressee(s) named above. If you are not an intended recipient, be aware that any disclosure, copying, distribution or use of the information contained in this transmission is prohibited and may be unlawful. If you have received this transmission in error, please notify us by telephone (513) 229-5500 or by email (postmaster at MedPlus.com). After replying, please erase it from your computer system.
On 2011-06-21 1:34 PM, Zhou, Yan wrote:> I am using DoveCot 1.0.7<snip>> Any suggestions?Upgrade first... -- Best regards, Charles
On Tue, 21 Jun 2011 13:53:31 -0400 Charles Marcus articulated:> On 2011-06-21 1:34 PM, Zhou, Yan wrote: > > I am using DoveCot 1.0.7 > > <snip> > > > Any suggestions? > > Upgrade first...Both Dovecot and Postfix. Postfix <=2.4 are no longer supported. -- Jerry ? Dovecot.user at seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________
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