1

Topic: iRedAdmin-Pro and RoundCubeMail Error

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

I have some trouble on iRedAdmin-Pro and RoundCubeMail.

For RoundCubeMail :
Login success but show "Server Error! (OK)", Folder list success but cannot show email inside (as Attached)

For iRedAdmin-Pro :
I don't know is i modified the Let's Encrypt's cert SSL or not, now i cannot access to iredadmin, it show the 404 error and i check the log that it seems redirect to /var/www/roundcubemail/iredadmin/. how can i fix it?

Please help. Thanks!

B.Rgds.
Roy

Post's attachments

webMailError_1.jpg
webMailError_1.jpg 37.72 kb, file has never been downloaded. 

webMailError_2.jpg
webMailError_2.jpg 19.82 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

2

Re: iRedAdmin-Pro and RoundCubeMail Error

roy.wong wrote:

Login success but show "Server Error! (OK)", Folder list success but cannot show email inside (as Attached)

Any related error in log files? /var/log/messages, /var/log/dovecot*, /var/log/maillog.

About iRedAdmin-Pro, did you configure Apache to use Roundcube as Apache DocumentRoot directory? What's the content of /etc/httpd/conf.d/iredadmin.conf?

----

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: iRedAdmin-Pro and RoundCubeMail Error

in /var/log/messages, many of below error :

Dec 13 08:53:57 mail kernel: ACPI Error: SMBus or IPMI write requires Buffer of length 66, found length 32 (20090903/exfield-286)
Dec 13 08:53:57 mail kernel: ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PMI0._PMM] (Node ffff88063668c240), AE_AML_BUFFER_LIMIT
Dec 13 08:53:57 mail kernel: ACPI Exception: AE_AML_BUFFER_LIMIT, Evaluating _PMM (20090903/power_meter-342)

in /var/log/dovecot.log, seems no error :

Dec 13 08:56:20 imap-login: Info: Login: user=<roy.wong@Domain.com>, method=LOGIN, rip=127.0.0.1, lip=127.0.0.1, mpid=20001, secured, session=<uTB6VIuZAAB/AAAB>
Dec 13 08:56:20 imap(roy.wong@Domain.com): Info: Disconnected: Logged out in=564 out=34658
D

in /var/log/maillog, when i reflash roundcube, have the below log. can get folder and how many message, but cannot display :

Dec 13 09:06:56 mail roundcube: <sbnhs6ch> [2377] S: * STATUS "INBOX/Account" (MESSAGES 112 UNSEEN 0)
Dec 13 09:06:56 mail roundcube: <sbnhs6ch> [2377] S: A0005 OK Status completed.
Dec 13 09:06:56 mail roundcube: <sbnhs6ch> [ADED] S: * 758 FETCH (UID 59350 RFC822.SIZE 65874 FLAGS (\Seen) INTERNALDATE "10-Dec-2019 04:40:42 +0800" BODY[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO X-PRIORITY)] {321}
Dec 13 09:06:56 mail roundcube: <sbnhs6ch> [ADED] S: From: "xxxx" <xxxxx@xxxx.com>#015#012To: "xxxxx" <xxxx@xxxxx.com>#015#012Subject: 2019 Conflict Mineral-action needed#015#012Date: Mon, 9 Dec 2019 20:37:43 +0000#015#012Content-Type: multipart/related;#015#012#011boundary="_006_BN8PR06MB5409BFD705B1B4E4D5FD1C029D580BN8PR06MB5409namp_";#015#012#011type="multipart/alternative"#015#012#015
Dec 13 09:06:56 mail roundcube: <sbnhs6ch> [2377] C: A0006 STATUS INBOX/Apps (MESSAGES UNSEEN)
Dec 13 09:06:56 mail roundcube: <sbnhs6ch> [ADED] S: )
Dec 13 09:06:56 mail roundcube: <sbnhs6ch> [ADED] S: * 759 FETCH (UID 59351 RFC822.SIZE 1637 FLAGS (\Seen) INTERNALDATE "10-Dec-2019 06:47:20 +0800" BODY[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO X-PRIORITY)] {259}
Dec 13 09:06:56 mail roundcube: <sbnhs6ch> [2377] S: * STATUS "INBOX/Apps" (MESSAGES 31 UNSEEN 0)
Dec 13 09:06:56 mail roundcube: <sbnhs6ch> [ADED] S: Date: Tue, 10 Dec 2019 06:47:21 +0800#015#012From: "xxxxx" <xxxxx@xxxx.com>#015#012To: <roy.wong@xxxxx.com>#015#012Subject: =?UTF-8?B?TUlTRlMwMUxvY2FsIGJhY2t1cCAtIFNlcnZlckJhY2t1cCDlt7LlnKggTUlTRlMwMSDkuIrmiJDlip/ln7fooYw=?=#015#012Content-Type: text/plain; charset=utf-8#015#012#015
Dec 13 09:06:56 mail roundcube: <sbnhs6ch> [2377] S: A0006 OK Status completed.
Dec 13 09:06:56 mail roundcube: <sbnhs6ch> [ADED] S: )
D


