Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: didierg on June 15, 2011, 12:19:37 PM

Title: How to populate identities with email from LDAP at first login
Post by: didierg on June 15, 2011, 12:19:37 PM
Hi,

identities of new users are updated at login time, but the email is always "[email protected]".
I would like to set it automatically to "@domain.com".

Can anybody tell what to do to achieve this ?

(Note that my version is 0.5.3 and that LDAP is already working well for the address book.)

Best Regards
Didier
Title: How to populate identities with email from LDAP at first login
Post by: JohnDoh on June 16, 2011, 02:18:02 AM
Hi, checkout the plugins, specifically "New user identity"
Title: How to populate identities with email from LDAP at first login
Post by: didierg on June 22, 2011, 11:51:25 AM
Stupid of me !

I was adding the lines
$rcmail_config['new_user_identity_addressbook'] = 'ESRF';
$rcmail_config['new_user_identity_match'] = 'uid';

in the plugin file instead of adding them in main.inc.php

It is working perfectly now !

Best Regards
Didier