1

Topic: No messages in Roundcube

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.0 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer?: downloadable installer
- Linux/BSD distribution name and version: Debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?: No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I did a fresh installation of iRedMail. Then I migrate from old installation, databases and maildirs (/var/vmail/vmail1/domain.com)
When I use mail client (Thunderbird), I see all messages. I can send and recive messages.
If I use Roundcube, I dont see messages in INBOX, Sent, etc. But I can send message from Roundcube.

2

Re: No messages in Roundcube

- Any related error in Dovecot log files under /var/log/dovecot/?
- run command “doveadm user <email>” (replace <email> by the real email address), is the maildir path same as the one you migrated?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: No messages in Roundcube

ZhangHuangbin wrote:

- Any related error in Dovecot log files under /var/log/dovecot/?
- run command “doveadm user <email>” (replace <email> by the real email address), is the maildir path same as the one you migrated?


- No. Only 2 lines in imap.log, when I refresh page

Jan  9 15:13:16 mail dovecot: imap-login: Login: user=<abcde@domain.com>, method=LOGIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15959, secured, session=<4MbSlLCbMLR/AAAB>
Jan  9 15:13:16 mail dovecot: imap(abcde@domain.com)<15959><4MbSlLCbMLR/AAAB>: Logged out in=70 out=807 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

- Yes

home    /var/vmail/vmail1/domain.com/a/b/c/abcde-2013.10.17.08.30.07/                                                                                                                            
mail    maildir:~/Maildir/ 

4

Re: No messages in Roundcube

- Please make sure all files under /var/vmail/vmail1/ are owned by user "vmail", group "vmail", with permission 0700, then try again.
- After enabled debug mode in Dovecot, there should be a lot more log lines in /var/log/dovecot/dovecot.log, please take a look and read those log lines carefully.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

5

Re: No messages in Roundcube

- Yes, all files under /var/vmail/vmail1/ are owned by user "vmail", group "vmail", with permission 0700
- https://pastebin.com/RcPCEJ26 - log, when I reload page

6

Re: No messages in Roundcube

- Didn't see error in pasted log.
- Does this maildir path same as the one you copied/restored? /var/vmail/vmail1/domain.com/k/s/e/ksenz-2013.10.17.08.30.07/

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

7

Re: No messages in Roundcube

Yes

root@mail:~# ls -la /var/vmail/vmail1/domain.com/k/s/e/ksenz-2013.10.17.08.30.07/
total 16
drwx------  4 vmail vmail 4096 Dec 17 19:07 .
drwx------  3 vmail vmail 4096 Dec 17 19:07 ..
drwx------ 13 vmail vmail 4096 Jan 13 09:49 Maildir
drwx------  3 vmail vmail 4096 Jan 13 08:47 sieve

8

Re: No messages in Roundcube

Debug from Roudcube
https://pastebin.com/i01fZAiW

He sees my directories, for example "INBOX/&BB4EMQQ9BD4EMgQ7BDUEPQQ4BDU- &BEEEPwQ4BEEEOgQw-", but not show messages in it.

root@mail:~# ls -la /var/vmail/vmail1/domain.com/k/s/e/ksenz-2013.10.17.08.30.07/Maildir/.INBOX.\&BB4EMQQ9BD4EMgQ7BDUEPQQ4BDU-\ \&BEEEPwQ4BEEEOgQw-/cur/ | head -n 7
total 337228
drwx------ 2 vmail vmail 1277952 Dec 17 19:07 .
drwx------ 5 vmail vmail    4096 Dec 18 08:34 ..
-rwx------ 1 vmail vmail    4110 Oct 30  2014 1414684465.M917045P1217.mail,S=4110,W=4197:2,S
-rwx------ 1 vmail vmail    2897 Oct 30  2014 1414688070.M738059P7872.mail,S=2897,W=2948:2,S
-rwx------ 1 vmail vmail    2897 Oct 31  2014 1414691708.M130993P14378.mail,S=2897,W=2948:2,S
-rwx------ 1 vmail vmail    4062 Oct 31  2014 1414695263.M66393P20900.mail,S=4062,W=4155:2,S

9

Re: No messages in Roundcube

Sorry! It did not work through my fault.
I add "add_header X-Frame-Options DENY;" from my tamplate for nginx.
The roundcube interface is built on frames, which were blocked.