Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 47853

Re: Mail aliases with LDAP backend problem

$
0
0

sorry for spamming,

but i found my fault

server_host     = 10.0.1.10
server_port     = 389
version         = 3
bind            = yes
start_tls       = no
bind_dn         = vmail
bind_pw         = psssst-secret
search_base     = ou=Users,ou=Team,dc=server,dc=local
scope           = sub
query_filter    = (&(objectClass=person)(mail=%s))
result_attribute= proxyAddresses
debuglevel      = 0

changed (forgot to change after copy the sample config from iredmail)

query_filter    = (&(objectClass=group)(proxyAddresses=%s))
result_attribute= mailForwardingAddress

Try to test it with:

postmap -q klaus.name@domain.com ldap:/etc/postfix/ad_virtual_alias_maps.cf

and it shows:

testb@domain.com, testa@domain.com

!

so now i need help to integrate this to postfix, no glue here.


Viewing all articles
Browse latest Browse all 47853

Trending Articles