this issue is more a postfix + openldap problem than a sogo issue .
to do that you have to make 2 things :
1 ) add a mail alias attribute in your LDAP (generaly alias) with all your aliases for an account :
ex :
dn: cn=Isabelle dupont,dc=example,dc=com
mail: [email protected]
sn: dupont
cn: Isabelle dupont
givenName: Isabelle
uid: isabelle.dupont
alias: [email protected]
alias: [email protected]
alias: [email protected]
userPassword:: e1NTSEF9NzJVcmwrbVc4NER3amQvM3BhQ2h0RzlnWlU3dFRqd0g=
objectClass: top
objectClass: inetOrgPerson
2) In postfix you have to create a virtual table to search for aliases
example of virtual ldap table (ldapvirtual.cf):
server_host = ldap://127.0.0.1:389
search_base = dc=example,dc=com
query_filter = (|(alias=%s)(mail=%s))
result_attribute = mail
result_filter = %s
search_time out = 15
scope = sub
and in your postfix main.cf somewhere you have to tell postfix to use this file above :
virtual_alias_maps=.........,ldap:/etc/postfix/ldapvirtual.fr
for more information read www.postfix.org there are some howto who explain how to :)
The LDAP entry for a user should look like that .
....
Le Dimanche 23 Juin 2013 00:49 CEST, Jan Schmidt <[email protected]> a écrit:
Hi everybody,
i'm new to SOGo and I really like the features. I'm testing it at the
moment and I'm wondering wether it's possible to automatically add
mutliple E-Mail-Adresses to one useraccount using a LDAP-Database. I
tried mutliple "mail"-attributes, but that was not working (some search
told me, you can add aliases like that...). Is there another way or do
the users have to add the ot her accounts manually?
Thanks in advance for answers.
Regards, Jan
--
[email protected]
https://inverse.ca/sogo/lists
--
Directeur
03 83 18 02 70
