1 (edited by szczot3g 2018-08-04 05:47:50)

Topic: Roundcube not reading messages

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MARIADB edition.
- Linux/BSD distribution name and version:  Ubuntu 18.04.1 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL (MariaDB)
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?: Nope
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
First of all - I can't seem to find any related logs - probably this will help, but I don't know if it's something out of normal.
Aug 03 23:25:08 main.example.com dovecot[1234]: imap-login: Login: user=<filip@example.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=5314, secured, session=<whbij45ySNR/AAAB>
Aug 03 23:25:08 main.example.com dovecot[1234]: imap(filip@example.com): Logged out in=1002 out=6423

The thing is - I can't read the mails from that account with Roundcube - It's hanging out on "Reading the messages" (In polish).
I can read the postmaster's messages with roundcube - no problem.

EDIT: Tried updating from 1.3.0 to 1.3.7, now SOMETIMES I can see the content of the folders - but clicking on the messages doesn't show them

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Roundcube not reading messages

Check permissions of the actual mail files (in /var/vmail by default.)

3

Re: Roundcube not reading messages

schnappi wrote:

Check permissions of the actual mail files (in /var/vmail by default.)

Everything is owned by vmail:vmail

4

Re: Roundcube not reading messages

- Any related error in /var/log/dovecot/*?
- Try to fix ownership and permission:

chown -R vmail:vmail /var/vmail/vmail1
chmod -R 0700 /var/vmail/vmail1

5

Re: Roundcube not reading messages

Hmm, no errors in /var/log/dovecot/* except
"Aug 04 16:53:47 main.exmaple.com dovecot[9818]: doveconf: Warning: SSLv2 not supported by OpenSSL. Please consider removing it from ssl_protocols.
Aug 04 16:53:47 main.szczot3k.pl dovecot[9818]: doveconf: Warning: SSLv2 not supported by OpenSSL. Please consider removing it from ssl_protocols.
Aug 04 16:53:47 main.exmaple.com dovecot[9818]: master: Dovecot v2.2.33.2 (d6601f4ec) starting up for pop3, imap, sieve, lmtp (core dumps disabled)
Aug 04 16:53:47 main.exmaple.com dovecot[9823]: doveconf: Warning: SSLv2 not supported by OpenSSL. Please consider removing it from ssl_protocols.
Aug 04 16:53:47 main.exmaple.com dovecot[9823]: config: Warning: SSLv2 not supported by OpenSSL. Please consider removing it from ssl_protocols."
When starting up.

As I said - It's probably roundcube problem - I can get the emails thru imap (Using both telnet, and thunderbird).

6

Re: Roundcube not reading messages

Check log file /var/log/maillog, Roundcube is configured to log to this file.

7 (edited by szczot3g 2018-08-05 03:32:20)

Re: Roundcube not reading messages

Aug  4 16:50:01 main roundcube: <9n12474f> PHP Error: Failed to load config from /opt/www/roundcubemail/plugins/password/config.inc.php in /opt/www/roundcubemail/program/lib/Roundcube/rcube_plugin.php on line 157 (GET /mail/)
Aug  4 16:50:06 main roundcube: <9n12474f> PHP Error: Failed to load config from /opt/www/roundcubemail/plugins/password/config.inc.php in /opt/www/roundcubemail/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /mail/?_task=login&_action=login)
Aug  4 16:51:36 main roundcube: <v6l899jh> PHP Error: Failed to load config from /opt/www/roundcubemail/plugins/password/config.inc.php in /opt/www/roundcubemail/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /mail/?_task=login&_action=login)
Aug  4 16:51:38 main roundcube: <v6l899jh> IMAP Error: Login failed for postmaster@EXAMPLE.COM from XX.XX.XX.XX. LOGIN: Authentication failed. in /opt/www/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 196 (POST /mail/?_task=login&_action=login)
Aug  4 16:52:32 main roundcube: <v6l899jh> PHP Error: Failed to load config from /opt/www/roundcubemail/plugins/password/config.inc.php in /opt/www/roundcubemail/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /mail/?_task=login&_action=login)
Aug  4 16:53:03 main roundcube: <ekh35qfr> PHP Error: Failed to load config from /opt/www/roundcubemail/plugins/password/config.inc.php in /opt/www/roundcubemail/program/lib/Roundcube/rcube_plugin.php on line 157 (POST /mail/?_task=login&_action=login)
Theese are the only errors today - I've changed the permissions for thi files, and it resolved them. Problem explained in thread, still exist.

8

Re: Roundcube not reading messages

Seems there's some error in file /opt/www/roundcubemail/plugins/password/config.inc.php, please double check.

9

Re: Roundcube not reading messages

/opt/www/roundcubemail/plugins/password/config.inc.php had wrong MySQL password - I've fixed it.
Problem still persist.
From debug logs I see, that roundcube doesn't fetch emails from my account. I need to reload it several times to fetch em (I see in debug logs that's fetching.) and it works then. (But till the next reload).
I don't want to post logs here, due to privacy concerns.

10

Re: Roundcube not reading messages

Any related error in Dovecot log file? Dovecot is the IMAP server.