DocumentRoot  in /etc/httpd/conf/httpd.conf is :

DocumentRoot "/var/www/html"


inside /etc/httpd/conf.d/roundcubemail.conf :

<VirtualHost *:80>
   ServerName mail.xxxxx.com
   ServerAlias xxxx.com
   DocumentRoot /var/www/roundcubemail/
<Directory /var/www/roundcubemail>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from ALL
    RewriteEngine on
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^(.*)?$ https://%{SERVER_NAME}$1 [L,R]
</Directory>
</VirtualHost>



/etc/httpd/conf.d/iredadmin.conf:

WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess iredadmin user=iredadmin threads=15
WSGIProcessGroup iredadmin

#Alias /iredadmin "/var/www/iredadmin/"

AddType text/html .py

<Directory /var/www/iredadmin/>
    Order allow,deny
    Allow from 192.168.1.0/24
    #Allow from ALL
</Directory>

4

Re: iRedAdmin-Pro and RoundCubeMail Error

roy.wong wrote:

in /var/log/maillog, when i reflash roundcube, have the below log. can get folder and how many message, but cannot display :

Try to click any IMAP folder to reproduce the error, then what's the related log in /var/log/maillog?

roy.wong wrote:

inside /etc/httpd/conf.d/roundcubemail.conf :

You already use Roundcube as DocumentRoot for web domain "mail.xxxxx.com", so when you access mail.xxxxx.com/iredadmin/, Apache will try to access /var/www/roundcubemail/iredadmin/. That's expected.
You should include /etc/httpd/conf.d/iredadmin.conf in /etc/httpd/conf.d/roundcubemail.conf.

----

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: iRedAdmin-Pro and RoundCubeMail Error

after include /etc/httpd/conf.d/iredadmin.conf in /etc/httpd/conf.d/roundcubemail.conf, error :

[root@mail conf.d]# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: Syntax error on line 2 of /etc/httpd/conf.d/iredadmin.conf:
Name duplicates previous WSGI daemon definition.
                                                           [FAILED]



/var/log/maillog :

