<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Upgrading Roundcube to 1.7.0]]></title>
	<link rel="self" href="https://forum.iredmail.org/feed-atom-topic21141.xml" />
	<updated>2026-05-12T09:35:12Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.iredmail.org/topic21141-upgrading-roundcube-to-170.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Upgrading Roundcube to 1.7.0]]></title>
			<link rel="alternate" href="https://forum.iredmail.org/post91945.html#p91945" />
			<content type="html"><![CDATA[<p>DRAFT upgrade tutorial:<br /><a href="https://docs.iredmail.org/upgrade.iredmail.1.8.0-1.8.1.html">https://docs.iredmail.org/upgrade.iredm … 1.8.1.html</a></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>https://forum.iredmail.org/user2.html</uri>
			</author>
			<updated>2026-05-12T09:35:12Z</updated>
			<id>https://forum.iredmail.org/post91945.html#p91945</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Upgrading Roundcube to 1.7.0]]></title>
			<link rel="alternate" href="https://forum.iredmail.org/post91944.html#p91944" />
			<content type="html"><![CDATA[<p>This is a working sample Nginx config:<br /><a href="https://github.com/iredmail/iRedMail/commit/f1be6a1524823459263fc8f5db111728529680a6#diff-2b8636f86b6c70f62e8baee2ceb40bd0e7b608c2eaab0dddf4085cb8f67e50ca">https://github.com/iredmail/iRedMail/co … b8f67e50ca</a></p><p>I will release iRedMail-1.8.1 shortly with detailed upgrade tutorial, so that you guys don&#039;t need to go through this pain.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>https://forum.iredmail.org/user2.html</uri>
			</author>
			<updated>2026-05-12T08:35:05Z</updated>
			<id>https://forum.iredmail.org/post91944.html#p91944</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Upgrading Roundcube to 1.7.0]]></title>
			<link rel="alternate" href="https://forum.iredmail.org/post91943.html#p91943" />
			<content type="html"><![CDATA[<p>Maybe this info will help someone.</p><p>After upgrading to Roundcube 1.7.0, before restarting nginx and php-fpm services, it is necessary to alter &quot;/etc/nginx/templates/roundcube.tmpl&quot; to the following:</p><div class="codebox"><pre><code>#
# Roundcube 1.7+ fixed Nginx template
#

#
# Redirect root to /mail/
#
location = / {
    return 301 /mail/;
}

#
# Redirect /mail -&gt; /mail/
#
location = /mail {
    return 301 /mail/;
}

#
# Roundcube front controller
#
location /mail/ {
    alias /opt/www/roundcubemail/public_html/;
    index index.php;

    try_files $uri $uri/ @roundcube;
}

#
# Internal rewrite to index.php
#
location @roundcube {
    rewrite ^ /mail/index.php last;
}

#
# PHP handling
#
location ~ ^/mail/(.+\.php)(/.+)?$ {

    fastcgi_split_path_info ^/mail/(.+\.php)(/.+)$;

    include /etc/nginx/templates/hsts.tmpl;
    include /etc/nginx/templates/fastcgi_php.tmpl;

    fastcgi_param SCRIPT_FILENAME /opt/www/roundcubemail/public_html/$1;
    fastcgi_param PATH_INFO $fastcgi_path_info;
}</code></pre></div><p>This works for me, but if there is a better or more elegant solution, please post it.</p>]]></content>
			<author>
				<name><![CDATA[veco68]]></name>
				<uri>https://forum.iredmail.org/user49457.html</uri>
			</author>
			<updated>2026-05-12T07:11:36Z</updated>
			<id>https://forum.iredmail.org/post91943.html#p91943</id>
		</entry>
</feed>
