7 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Maildrop and LDAP aut...
FromSent OnAttachments
Davide FerrariFeb 28, 2007 5:15 am 
Christian AffolterFeb 28, 2007 5:41 am 
Davide FerrariFeb 28, 2007 6:30 am 
Christian AffolterFeb 28, 2007 7:34 am 
Davide FerrariFeb 28, 2007 7:47 am 
Christian AffolterFeb 28, 2007 8:12 am 
Davide FerrariFeb 28, 2007 9:03 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Maildrop and LDAP authenticationActions...
From:Davide Ferrari (davi@atrapalo.com)
Date:Feb 28, 2007 7:47:14 am
List:net.sourceforge.lists.courier-maildrop

El Wednesday 28 February 2007 16:34:37 Christian Affolter escribió:

Why don't you use the postfix 'virtual_alias_maps' LDAP lookup map for your 'mailAddressAlias' entries? That way postfix will perform a second lookup for the final mailbox ('virtual_mailbox_maps') which is always an 'mail' attribute in your case. Afterwards courier-authlib needs only to perform 'mail' attribute lookups, as specified above.

Sorry, I didn't mention that I use virtual_alias_maps in main.cf to forward mails. virtual_alias_maps = ldap:aliases,hash:/etc/mail/virtual

aliases_search_base = ou=Users,dc=domain,dc=com aliases_query_filter = (&(objectClass=user)(mail=%s)(accountStatus=active)) aliases_result_attribute = mailForwardingAddress aliases_scope = sub aliases_cache = yes aliases_bind = no aliases_version = 3

It's the opposite use case. With "mailAddressAlias" (that's a wrong name, I know, I should have used mailAlternateAddress) I want, for example, "intercept" mails directed to people no more working here, while with mailForwardinAddress I get the list of mail addresses where I have to forward an incoming mail (usually external addresses).