Dec 13 10:02:00 mail roundcube: <miltbiho> [1] SELECT `vars`, `ip`, `changed`, now() AS ts FROM `session` WHERE `sess_id` = 'miltbihot2ohcqv8316aes0id2';
Dec 13 10:02:00 mail roundcube: <miltbiho> [2] SELECT * FROM `users` WHERE `user_id` = '84';
Dec 13 10:02:00 mail roundcube: <miltbiho> [3] SELECT * FROM `users` WHERE `mail_host` = 'localhost' AND `username` = '[global_addressbook_user]';
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] Connecting to 127.0.0.1:143...
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] C: A0001 ID ("name" "Roundcube" "version" "1.4.1" "php" "5.3.3" "os" "Linux" "command" "/?_task=mail&_action=list&_refresh=1&_layout=widescreen&_mbox=INBOX%2FLenovo&_page=1&_remote=1&_unlock=loading1576202520742&_=1576198433987")
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * ID NIL
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: A0001 OK ID completed.
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] C: A0002 AUTHENTICATE LOGIN
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: + VXNlcm5hbWU6
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] C: ****** [26]
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: + UGFzc3dvcmQ6
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] C: ****** [14]
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE QUOTA] Logged in
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] C: A0003 STATUS INBOX/Lenovo (MESSAGES UNSEEN)
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * STATUS "INBOX/Lenovo" (MESSAGES 3 UNSEEN 0)
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: A0003 OK Status completed.
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] C: A0004 SELECT INBOX/Lenovo
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * 3 EXISTS
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * 0 RECENT
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * OK [UIDVALIDITY 1377837765] UIDs valid
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * OK [UIDNEXT 4] Predicted next UID
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * OK [HIGHESTMODSEQ 1] Highest
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: A0004 OK [READ-WRITE] Select completed.
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] C: A0005 UID SEARCH 3
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * SEARCH 3
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: A0005 OK Search completed (0.000 secs).
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] C: A0006 UID SORT (DATE) US-ASCII ALL
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * SORT 2 3 1
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: A0006 OK Sort completed (0.007 secs).
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] C: A0007 UID FETCH 1:3 (UID RFC822.SIZE FLAGS INTERNALDATE BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO X-PRIORITY)])
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * 1 FETCH (UID 1 RFC822.SIZE 7600 FLAGS (\Seen) INTERNALDATE "09-Jun-2017 13:36:45 +0800" BODY[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO X-PRIORITY)] {226}
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: Date: Fri, 9 Jun 2017 13:35:47 +0800 (UTC+8)#015#012From: <Service@lenovo.com>#015#012Subject: Lenovo Services Registration Confirmation#015#012To: <roy.wong@xxxx.com>#015#012X-Priority: 3 (Normal)#015#012Content-Type: text/html;#015#012 charset="us-ascii"#015#012#015
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: )
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * 2 FETCH (UID 2 RFC822.SIZE 7599 FLAGS (\Seen) INTERNALDATE "09-Jun-2017 13:30:38 +0800" BODY[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO X-PRIORITY)] {226}
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: Date: Fri, 9 Jun 2017 13:29:34 +0800 (UTC+8)#015#012From: <Service@lenovo.com>#015#012Subject: Lenovo Services Registration Confirmation#015#012To: <roy.wong@xxxx.com>#015#012X-Priority: 3 (Normal)#015#012Content-Type: text/html;#015#012 charset="us-ascii"#015#012#015
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: )
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * 3 FETCH (UID 3 RFC822.SIZE 7601 FLAGS (\Seen) INTERNALDATE "09-Jun-2017 13:36:39 +0800" BODY[HEADER.FIELDS (DATE FROM TO SUBJECT CONTENT-TYPE CC REPLY-TO LIST-POST DISPOSITION-NOTIFICATION-TO X-PRIORITY)] {226}
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: Date: Fri, 9 Jun 2017 13:34:14 +0800 (UTC+8)#015#012From: <Service@lenovo.com>#015#012Subject: Lenovo Services Registration Confirmation#015#012To: <roy.wong@xxxx.com>#015#012X-Priority: 3 (Normal)#015#012Content-Type: text/html;#015#012 charset="us-ascii"#015#012#015
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: )
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: A0007 OK Fetch completed.
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] C: A0008 GETQUOTAROOT INBOX/Lenovo
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * QUOTAROOT "INBOX/Lenovo" "user"
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * QUOTA "user" (STORAGE 2393502 3145728)
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: A0008 OK Getquotaroot completed.
Dec 13 10:02:00 mail roundcube: <miltbiho> [4] UPDATE `session` SET `changed` = now(), `vars` = 'bGFuZ3VhZ2V8czo1OiJlbl9VUyI7aW1hcF9uYW1lc3BhY2V8YTo0OntzOjg6InBlcnNvbmFsIjthOjE6e2k6MDthOjI6e2k6MDtzOjA6IiI7aToxO3M6MToiLyI7fX1zOjU6Im90aGVyIjthOjE6e2k6MDthOjI6e2k6MDtzOjc6IlNoYXJlZC8iO2k6MTtzOjE6Ii8iO319czo2OiJzaGFyZWQiO047czoxMDoicHJlZml4X291dCI7czowOiIiO31pbWFwX2RlbGltaXRlcnxzOjE6Ii8iO2ltYXBfbGlzdF9jb25mfGE6Mjp7aTowO047aToxO2E6MDp7fX11c2VyX2lkfHM6MjoiODQiO3VzZXJuYW1lfHM6MTk6InJveS53b25nQGptaS5jb20uaGsiO3N0b3JhZ2VfaG9zdHxzOjk6IjEyNy4wLjAuMSI7c3RvcmFnZV9wb3J0fGk6MTQzO3N0b3JhZ2Vfc3NsfE47cGFzc3dvcmR8czozMjoicThodFdzYlNyc2w1NkptK2FqaUcvUStYNVNIczJNeTMiO2xvZ2luX3RpbWV8aToxNTc2MTk4NDMzO3RpbWV6b25lfHM6MTQ6IkFzaWEvSG9uZ19Lb25nIjtTVE9SQUdFX1NQRUNJQUwtVVNFfGI6MTthdXRoX3NlY3JldHxzOjI2OiJmVUx6ODRIS3ZadlpTbEhHT0FVSDNYNTVrbCI7cmVxdWVzdF90b2tlbnxzOjMyOiJCUU1qSHVYUU9acWNOeW9PenJMUTFTTDU1dXJEUUd1UyI7dGFza3xzOjQ6Im1haWwiO3NraW5fY29uZmlnfGE6NTp7czo2OiJsYXlvdXQiO3M6MTA6IndpZGVzY3JlZW4iO3M6MjI6ImpxdWVyeV91aV9jb2xvcnNfdGhlbWUiO3M6OToiYm9vdHN0cmFwIjtzOjE4OiJlbWJlZF9jc3NfbG9jYXRpb24iO3M6MTc6Ii9zdHlsZXMvZW1iZWQuY3NzIjtzOjE5OiJlZGl0b3JfY3NzX2xvY2F0aW9uIjtzOjE3OiIvc3R5bGVzL2VtYmVkLmNzcyI7czoyNjoibWVkaWFfYnJvd3Nlcl9jc3NfbG9jYXRpb24iO3M6NDoibm9uZSI7fWltYXBfaG9zdHxzOjk6IjEyNy4wLjAuMSI7bWJveHxzOjEyOiJJTkJPWC9MZW5vdm8iO3NvcnRfY29sfHM6NDoiZGF0ZSI7c29ydF9vcmRlcnxzOjQ6IkRFU0MiO1NUT1JBR0VfVEhSRUFEfGE6Mzp7aTowO3M6MTA6IlJFRkVSRU5DRVMiO2k6MTtzOjQ6IlJFRlMiO2k6MjtzOjE0OiJPUkRFUkVEU1VCSkVDVCI7fVNUT1JBR0VfUVVPVEF8YjoxO1NUT1JBR0VfTElTVC1FWFRFTkRFRHxiOjE7cXVvdGFfZGlzcGxheXxzOjQ6InRleHQiO2xpc3RfYXR0cmlifGE6ODp7czo0OiJuYW1lIjtzOjg6Im1lc3NhZ2VzIjtzOjI6ImlkIjtzOjExOiJtZXNzYWdlbGlzdCI7czoxNToib3B0aW9uc21lbnVpY29uIjtzOjQ6InRydWUiO3M6NToiY2xhc3MiO3M6NDI6Imxpc3RpbmcgbWVzc2FnZWxpc3Qgc29ydGhlYWRlciBmaXhlZGhlYWRlciI7czoxNToiYXJpYS1sYWJlbGxlZGJ5IjtzOjIyOiJhcmlhLWxhYmVsLW1lc3NhZ2VsaXN0IjtzOjk6ImRhdGEtbGlzdCI7czoxMjoibWVzc2FnZV9saXN0IjtzOjE0OiJkYXRhLWxhYmVsLW1zZyI7czoxODoiVGhlIGxpc3QgaXMgZW1wdHkuIjtzOjc6ImNvbHVtbnMiO2E6ODp7aTowO3M6NzoidGhyZWFkcyI7aToxO3M6NjoiZnJvbXRvIjtpOjI7
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] C: A0009 LOGOUT
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: * BYE Logging out
Dec 13 10:02:00 mail roundcube: <miltbiho> [2D28] S: A0009 OK Logout completed.

