SOGo - How to force external login with email account?

Solved by @Nas; Thank you Nas!

Mini How-To:

  1. mkdir -p /etc/e-smith/templates-custom/sogo-config/

  2. cp -p /etc/e-smith/templates/sogo-config/05general_preferences /etc/e-smith/templates-custom/sogo-config/05general_preferences

  3. cp -p /etc/e-smith/templates/sogo-config/20user_source_ldap /etc/e-smith/templates-custom/sogo-config/20user_source_ldap

  4. Edit
    /etc/e-smith/templates-custom/sogo-config/05general_preferences
    and add this line (please see the attached pictures):

$S{SOGoForceExternalLoginWithEmail} = ‘YES’;

  1. Edit
    /etc/e-smith/templates-custom/sogo-config/20user_source_ldap
    and make the settings according to the attached pictures.

  2. signal-event nethserver-sogo-update
    (or restart the server).

1 Like