Sentora Support Forums
Can't login to Roundcube (users table empty?!) - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: Email Support v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=35)
+---- Thread: Can't login to Roundcube (users table empty?!) (/showthread.php?tid=3204)

Pages: 1 2


RE: Can't login to Roundcube (users table empty?!) - TGates - 11-18-2016

I can't seem to find where Sentora posts the mailbox data to the roundcube tables..?


RE: Can't login to Roundcube (users table empty?!) - Me.B - 11-18-2016

Sentora never post the user info into round cube directly. It will create the user in postfix table.

Roundcube is configured to connect to local IMAP server (port 143) and if able to connect it will then create the user in it's own table to store webmail settings related to this user. This is why I talk about disabling the firewall as it may block the internal port.


RE: Can't login to Roundcube (users table empty?!) - amine - 11-18-2016

I stopped ufw but it still doesn't work.
When I try to login to roundcube I got these two errors:

in /var/sentora/logs/sentora-access.log:
Code:
105.235.137.6 - - [18/Nov/2016:11:23:55 +0100] "POST /etc/apps/webmail/?_task=login HTTP/1.1" 200 2730 "http://panel.domain.com/etc/apps/webmail/?_task=login" "Mozilla/5.0 Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36 OPR/41.0.2353.56"

in /var/sentora/logs/roundcune/errors/log:
Code:
[18-Nov-2016 11:23:55 +0100]: IMAP Error: Login failed for contact@mywebsite.com from 105.235.137.6. 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)


N.B: here I changed my server and website adresses to "panel.domain.com" & "mywebsite.com" just to avoid web scrappers.

I found some posts suspecting dovecot, so I checked its log but it was empty.

While checking Sentora installation log, everything was fine except these lines:
Code:
-- Installing Postfix ln: failed to create symbolic link ‘/etc/postfix/master.cf’: No such file or directory ln: failed to create symbolic link ‘/etc/postfix/main.cf’: No such file or directory ... Daemon run complete! (23:41 14th Nov 2016 CET) -- Installing Logrotate ln: failed to create symbolic link ‘/etc/logrotate.d/Sentora-apache’: File exists ln: failed to create symbolic link ‘/etc/logrotate.d/Sentora-postifx’: File exists ln: failed to create symbolic link ‘/etc/logrotate.d/Sentora-dovecot’: File exists chattr: Operation not supported while reading flags on /etc/resolv.conf Failed to restart postfix.service: Unit postfix.service failed to load: No such file or directory. Restart your server now to complete the install (y/n)?



RE: Can't login to Roundcube (users table empty?!) - Me.B - 11-18-2016

ouch seem your postfix config is messed up and that explains it.

The logs too show like dovecot either not running or refusing connection.