Author Topic: How to make a first login?  (Read 16048 times)

Offline Dr. Nefelim

  • Newbie
  • *
  • Posts: 8
    • http://www.moddebauch.org
How to make a first login?
« on: February 18, 2010, 02:16:20 AM »
Hi!

I've installed newest version of Roundcube (0.3.1) at my host without any problems, but how can I make my first login to the system? What login & password should I use? :( Can't guess... I tried my mail server account details, but login failed. I did not specify any admin or user account details through the installation due they weren't required.

Online SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
How to make a first login?
« Reply #1 on: February 18, 2010, 03:52:41 AM »
You need to login to your mail account witch should be user@domain.com and your password.

Offline Dr. Nefelim

  • Newbie
  • *
  • Posts: 8
    • http://www.moddebauch.org
How to make a first login?
« Reply #2 on: February 18, 2010, 06:25:14 AM »
Well, I tried, but got "Login failed" message. My account works correctly in various mail clients and webmail clients (mail collector services). There were no errors through Roundcube installation. Thanks for your answer, may be I should try to re-install Roundcube...

Online SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
How to make a first login?
« Reply #3 on: February 18, 2010, 07:08:20 AM »
Make sure your mail server is set correctly.

Offline Dr. Nefelim

  • Newbie
  • *
  • Posts: 8
    • http://www.moddebauch.org
How to make a first login?
« Reply #4 on: February 18, 2010, 09:56:44 AM »
But how can I set my mail server correctly, if I can't login? Should I re-install Roundcube?

Online SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
How to make a first login?
« Reply #5 on: February 18, 2010, 09:59:32 AM »
Before you can login you need to tell RoundCube your mail server. In /config/main.inc.php set $rcmail_config['default_host'] to your mail server.

Offline Dr. Nefelim

  • Newbie
  • *
  • Posts: 8
    • http://www.moddebauch.org
How to make a first login?
« Reply #6 on: February 18, 2010, 10:23:00 PM »
Quote from: skaero
In /config/main.inc.php set $rcmail_config['default_host'] to your mail server.

It set ok, incoming mail test works fine while installation process. May be I made some mistakes in "$rcmail_config['username_domain']" (filled "domain.com") or "$rcmail_config['mail_domain']" (empty)?

Offline zamri

  • Jr. Member
  • **
  • Posts: 16
How to make a first login?
« Reply #7 on: February 19, 2010, 05:16:45 AM »
I got the same problem. The client authenticated successfully with the imap server but I couldn't get in rc. Just got login page.

rc 0.3.1 (complete)
Mandriva 2009.0

I have noticed that rc 0.3.1 doesn't have mysql support but mysqli. I didn't install mysqli. Does this make any difference? I have tried changing DSN to use mysqli but same result.
« Last Edit: February 21, 2010, 08:06:31 PM by zamri »

Offline Dr. Nefelim

  • Newbie
  • *
  • Posts: 8
    • http://www.moddebauch.org
How to make a first login?
« Reply #8 on: February 19, 2010, 07:57:54 AM »
Here is log from Roundcube enviroment check (Step 1 of the installation):
Quote
Checking PHP version
Version:  OK(PHP 5.2.9 detected)
Checking PHP extensions

The following modules/extensions are required to run RoundCube:
PCRE:  OK
DOM:  OK
Session:  OK
XML:  OK

The next couple of extensions are optional and recommended to get the best performance:
FileInfo:  NOT AVAILABLE(See PHP: Fileinfo Functions - Manual)
Libiconv:  OK
Multibyte:  OK
OpenSSL:  OK
Mcrypt:  OK
GD:  OK
Checking available databases

Check which of the supported extensions are installed. At least one of them is required.
MySQL:  OK
MySQLi:  OK
PostgreSQL:  NOT AVAILABLE(Not installed)
SQLite (v2):  OK
Check for required 3rd party libs

This also checks if the include path is set correctly.
PEAR:  OK
MDB2:  OK
Net_SMTP:  OK
Mail_mime:  OK
iilConnection:  OK
Checking php.ini/.htaccess settings

