NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 20 forks source link

Roundcubemail: add LDAP addressbook #6914

Closed stephdl closed 2 months ago

stephdl commented 2 months ago

When you configure roundcubemail, it is linked to a mail server bound to an LDAP, we could use this LDAP to populate a LDAP address book for roundcubemail

Proposed solution

Create the code to add a LDAP address book to roundcubemail

Alternative solutions

do nothing

See also

https://community.nethserver.org/t/ns8-roundcube-e-mail-address-autocompletion-not-working/23427


thank mrmarkus

stephdl commented 2 months ago

QA

install two account providers (openldap & samba ad) and create users install mail and configure to it create several domains inside mail (foo.org and foo.com) Install ghcr.io/nethserver/roundcubemail:2.0.2-dev.1

  1. configure roundcubemail to use the mail server with foo.org and go the LDAP address book to see user, the mail address must be with user@foo.org. The address autocompletion when you write an email must be workable

  2. configure roundcubemail to use the mail server with foo.com and go the LDAP address book to see user, the mail address must be with user@foo.com. The address autocompletion when you write an email must be workable

  3. change the user domain of the mail server (test the two user-domain, ad and openldap) , once configured the user-panel must have the change propagated, roundcubemail must be listed as an application in the user-domain of the mail server. You will see roundcubemail restarted by the event

mrmarkuz commented 2 months ago
  1. Works!
  2. Works!
  3. Works!

I tested internal Samba, OpenLDAP and external Samba that worked too.

stephdl commented 2 months ago

thanks a lot mate

stephdl commented 2 months ago

released as ghcr.io/nethserver/roundcubemail:2.0.2