Difference between revisions of "Yutaka-Notes-ZD2.0"

(Network proxy setting in ZimbraDesktop2.0)
 
(No difference)

Latest revision as of 13:30, 11 August 2011

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

This tip's modifiaction step is pretty much same as previous one.

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 conf entry 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

Then insert the data with the entry id;

sqlite> select * from directory_attrs where name="zimbraHttpProxyURL";
1|zimbraHttpProxyURL|http://(userid):(password)@(proxy host name):(proxy port number)

Detail about the data format of zimbraHttpProxyURL fields: http://wiki.zimbra.com/wiki/ZCS_4.5_HTTP_Proxy_Guide

Jump to: navigation, search