Author Topic: Log in Fail Mac os 10.8.2  (Read 5791 times)

Offline danielson782

  • Newbie
  • *
  • Posts: 6
Log in Fail Mac os 10.8.2
« on: January 13, 2013, 09:18:02 PM »
I have webmail setup and running correctly on 10.8 server but need to setup webmail and vacation replies, anyway I have installed round cube but can't login i get the message login failed. The tests on webmail config page all work send and login works. I have checked the imap logs on the server and it shows i am logging is succefully but am disconnected immeditaly I have also made the follwoing chnages
 
in /your path to webmail/config/main.inc.php - change these lines
 
 
 
$rcmail_config['default_host'] = 'server.domain.com';
$rcmail_config['imap_auth_type'] = LOGIN;
$rcmail_config['smtp_auth_type'] = 'LOGIN';
$rcmail_config['login_autocomplete'] = 1;
$rcmail_config['login_lc'] = true;
$rcmail_config['plugins'] = array('autologon');
 
Thx for the help

Offline danielson782

  • Newbie
  • *
  • Posts: 6
Re: Log in Fail Mac os 10.8.2
« Reply #1 on: January 14, 2013, 10:54:56 AM »
Ok I have done a lot of reading is post fix admin needed for this to work? It sure was not part of the installation instructions that's why I ask.

This

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,898
    • SKaero - Custom Roundcube development
Re: Log in Fail Mac os 10.8.2
« Reply #2 on: January 15, 2013, 04:35:35 AM »
Postfixadmin isn't needed for RoundCube to work, the only thing I can see that is wrong is LOGIN for imap_auth_type should be in quotes. Have you checked RoundCube error log?

Offline danielson782

  • Newbie
  • *
  • Posts: 6
Re: Log in Fail Mac os 10.8.2
« Reply #3 on: January 15, 2013, 09:40:44 AM »
Thxs I fixed the quotes already no go, how to i check the error log on round cube? Im new to roundcube.

Thxs

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,898
    • SKaero - Custom Roundcube development
Re: Log in Fail Mac os 10.8.2
« Reply #4 on: January 15, 2013, 10:30:48 AM »
Check the errors file in <RC root>/logs

Offline danielson782

  • Newbie
  • *
  • Posts: 6
Re: Log in Fail Mac os 10.8.2
« Reply #5 on: January 15, 2013, 10:37:34 AM »
There is nothing in the log folder it's blank

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,898
    • SKaero - Custom Roundcube development
Re: Log in Fail Mac os 10.8.2
« Reply #6 on: January 15, 2013, 11:43:12 AM »
If the login failed it will add a error to the error log, make sure the logs folder is writable.

Offline danielson782

  • Newbie
  • *
  • Posts: 6
Re: Log in Fail Mac os 10.8.2
« Reply #7 on: January 15, 2013, 01:09:48 PM »
it is writeable i just double checked again at the installer page and it says it is writeable. I have checked the sql database and round cube created a bunch of tables and such so i know it is communicating with the DB but no users have been created there. Shouldn't round cube just communicate to the users already setup in the mail server?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,898
    • SKaero - Custom Roundcube development
Re: Log in Fail Mac os 10.8.2
« Reply #8 on: January 15, 2013, 02:06:00 PM »
Once a successful login has occurred RoundCube creates a user recored in the RoundCube database to store preferences and contacts. The problem is most likely the auth_type try enabling imap_debug in the RoundCube config and posting the log from an attempted login.

Offline danielson782

  • Newbie
  • *
  • Posts: 6
Re: Log in Fail Mac os 10.8.2
« Reply #9 on: January 15, 2013, 02:14:14 PM »
I figured it out finally i has to set auto create user to true it was set to false once that was set everything works great now to tackle the vacation reply

thxs