This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Can't login to Roundcube (users table empty?!)
#1
Can't login to Roundcube (users table empty?!)
Hello, 

I have a fresh installation of Sentora, everything works well, but I can't connect to Roundcube,  

I get this meesage in /var/sentora/logs/roundcube/errors:

Code:
IMAP Error: Login failed for contact@domain.com from 41.99.3.17. Could not connect to localhost:143: Connection refused in /etc/sentora/panel/etc/apps/webmail/program/lib/Roundcube/rcube_imap.php on line 184 (POST /etc/apps/webmail/?_task=login?_task=login&_action=login)


Port 25 is opend and I can send mails using sendmail command by ssh

While inspecting the database, I found that mailboxes are created in sentora_postfix.mailbox table, but sentora_roundcube.users table is empty.

Any ideas?
Reply
Thanks given by:
#2
RE: Can't login to Roundcube (users table empty?!)
Did you update Roundcube or anything?
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: Can't login to Roundcube (users table empty?!)
No, I just installed Sentora and it installed Roundcube automatically.

Should I update Roundcude?
Reply
Thanks given by:
#4
RE: Can't login to Roundcube (users table empty?!)
sentora_roundcube.users will remain clean until you login to round cube.

As it will hold only valid users.

You need to create an account and ensure it works fine.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#5
RE: Can't login to Roundcube (users table empty?!)
(11-16-2016, 05:17 AM)Me.B Wrote: sentora_roundcube.users will remain clean until you login to round cube.

As it will hold only valid users.

You need to create an account and ensure it works fine.

M B

When you say create an account, do you mean in "Mailboxes" menu? Because, I can't login to roundcube at all.

I tried to send mails using "sendmail" commandline and it works, so I guess it's not a problem in postfix configuration or my firewall.
Reply
Thanks given by:
#6
RE: Can't login to Roundcube (users table empty?!)
yes you need to create a mailbox first.

Firewall?
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#7
RE: Can't login to Roundcube (users table empty?!)
(11-16-2016, 10:18 PM)Me.B Wrote: yes you need to create a mailbox first.

Firewall?

Yes of course I created a mailbox, and tried to login to roundcube and it doesn't work.

By firewall I mean: port 25 is opened in ufw config
Reply
Thanks given by:
#8
RE: Can't login to Roundcube (users table empty?!)
Never tested with Ufw and roundcube use port 25 and port 143 pop3 110.

disable ufw and check this is my advice, or check firewall log what's being dropped.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#9
RE: Can't login to Roundcube (users table empty?!)
I'm not sure what this has to do with firewall....? User's are not being added to the roundcube database therefore there are no credentials to even be checked to login to roundcube.
There has to be users/mailboxes in roundcube in order to be logged in. So, it would seem that somewhere during the mailbox creation inside Sentora the Mailboxes module is not writing to the roundcube DB. I would think an error would show somewhere in the logs though.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#10
RE: Can't login to Roundcube (users table empty?!)
I can't find any errors anywhere.
If I manually make a user account in sentora_roundcube.users and create an identity (sentora_roundcube.identities) that matches the new user, then reset the password inside Sentora Mailbox module I am able to log into roundcube with the new account. So, the password reset is connecting to the roundcube DB and updating it, still not creating users though.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
How to upgrade RoundCube rajeevrrs 0 1 ,769 11-01-2022, 10:19 PM
Last Post: rajeevrrs
can not send email - SMTP error on roundcube wolvepy 9 29 ,273 01-03-2020, 08:37 AM
Last Post: Telepuzik
How to add password reset option in roundcube hakunamatata 15 63 ,260 02-08-2019, 12:20 PM
Last Post: republicus

Forum Jump:


Users browsing this thread: 1 Guest(s)