Roundcube Community Forum

 

Log in Fail Mac os 10.8.2

Started by danielson782, January 13, 2013, 09:18:02 PM

Previous topic - Next topic

danielson782

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

danielson782

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

SKaero

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?

danielson782

Thxs I fixed the quotes already no go, how to i check the error log on round cube? Im new to roundcube.

Thxs

SKaero

Check the errors file in <RC root>/logs

danielson782

There is nothing in the log folder it's blank

SKaero

If the login failed it will add a error to the error log, make sure the logs folder is writable.

danielson782

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?

SKaero

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.

danielson782

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