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: j...@marche.be
gosaMailForwardingAddress: j...@citoyen.marche.be
gosaMailAlternateAddress: t...@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

Reply via email to