Mismatch search user in ldap
Jean-François Sénéchal
jean-francois.senechal at ac.marche.be
Wed Apr 1 15:45:12 UTC 2015
Hi
I do not understand the right configuration
I had a loop worries the users received the same message multiple times
and testing other users config was not found
so what is the right config to the following scheme
My ldap scheme :
mail: jf at marche.be
gosaMailForwardingAddress: jf at citoyen.marche.be
gosaMailAlternateAddress: toto at marche.be
dovecot-ldap.conf.ext
user_filter = (&(objectClass=posixAccount)(uid=%n))
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_recipients.cf
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_recipients.cf
ldap_virtual_recipients.cf :
server_host = localhost
search_base = ou=Users,ou=Citoyens,dc=marche,dc=be
scope = sub
bind = no
version = 3
query_filter =
(&(|(mail=%s)(gosaMailAlternateAddress=%s)(gosaMailForwardingAddress=%s)(uid=%s))(objectClass=gosaMailAccount))
result_attribute = uid
is it correct ?
thanks
More information about the dovecot
mailing list