26 Nov
2010
26 Nov
'10
8:27 p.m.
On Mon, 2010-11-08 at 13:42 -0500, Zhou, Yan wrote:
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@domain? Because of using LDAP, I need to do a lookup to know that the user "jsmith" is getting emails for "dovecotdemo@domain", NOT "dovecotdemo" (there will be no such user).
If there is e.g. "mail" field that contains "dovecotdemo@domain" value, you could set for example:
user_attrs = uid=user, (other attributes) user_filter = (|(uid=%u)(mail=%u))