{"id":808,"date":"2013-03-12T23:42:03","date_gmt":"2013-03-12T16:42:03","guid":{"rendered":"http:\/\/blog.iwayvietnam.com\/tuanta\/?p=808"},"modified":"2013-03-14T15:09:45","modified_gmt":"2013-03-14T08:09:45","slug":"setup-z-push-with-zimbra-to-synchronize-emails-calendar-and-contacts-with-mobile-devices","status":"publish","type":"post","link":"https:\/\/blog.iwayvietnam.com\/tuanta\/2013\/03\/setup-z-push-with-zimbra-to-synchronize-emails-calendar-and-contacts-with-mobile-devices\/","title":{"rendered":"Setup Z-Push with Zimbra to synchronize Emails, Calendar and Contacts with Mobile devices"},"content":{"rendered":"<p>Hey, cu\u1ed1i c\u00f9ng th\u00ec v\u1ea5n \u0111\u1ec1 sync Emails, Calendar, Contacts t\u1eeb h\u1ed9p th\u01b0 <a href=\"http:\/\/www.zimbra.com\/\" target=\"_blank\">Zimbra<\/a> (Open Source Edition) v\u1edbi Mobile devices \u0111\u00e3 \u0111\u01b0\u1ee3c gi\u1ea3i quy\u1ebft \u1ed5n th\u1ecfa v\u1edbi <a href=\"http:\/\/z-push.sourceforge.net\/\" target=\"_blank\">Z-Push<\/a> :).\u00a0 Gi\u1ea3i ph\u00e1p \u0111\u00e3 \u0111\u01b0\u1ee3c tested v\u1edbi chi\u1ebfc tablet <a href=\"http:\/\/www.google.com\/nexus\/7\/\" target=\"_blank\">Google Nexus 7<\/a> v\u00e0 chi\u1ebfc smartphone <a href=\"http:\/\/www.gsmarena.com\/lg_optimus_lte_su640-4213.php\" target=\"_blank\">LG Optimus LTE SU640<\/a> (\u0111\u1ec1u \u0111\u00e3 n\u00e2ng c\u1ea5p l\u00ean ch\u1ea1y <a href=\"http:\/\/www.cyanogenmod.org\/\" target=\"_blank\">CyanogenMod<\/a> 10.1 ~t\u01b0\u01a1ng \u0111\u01b0\u01a1ng v\u1edbi Android 4.2.2) c\u1ee7a t\u00f4i.<\/p>\n<p>M\u00e1y ch\u1ee7 Zimbra 8 \u0111ang ho\u1ea1t \u0111\u1ed9ng tr\u00ean CentOS Linux 6. Vi\u1ec7c c\u00e0i \u0111\u1eb7t Z-Push c\u0169ng kh\u00e1 \u0111\u01a1n gi\u1ea3n, theo c\u00e1c b\u01b0\u1edbc:<\/p>\n<ol>\n<li>Enable RPMFusion (n\u1ebfu b\u1ea1n ch\u01b0a t\u1eebng th\u1eed m\u00f3n n\u00e0y th\u00ec qu\u1ea3 th\u1ef1c l\u00e0 h\u01a1i ti\u1ebfc cho c\u00f4ng s\u1ee9c theo \u0111u\u1ed5i c\u00e1c d\u00f2ng RPM-based Linux nh\u01b0 Fedora, Red Hat, CentOS, etc \ud83d\ude42 ) theo h\u01b0\u1edbng d\u1eabn <a href=\"http:\/\/rpmfusion.org\/Configuration\" target=\"_blank\">http:\/\/rpmfusion.org\/Configuration<\/a><\/li>\n<li>C\u00e0i \u0111\u1eb7t Z-Push b\u1eb1ng YUM:<br \/>\n<code>yum install z-push<\/code><\/li>\n<li>C\u1ea5u h\u00ecnh Z-Push trong file <code>\/etc\/z-push\/config.php<\/code>, l\u01b0u \u00fd m\u1ea5y tham s\u1ed1 sau:<br \/>\n<code>\/\/ Update existing fields in config<br \/>\ndefine('TIMEZONE', 'Asia\/Ho_Chi_Minh');<br \/>\ndefine('PROVISIONING', false);<br \/>\n$BACKEND_PROVIDER = \"BackendZimbra\";<\/code><\/li>\n<li>T\u1ea3i <a href=\"http:\/\/sourceforge.net\/projects\/zimbrabackend\/\" target=\"_blank\">Z-Push Zimbra backend<\/a> v\u1ec1 b\u1eb1ng SVN:<br \/>\n<code>svn checkout svn:\/\/svn.code.sf.net\/p\/zimbrabackend\/code\/zimbra-backend\/branches\/z-push-2 \/usr\/share\/z-push\/backend\/zimbra<\/code><\/li>\n<li>C\u1ea5u h\u00ecnh Z-Push Zimbra backend trong file <code>\/usr\/share\/z-push\/backend\/zimbra\/config.php<\/code>, l\u01b0u \u00fd m\u1ea5y tham s\u1ed1 sau:<br \/>\n<code>define('ZIMBRA_URL', 'https:\/\/mail.domain.com');<br \/>\ndefine('ZIMBRA_USER_DIR', 'zimbra');<br \/>\ndefine('ZIMBRA_SYNC_CONTACT_PICTURES', true);<br \/>\ndefine('ZIMBRA_VIRTUAL_CONTACTS',true);<br \/>\ndefine('ZIMBRA_VIRTUAL_APPOINTMENTS',true);<br \/>\ndefine('ZIMBRA_VIRTUAL_TASKS',true);<br \/>\ndefine('ZIMBRA_IGNORE_EMAILED_CONTACTS',true);<br \/>\ndefine('ZIMBRA_HTML',true);<br \/>\ndefine('ZIMBRA_ENFORCE_VALID_EMAIL', true);<br \/>\ndefine('ZIMBRA_SMART_FOLDERS',false);<br \/>\ndefine('ZIMBRA_RETRIES_ON_HOST_CONNECT_ERROR',5);<br \/>\ndefine('ZIMBRA_LOCAL_CACHE', true);<br \/>\ndefine('ZIMBRA_DEBUG',false);<\/code><\/li>\n<li>Kh\u1edfi \u0111\u1ed9ng l\u1ea1i Web server v\u00e0 th\u1eed truy c\u1eadp v\u00e0o \u0111\u1ecba ch\u1ec9 http:\/\/&lt;your-mail-server&gt;\/Microsoft-Server-ActiveSync<br \/>\nH\u1ec7 th\u1ed1ng s\u1ebd hi\u1ec7n h\u1ed9p tho\u1ea1i nh\u1eadp username\/password; nh\u1eadp \u0111\u00fang t\u00e0i kho\u1ea3n truy c\u1eadp h\u1ed9p th\u01b0 Zimbra c\u1ee7a b\u1ea1n s\u1ebd v\u00e0o trang web th\u00f4ng tin v\u1ec1 Z-Push<\/li>\n<li>C\u00e0i \u0111\u1eb7t t\u00e0i kho\u1ea3n Email sync tr\u00ean Mobile devices c\u1ee7a b\u1ea1n (\u1edf \u0111\u00e2y t\u00f4i \u0111ang d\u00f9ng thi\u1ebft b\u1ecb ch\u1ea1y Android) khai b\u00e1o \u0111ang k\u1ebft n\u1ed1i t\u1edbi Exchange Server (Z-Push gi\u1ea3 l\u1eadp) kh\u00f4ng s\u1eed d\u1ee5ng SSL; nh\u1edb b\u1ecf ch\u1ecdn Sync SMS v\u00ec Zimbra kh\u00f4ng h\u1ed7 tr\u1ee3 l\u01b0u th\u00f4ng tin n\u00e0y.<\/li>\n<li>V\u00e0&#8230; a-l\u00ea-h\u1ea5p&#8230; Email, Calendar, Contacts t\u1eeb h\u1ed9p th\u01b0 Zimbra c\u1ee7a b\u1ea1n s\u1ebd \u0111\u01b0\u1ee3c Sync v\u1ec1 tablet, smartphone.<\/li>\n<\/ol>\n<p>Thanks Z-Push and all other Open Source communities. Your work is so great!<\/p>\n<p>P.S. To: iWayers: Zimbra server c\u1ee7a ch\u00fang ta \u0111\u00e3 c\u00e0i Z-Push! C\u00f2n ch\u1edd g\u00ec n\u1eefa m\u00e0 kh\u00f4ng sync th\u01b0 v\u1ec1 smartphone c\u1ee7a c\u00e1c b\u1ea1n \u0111i \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey, cu\u1ed1i c\u00f9ng th\u00ec v\u1ea5n \u0111\u1ec1 sync Emails, Calendar, Contacts t\u1eeb h\u1ed9p th\u01b0 Zimbra (Open Source Edition) v\u1edbi Mobile devices \u0111\u00e3 \u0111\u01b0\u1ee3c gi\u1ea3i quy\u1ebft \u1ed5n th\u1ecfa v\u1edbi Z-Push :).\u00a0 Gi\u1ea3i ph\u00e1p \u0111\u00e3 \u0111\u01b0\u1ee3c tested v\u1edbi chi\u1ebfc tablet Google Nexus 7 v\u00e0 chi\u1ebfc smartphone LG Optimus LTE SU640 (\u0111\u1ec1u \u0111\u00e3 n\u00e2ng c\u1ea5p l\u00ean ch\u1ea1y CyanogenMod 10.1<a class=\"more-link\" href=\"https:\/\/blog.iwayvietnam.com\/tuanta\/2013\/03\/setup-z-push-with-zimbra-to-synchronize-emails-calendar-and-contacts-with-mobile-devices\/\">Continue reading <span class=\"screen-reader-text\">&#8220;Setup Z-Push with Zimbra to synchronize Emails, Calendar and Contacts with Mobile devices&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4039,4042,34,17],"tags":[],"class_list":["post-808","post","type-post","status-publish","format-standard","hentry","category-android","category-mobility","category-weekly-tips","category-zimbra","entry"],"_links":{"self":[{"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/posts\/808"}],"collection":[{"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/comments?post=808"}],"version-history":[{"count":3,"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/posts\/808\/revisions"}],"predecessor-version":[{"id":815,"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/posts\/808\/revisions\/815"}],"wp:attachment":[{"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/media?parent=808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/categories?post=808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/tags?post=808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}