The following settings are required to run RoundCube:
file_uploads:  OK
session.auto_start:  OK
zend.ze1_compatibility_mode:  OK
mbstring.func_overload:  OK
suhosin.session.encrypt:  OK

The following settings are optional and recommended:
date.timezone:  NOT OK(Could be set)


Here is the Configuration test (Step 3 of the installation):
Quote
Check config files
main.inc.php:  OK
db.inc.php:  OK
Check if directories are writable

RoundCube may need to write/save files into these directories
temp/:  OK
logs/:  OK
Check configured database settings
DSN (write):  OK
DB Schema:  OK
DB Write:  OK

Test SMTP settings

Server: X.domain.com
Port: 25
User: Y@domain.com
Password: ***

Trying to send email...
SMTP send:  NOT OK(Invalid sender or recipient)

Sender: Y
Recipient: test@anotherdomain.com

Test IMAP configuration
Server X.domain.com   
Port    143
Username Y@X.domain.com
Password ***

Connecting to X.domain.com...
IMAP connect:  OK(SORT capability: yes)

DB Time:  OK

May be this is the problem?

Offline Dr. Nefelim

  • Newbie
  • *
  • Posts: 8
    • http://www.moddebauch.org
How to make a first login?
« Reply #9 on: February 25, 2010, 03:12:43 AM »
Well, I found a solution by myself. There are no users in system after installation, so they must be created and their accounts data must be equal to host mail server accounts. Set "$rcmail_config['auto_create_user']" in "main.inc.php" to "true" instead "false" to automatically create new users. Now Roundcube works fine.

Offline samy4linux

  • Jr. Member
  • **
  • Posts: 15
Login Problem
« Reply #10 on: July 05, 2010, 03:25:55 AM »
Quote from: Dr. Nefelim;25817
Well, I found a solution by myself. There are no users in system after installation, so they must be created and their accounts data must be equal to host mail server accounts. Set "$rcmail_config['auto_create_user']" in "main.inc.php" to "true" instead "false" to automatically create new users. Now Roundcube works fine.


Hi Nefelim,

 I had set the $rcmail_config to "['auto_create_user']" but i am unable to login so my work is still pending in the configuration stage and i had attached the screen shot Please help me to finish out this problem and please help me how to create the user

Regards
samy4linux
« Last Edit: July 05, 2010, 05:14:54 AM by skaero »

Offline Dr. Nefelim

  • Newbie
  • *
  • Posts: 8
    • http://www.moddebauch.org
How to make a first login?
« Reply #11 on: July 05, 2010, 02:34:26 PM »
And where is your screenshot? I see no attachments.

Offline samy4linux

  • Jr. Member
  • **
  • Posts: 15
Imap Login
« Reply #12 on: July 06, 2010, 12:50:41 AM »
Quote from: Dr. Nefelim;28548
And where is your screenshot? I see no attachments.


HI ,

 Sorry now i had attached my screen shot

Offline Dr. Nefelim

  • Newbie
  • *
  • Posts: 8
    • http://www.moddebauch.org
How to make a first login?
« Reply #13 on: July 08, 2010, 10:29:33 PM »
This screenshot reports nothing, no errors. You can't login from main page or you have problems with installation? I set up RoundCube and then failed to login from main page, so I changed the mentioned setting in configuration file. Check your DB manually - is there any users.

Offline Wettergrafik

  • Newbie
  • *
  • Posts: 1
First Login Problem with $rcmail_config['username_domain']
« Reply #14 on: September 12, 2011, 04:13:53 AM »
Hello all
I’ve read this treat because I had same problem with first login.

After several attempts I could not log in. Then I checked the error log and saw that the login name was the login name for my postbox account, but doubled.

Login for my post box account: webxp1

Login attempt from system with: webxp1@webxp1

Then I searched in config/main.inc.php the entry $rcmail_config['username_domain'] . The entry was set to $rcmail_config['username_domain'] = 'webxp1'; I empty this entry to $rcmail_config['username_domain'] = '';

When I logged in everything worked fine.

Kind regards,
Wettergrafik