Author Topic: $rcmail_config['auto_create_user'] = TRUE; NOT WORKING  (Read 11261 times)

Offline rmc2000

  • Jr. Member
  • **
  • Posts: 40
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« on: April 30, 2008, 09:54:24 AM »
In my main.inc.php i have set:

// automatically create a new RoundCube user when log-in the first time.
// a new user will be created once the IMAP login succeeds.
// set to false if only registered users can use this service
$rcmail_config['auto_create_user'] = TRUE;

and when i login at first time any identitie are created! what i need make to fix it?

Thanks

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #1 on: April 30, 2008, 01:15:50 PM »
Identities are not what that controls.  That controls whether or not a user entry is created in the database.  So if that's set to false, you have to manually insert users into the database in order for them to get into roundcube.

An identity should be created by default; however, it should just basically be your email address, nothing more.
 
  

Offline rmc2000

  • Jr. Member
  • **
  • Posts: 40
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #2 on: April 30, 2008, 01:23:03 PM »
but the problem is that all users are created on database (identities table) but the problem is that it not create complete the identitie, when i click to create a new email the sender field is blank, i need manual enter and add a new identitie!

can you helpme?

sorry for my bad english

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #3 on: May 01, 2008, 12:21:36 AM »
Right, that's the expected result.  RoundCube can never know initially who you are, where you live, what info you want added to your identity.  So you have to manually add it.

There's no way around this.  Prior to emailing, you should populate your identity in your preferences, that way certain info is filled out for you.  I don't know what else to tell you.  RoundCube doesn't know any information about the user logging in, so you have to supply it.  That's just part of the program.  It's just like Thunderbird or Outlook.  Neither of them know your name, or what your reply-to address and signature will be.  So they let you fill it in.  Same thing in RoundCube.  Each user will have to edit their own identities.
 
  

Offline rmc2000

  • Jr. Member
  • **
  • Posts: 40
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #4 on: May 01, 2008, 03:36:20 PM »
but in old version the identities are create automatic.

User not know that need fill all identities informations manually

If he's make login at first time then he fill:

name@email.com
password

with this information roundcube can create a simple identitie right? only to user can send emails at first time that access webmail

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #5 on: May 01, 2008, 04:00:54 PM »
Yes, that's correct.  You should have an empty identity with the exception of the email address.  The email address is the only thing that can be provided for the user.

Do you have an example that I can see?
 
  

Offline rmc2000

  • Jr. Member
  • **
  • Posts: 40
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #6 on: May 01, 2008, 04:29:36 PM »
access please:

[adminedit]Removed webmail info as it's not needed anymore[/adminedit]

See that any identitie are create to this account after that you login

thank you
« Last Edit: May 01, 2008, 04:55:47 PM by bpat1434 »

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #7 on: May 01, 2008, 04:55:18 PM »
Interesting.  I haven't seen this happen; however, I'm running a trunk version.  I'll download 0.1.1 tonight and set it up and see if it's something wrong with the code.  If so, I'll post how to fix it.
 
  

Offline rmc2000

  • Jr. Member
  • **
  • Posts: 40
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #8 on: May 01, 2008, 05:05:21 PM »
man! thank you so much for try helpme ;)

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #9 on: May 01, 2008, 09:02:57 PM »
I just installed 0.1.1 and it works as expected for me.  I get the identity created with just an email address.  Your best bet is to re-upload everything except your config files from a fresh download of 0.1.1.
 
  

Offline rmc2000

  • Jr. Member
  • **
  • Posts: 40
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #10 on: May 02, 2008, 10:03:23 AM »
i think that problem is with php5, before when i install roundcube in php4 it's work great! but with php5 not...

You install in php5 or php4?

Thanks

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #11 on: May 02, 2008, 10:23:24 AM »
I'm running (and also here on this site) php 5.  You can test out the demo of 0.1.1 at http://demo.roundcubeforum.net

I still think this is an issue with one of your php files not being entirely correct.
 
  

Offline rmc2000

  • Jr. Member
  • **
  • Posts: 40
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #12 on: May 02, 2008, 10:40:37 AM »
i really not understand why not work to me, i try reinstall, reupload, re create all tables of sql folder, etc. And continue not working and not create any identitie when i make login at first time :(

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
$rcmail_config['auto_create_user'] = TRUE; NOT WORKING
« Reply #13 on: May 02, 2008, 08:27:54 PM »
If you PM me some information, I could take a look at it.  See what's going on.  But I'd need FTP information and control panel information.
 
  

Offline rmc2000

  • Jr. Member
  • **
  • Posts: 40
thankssssss
« Reply #14 on: May 09, 2008, 10:37:39 AM »
Thank you bpat1434  i send a pm with access informations!

;)