Yutaka-Notes-ZD2.0: Difference between revisions

Line 42: Line 42:
</pre>
</pre>


Then you insert the data with the entry id;
Then insert the data with the entry id;


<pre>
<pre>

Revision as of 21:54, 7 October 2010

To Use Extended ISO-2022-JP in ZimbraDesktop2.0

Modify JVM parameter in zdesktop.conf of C:\Documents and Settings\(user)\Local Settings\Application Data\Zimbra\Zimbra Desktop\conf folder like below:

java.arg.14=-Dzimbra.config=${DATA_ROOT}\conf\localconfig.xml
java.arg.15=-Dzimbra.home=${DATA_ROOT}
java.arg.16=-Djava.io.tmpdir=${DATA_ROOT}\data\tmp\java
java.arg.17=-Djava.net.useSystemProxies=true
java.arg.18=-Dsun.net.inetaddr.ttl=10
java.arg.19=-Dsun.nio.cs.map=x-windows-iso2022jp/ISO-2022-JP

#********************************************************************
# Application Properties
#********************************************************************
app.arg.1=${DATA_ROOT}\jetty\etc\jetty.xml


You specify x-windows-iso2022jp as ISO-2022-JP by the line, java.arg.19=-Dsun.nio.cs.map=x-windows-iso2022jp/ISO-2022-JP


To Change zimbraPrefMailDefaultCharset in ZimbraDesktop2.0

When you have sqlite3.exe in C:\Program Files\Zimbra\Zimbra Desktop\win32\sqlite3.exe, you can start cli with

>"C:\Program Files\Zimbra\Zimbra Desktop\win32\sqlite3.exe" "C:\Documents and Settings\((user name))\Local Settings\Application Data\Zimbra\Zimbra Desktop\sqlite\zimbra.db"

Then check the entry id for your account by

sqlite> select * from directory;
entry_id|entry_type|entry_name|zimbra_id|modified
1|conf|config||0
2|cos|default|179297db-04de-44e3-a5cd-e347baf688ea|0
8|acct|local@host.local|ffffffff-ffff-ffff-ffff-ffffffffffff|0
13|acct|((your mail address))|69ae21ef-21c4-4782-b0d9-0999bbf71b57|0

Then insert the data with the entry id;

sqlite> select * from directory_attrs where entry_id=13 AND name="zimbraPrefMailDefaultCharset";
entry_id|name|value
13|zimbraPrefMailDefaultCharset|iso-2022-jp

Network proxy setting in ZimbraDesktop2.0

Jump to: navigation, search