[Dovecot] Use a different usename than the recipient address (that require a lookup)?

Zhou, Yan yzhou at medplus.com
Mon Nov 8 20:42:55 EET 2010

Hi there, 

I am integrating Postfix and DoveCot, both use LDAP to look up
user/email address info. My question is this: can I create a user
"jsmith" to get all emails with the recipient address:
dovecotdemo at domain?  Because of using LDAP, I need to do a lookup to
know that the user "jsmith" is getting emails for "dovecotdemo at domain",
NOT "dovecotdemo" (there will be no such user).

In postfix's master.cf, I can use LDA to deliver to DoveCot, which needs
to know the user name where the message should be delivered to. But I
would not know that at the time because I need to do a lookup in LDAP.
Does the DoveCot delivery agent have any way to allow me return a
different user name after LDAP lookup?

I would not want to modify a couple of files to accomplish that, because
I would have to do that for every email address created.


NOTICE: This email message is for the sole use of the intended recipient(s) 
 and may contain confidential and privileged information. Any unauthorized 
 review, use, disclosure or distribution is prohibited. If you are not the 
 intended recipient, please contact the sender by reply email and destroy all 
 copies of the original message. 

This message has been content scanned by the Axway MailGate. 
MailGate uses policy enforcement to scan for known viruses, spam, undesirable content and malicious code. For more information on Axway products please visit www.axway.com.

More information about the dovecot mailing list