6

Re: iRedAdmin-Pro and RoundCubeMail Error

roy.wong wrote:

after include /etc/httpd/conf.d/iredadmin.conf in /etc/httpd/conf.d/roundcubemail.conf, error :

Don't let me GUESS what the final content is in the /etc/httpd/conf.d/roundcubemail.conf ... Please show us the full content so that others can help troubleshoot.

I didn't see any error in pasted Roundcube log.

----

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 (edited by roy.wong 2019-12-13 14:26:57)

Re: iRedAdmin-Pro and RoundCubeMail Error

ZhangHuangbin wrote:

I didn't see any error in pasted Roundcube log.

Yes, it can show folder and count message number but cannot display. sad
But I use outlook is normal.


ZhangHuangbin wrote:

Don't let me GUESS what the final content is in the /etc/httpd/conf.d/roundcubemail.conf ... Please show us the full content so that others can help troubleshoot.

I found that it had a file call "/etc/httpd/conf.d/roundcubemail-le-ssl.conf". after i rename to .bak then iredadmin can load tongue .
Don't know is it create by  Let's Encrypt Process or not!

/etc/httpd/conf.d/roundcubemail.conf :
Alias /mail "/var/www/roundcubemail/"
Alias /webmail "/var/www/roundcubemail/"
Alias /roundcube "/var/www/roundcubemail/"
#Alias /iredadmin "/var/www/roundcubemail/iredadmin"
<Directory "/var/www/roundcubemail/">
    Options -Indexes
