<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Roundcube folder name issue]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic3833.xml" />
	<updated>2012-08-29T14:17:39Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic3833-roundcube-folder-name-issue.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Roundcube folder name issue]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17943.html#p17943" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>pang wrote:</cite><blockquote><p>btw, how to import user email forwarding settings? does it only controlled by vmail.alias.goto fileld?</p></blockquote></div><p>Yes.<br /></p><div class="quotebox"><cite>pang wrote:</cite><blockquote><p>I see this field is a duplicate copy of local user email address, just add forwarding address to make the field as &quot;user@local.com, external1@a.com, external2@b.com&quot;?</p></blockquote></div><p>Yes.<br /></p><div class="quotebox"><cite>pang wrote:</cite><blockquote><p>Also roundcube Chinese fonts a bit ugly, is it just load centos default font and do you have any idea to make it more beautiful? Thanks.</p></blockquote></div><p>It&#039;s a web browser issue, not Roundcube. So please change the default font (for Chinese characters) in your web browser instead. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-08-29T14:17:39Z</updated>
			<id>http://www.iredmail.org/forum/post17943.html#p17943</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundcube folder name issue]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17939.html#p17939" />
			<content type="html"><![CDATA[<p>Hi Zhang,</p><p>We managed to solved the encoding issue by using php mbstring function, thanks very much for your helpful assistance smile</p><p>btw, how to import user email forwarding settings? does it only controlled by vmail.alias.goto fileld? <br />I see this field is a duplicate copy of local user email address, just add forwarding address to make the field as &quot;user@local.com, external1@a.com, external2@b.com&quot;?</p><p>Also roundcube Chinese fonts a bit ugly, is it just load centos default font and do you have any idea to make it more beautiful? Thanks.</p>]]></content>
			<author>
				<name><![CDATA[pang]]></name>
				<uri>http://www.iredmail.org/forum/user31733.html</uri>
			</author>
			<updated>2012-08-29T02:18:02Z</updated>
			<id>http://www.iredmail.org/forum/post17939.html#p17939</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundcube folder name issue]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17903.html#p17903" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>pang wrote:</cite><blockquote><p>Moreover, it did not handle names with space properly and breaks such name into separate lines.</p></blockquote></div><p>You have to quote file/directory name which contains space or other special characters with single/double quotes. For example, &quot;name with space&quot;.</p><div class="quotebox"><cite>pang wrote:</cite><blockquote><p>Is mutf7 encoding be the must for imap and is there any script tool can achieve this?</p></blockquote></div><p>I&#039;m afraid you have to use utf7 as defined in RFC. Actually, as mentioned in RFC, IMAP uses modified utf7.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-08-27T09:06:00Z</updated>
			<id>http://www.iredmail.org/forum/post17903.html#p17903</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundcube folder name issue]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17902.html#p17902" />
			<content type="html"><![CDATA[<p>Hi Zhang,</p><p>when we run # doveadm mailbox mutf7 -8 .*<br />it shows:<br />.Parts Quotation<br />.&amp;U1qcMg-<br />.&amp;WDFQ+Q-sample</p><p>seems ok but when ll -a, it does not show such mutf names. Also roundcube keep saying those mutf folders not exist. thanks!</p>]]></content>
			<author>
				<name><![CDATA[pang]]></name>
				<uri>http://www.iredmail.org/forum/user31733.html</uri>
			</author>
			<updated>2012-08-27T08:37:26Z</updated>
			<id>http://www.iredmail.org/forum/post17902.html#p17902</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundcube folder name issue]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17901.html#p17901" />
			<content type="html"><![CDATA[<p>Hi Zhang,</p><p>Thanks for your helpful hints. yes, the issue was because dovecot mb2md does not convert international folder names to utf8.<br />Since we do not know user passwords we are not able to use that php script.</p><p>we have used iconv script to convert names to utf8 and they can show in roundcube webmail, but when click to subscribe them, roundcube says those folder (such as &quot;.&amp;WDFQ+Q-sample&quot;, etc) not exist.</p><p>we have tried using &quot;doveadm mailbox mutf7 ...&quot; to convert those utf8 names to mutf7 name but it seems the command only show mutf7 string result (like .&amp;WDFQ+Q-sample&quot;) on screen but did not convert folders actually. Moreover, it did not handle names with space properly and breaks such name into separate lines. <br />Is mutf7 encoding be the must for imap and is there any script tool can achieve this? Thanks!</p>]]></content>
			<author>
				<name><![CDATA[pang]]></name>
				<uri>http://www.iredmail.org/forum/user31733.html</uri>
			</author>
			<updated>2012-08-27T08:21:34Z</updated>
			<id>http://www.iredmail.org/forum/post17901.html#p17901</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundcube folder name issue]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17884.html#p17884" />
			<content type="html"><![CDATA[<p>Which mb2md script? This one? <a href="http://dovecot.org/tools/mb2md.pl">http://dovecot.org/tools/mb2md.pl</a></p><p>As mentioned in the link in my previous reply, IMAP folder name must be encoded in UTF7, it&#039;s defined in RFC. So i guess your mb2md script doesn&#039;t convert it. Probably the author didn&#039;t test CJK at all. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>If you&#039;re familiar with PHP, you can find below one, it creates folder with UTF7 encoded characters instead of Chinese characters directly: <a href="http://php.net/manual/en/function.imap-createmailbox.php">http://php.net/manual/en/function.imap- … ailbox.php</a></p><p>And, example in Python programming language:<br /></p><div class="quotebox"><blockquote><p>&gt;&gt;&gt; s = u&#039;简体中文&#039;<br />&gt;&gt;&gt; s.encode(&#039;utf-7&#039;)<br />&#039;<span style="color: red">+</span>e4BPU04tZYc-&#039;</p></blockquote></div><p>So the folder &#039;简体中文&#039; shown in webmail must be &#039;<span style="color: red">.&amp;</span>e4BPU04tZYc-&#039; on file system. e.g. /path/to/folder/INBOX/.&amp;e4BPU04tZYc-/.</p><p>Hope it helps.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-08-25T14:28:15Z</updated>
			<id>http://www.iredmail.org/forum/post17884.html#p17884</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundcube folder name issue]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17881.html#p17881" />
			<content type="html"><![CDATA[<p>Hi Zhang,</p><p>Those mail folders were created by openwebmail in mbox format, we use mb2md convert them to mdir format. During the convert script process, we can see those traditional chinese show ok.</p><p>But after that roundcube webmail cannot recognize them. If we change browser encode to big5 then those folder names show ok in webmail but all other non big5 links are broken. we tried change default charset for email to big5 in main.inc.php but it does not work for folder name, any idea? Thanks for your suggestion.</p>]]></content>
			<author>
				<name><![CDATA[pang]]></name>
				<uri>http://www.iredmail.org/forum/user31733.html</uri>
			</author>
			<updated>2012-08-25T13:53:25Z</updated>
			<id>http://www.iredmail.org/forum/post17881.html#p17881</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundcube folder name issue]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17870.html#p17870" />
			<content type="html"><![CDATA[<p>How did you migrate these mailboxes? If old server uses Maildir/ format, you can simply copy them to new server.</p><p>Reference: <a href="http://tools.ietf.org/html/rfc3501#section-5.1">http://tools.ietf.org/html/rfc3501#section-5.1</a></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-08-25T08:15:45Z</updated>
			<id>http://www.iredmail.org/forum/post17870.html#p17870</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Roundcube folder name issue]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post17867.html#p17867" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version: 0.8.1<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql<br />- Linux/BSD distribution name and version: centos6.2<br />- Related log if you&#039;re reporting an issue: <br />==== </p><p>Hi Zhang,</p><p>We got a lot users with Big5 name email folders on old server migrated to new server, centos can show those Big5 folder names during migration script process. <br />But after migration, Roundcube cannot recognize those folders even we set webmail to traditional chinese interface and set big5 for email default charset. <br />It seems Roundcube only recognize big5 for email, not for folder name, any idea to fix the issue? Thanks.</p>]]></content>
			<author>
				<name><![CDATA[pang]]></name>
				<uri>http://www.iredmail.org/forum/user31733.html</uri>
			</author>
			<updated>2012-08-25T04:47:48Z</updated>
			<id>http://www.iredmail.org/forum/post17867.html#p17867</id>
		</entry>
</feed>
