Roundcube Community Forum

Release Support => Pending Issues => Topic started by: FliP0x on January 27, 2016, 12:15:08 PM

Title: IMAP Error - Cannot log in
Post by: FliP0x on January 27, 2016, 12:15:08 PM
Hello,
I installed Roundcube on a ubuntu 14.04 server running postfix. All tests have succeeded, besides of the login test.

Let me know what information to provide and I will provide it to resolve this issue.
Title: Re: IMAP Error - Cannot log in
Post by: SKaero on January 27, 2016, 10:20:51 PM
What the error?
Title: Re: IMAP Error - Cannot log in
Post by: FliP0x on January 28, 2016, 04:47:37 AM
I cannot access the installer anymore, but when I try to log in it says "Failed to connect to IMAP Server".
Title: Re: IMAP Error - Cannot log in
Post by: JohnDoh on January 28, 2016, 06:04:37 AM
have you checked your IMAP server is running ok? can you connect to it from other clients or from telnet?
Title: Re: IMAP Error - Cannot log in
Post by: FliP0x on January 28, 2016, 06:24:09 AM
How do I check that?
Also, could it be that I need dovecot for this? I only have postfix installed.
Title: Re: IMAP Error - Cannot log in
Post by: SKaero on January 28, 2016, 09:25:07 AM
You would need some sort of IMAP server, if you only have postfix install you wont be able to use Roundcube because postfix is only SMTP. You need both an IMAP and SMTP server to use Roundcube.
Title: Re: IMAP Error - Cannot log in
Post by: FliP0x on January 28, 2016, 09:34:00 AM
Alright, will install one later tonight because I don't have time right now. I didn't install dovecot because I had no idea what it is.

Once I have it installed, where do I need to enter the IMAP Server info in the configuration file, if I have to enter it at all?
Title: Re: IMAP Error - Cannot log in
Post by: SKaero on January 28, 2016, 09:36:49 AM
You would want to set the $config['default_host'] in the config.inc.php.
Title: Re: IMAP Error - Cannot log in
Post by: FliP0x on January 29, 2016, 09:41:42 AM
It is working. However, it will only let log in with username/password, not [email protected]/password.
When I log in, I am logged in as user@localhost, not [email protected]
Title: Re: IMAP Error - Cannot log in
Post by: JohnDoh on January 29, 2016, 11:49:44 AM
QuoteIt is working. However, it will only let log in with username/password, not [email protected]/password.
Not a roundcube issue, the login is controlled by you IMAP server

QuoteWhen I log in, I am logged in as user@localhost, not [email protected]
Try setting mail_domain in your roundcube config to the domain you want. Note: this setting only applies to users who login to roundcube for the first time after it has been set.