Author Topic: login failure - cant login roundcube mail server  (Read 11409 times)

Offline robertkwild

  • Jr. Member
  • **
  • Posts: 23
login failure - cant login roundcube mail server
« on: July 27, 2015, 05:55:27 PM »
hi all,

i cant login roundcube

i attach a link of my attachment

http://www.filedropper.com/roundcubeconfig

i have tried

robert.wild and robert.wild@robina.ddns.net my full email address

any help much appreciated

thanks

rob

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: login failure - cant login roundcube mail server
« Reply #1 on: July 27, 2015, 06:09:43 PM »
Most likely your imap_auth_type config options is wrong.

Offline robertkwild

  • Jr. Member
  • **
  • Posts: 23
Re: login failure - cant login roundcube mail server
« Reply #2 on: July 27, 2015, 06:23:52 PM »
What config file do I need to change for that

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: login failure - cant login roundcube mail server
« Reply #3 on: July 27, 2015, 11:09:10 PM »
The option can be set in the config.inc.php

Offline robertkwild

  • Jr. Member
  • **
  • Posts: 23
Re: login failure - cant login roundcube mail server
« Reply #4 on: July 28, 2015, 05:19:21 AM »
awesome thank you SKaero i will try this tonight

Offline robertkwild

  • Jr. Member
  • **
  • Posts: 23
Re: login failure - cant login roundcube mail server
« Reply #5 on: July 28, 2015, 06:07:19 PM »
having no luck at all

i have entered in two new lines under my IMAP section (see link, the last two lines)

http://www.filedropper.com/roundcubeconfig_1

i have used "check" "plain" "auth" "null" and "LOGIN" but when i used null i get the error "connection to imap server failed" all the others just say "login failure"

any help please

thanks

rob

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: login failure - cant login roundcube mail server
« Reply #6 on: July 28, 2015, 07:42:25 PM »
If you remove that config line and enable imap_debug in the Roundcube config was does the log say?

Offline robertkwild

  • Jr. Member
  • **
  • Posts: 23
Re: login failure - cant login roundcube mail server
« Reply #7 on: July 28, 2015, 08:21:55 PM »
what added line should i delete of the two?

is the enable imap debug line in the same config file as this file or is it somewhere else

after i enable it im guessing if i do a tail -f /var/www/html/rc/logs i will find the error

thanks in advanced for your help much appreciated

Offline robertkwild

  • Jr. Member
  • **
  • Posts: 23
Re: login failure - cant login roundcube mail server
« Reply #8 on: July 29, 2015, 12:50:42 PM »
damn i think i know whats wrong

stupidly i unticked the box, "auto create users", so im guessing im going to have to go inot the config file and add it in there

also shall i add the line for "username_domain" and enter in my default domain name "robina.ddns.net" ?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: login failure - cant login roundcube mail server
« Reply #9 on: July 29, 2015, 02:03:23 PM »
You can remove $config['auto_create_user'] = false; from the config.inc.php and it should be enabled again.

Offline robertkwild

  • Jr. Member
  • **
  • Posts: 23
Re: login failure - cant login roundcube mail server
« Reply #10 on: July 29, 2015, 03:18:34 PM »
i deleted it from the config file, and i could successfully log in on the web, your awesome SKaero

just out of interest where do the users get created on the roundcube database, where is the location?

Offline robertkwild

  • Jr. Member
  • **
  • Posts: 23
Re: login failure - cant login roundcube mail server
« Reply #11 on: July 29, 2015, 03:43:22 PM »
mmm, i have noticed something (i attach link to picture)

http://www.filedropper.com/roundcubecantsend

my from box appears as robert.wild@localhost, instead of my domain @robina.ddns.net

how do i change this for all my users so its user@robina.ddns.net

i know i can change this in "edit identities" but i really want it as default to all my users
« Last Edit: July 29, 2015, 03:48:46 PM by robertkwild »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: login failure - cant login roundcube mail server
« Reply #12 on: July 29, 2015, 04:46:47 PM »
just out of interest where do the users get created on the roundcube database, where is the location?
The users are keep in the Roundcube data in the users table. The Roundcube user is needed for settings and contacts.

how do i change this for all my users so its user@robina.ddns.net
Change the username_domain config option to your domain.

Offline robertkwild

  • Jr. Member
  • **
  • Posts: 23
Re: login failure - cant login roundcube mail server
« Reply #13 on: July 29, 2015, 05:37:33 PM »
so in the config file do i add a new line under the IMAP section

rcmail_config['username_domain'] = 'robina.ddns.net';

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: login failure - cant login roundcube mail server
« Reply #14 on: July 29, 2015, 05:48:30 PM »
Yes.