</Directory>

#include /etc/httpd/conf.d/iredadmin.conf


<VirtualHost *:80>
   ServerName mail.domain.com
   ServerAlias domain.com
   DocumentRoot /var/www/roundcubemail/
<Directory /var/www/roundcubemail>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from ALL
    RewriteEngine on
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^(.*)?$ https://%{SERVER_NAME}/$1 [L,R]
</Directory>
</VirtualHost>



/etc/httpd/conf.d/roundcubemail-le-ssl.conf :
<IfModule mod_ssl.c>
<VirtualHost *:443>
   ServerName mail.domain.com
   ServerAlias domain.com
   DocumentRoot /var/www/roundcubemail/
<Directory /var/www/roundcubemail>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from ALL
    RewriteEngine on
# Some rewrite rules in this file were disabled on your HTTPS site,
# because they have the potential to create redirection loops.

#     RewriteCond %{SERVER_PORT} !^443$
#     RewriteRule ^(.*)?$ https://%{SERVER_NAME}$1 [L,R]
</Directory>
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/mail.domain.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mail.domain.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/mail.domain.com/chain.pem
</VirtualHost>
</IfModule>

8

Re: iRedAdmin-Pro and RoundCubeMail Error

Hi Zhang,

Anything i can check on the Roundcube problem ?

Thanks!

9

Re: iRedAdmin-Pro and RoundCubeMail Error

Dear Zhang,

Problem solved after i upgrade the php version to 5.6 ^^"

Thanks!