Author Topic: Form firstname.name@..... e-mail address  (Read 2941 times)

Offline Franck

  • Jr. Member
  • **
  • Posts: 26
Form firstname.name@..... e-mail address
« on: April 11, 2014, 02:49:09 AM »
-- Roundcube 0.9.5 --

Good morning,
I use uid ldap parameter for authentication of users and it's works find.
I defined $rcmail_config['auto_create_user'] = true; and it's work find.
When the user is authenticated his e-mail address is formed with uid@mydomain.tld.
I maybe badly looked but I do not find the way to form the address of the type firstname.name@mydomain.tld.

Thank's for your help and best regards.
Franck

Offline Franck

  • Jr. Member
  • **
  • Posts: 26
Re: Form firstname.name@..... e-mail address
« Reply #1 on: April 14, 2014, 03:51:22 AM »
Hello,
my question is maybe not clear...
I would like to force users email at firstname.name@mydomain.tld because this is their real email, this is the value in ldap attribute email.
Pse how can i get the value from ldap or how can i define it in the conf file of roundcube ?

Tnx for help  and best regards
Franck

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Form firstname.name@..... e-mail address
« Reply #2 on: April 14, 2014, 04:26:18 AM »
If I understand your question correctly, you want the virtuser_query, or virtuser_file plugins that come with Roundcube.

Offline Franck

  • Jr. Member
  • **
  • Posts: 26
Re: Form firstname.name@..... e-mail address
« Reply #3 on: April 15, 2014, 06:17:41 AM »
Hi SKaero,
and thank's for your response.
I tested with virtuser_file and it allows to use an other email to log in and bind with an account in the imap server.
Quote
userA.B@domain login
I used "userA.B@domain" as id and the pwdof "login" for authentication and it's work, but in my case i want to do the opposite.

I want to use "login" as id and form the email as "userA.B@domain" instead of the default "login@domain".
Does virtuser_file plugin can do that ?

Tnx for help and best regards,
Franck