{"id":1149,"date":"2015-06-24T14:57:17","date_gmt":"2015-06-24T06:57:17","guid":{"rendered":"https:\/\/umarzuki.org\/blogku\/?p=1149"},"modified":"2015-06-24T14:57:17","modified_gmt":"2015-06-24T06:57:17","slug":"menyelaraskan-folder-akaun-emel-zimbra","status":"publish","type":"post","link":"https:\/\/umarzuki.org\/blog\/2015\/06\/24\/menyelaraskan-folder-akaun-emel-zimbra\/","title":{"rendered":"Menyelaraskan folder akaun emel zimbra"},"content":{"rendered":"<p>Untuk menyelaraskan folder akaun emel zimbra dari satu ZCS ke ZCS yang lain untuk tujuan migrasi:<\/p>\n<p>Dapatkan senarai akaun yang hendak diselaraskan<\/p>\n<p><code>su - zimbra<br \/>\nzmaccts | grep \"@domain\" | cut -d \" \" -f 1 > \/tmp\/accounts.txt<\/code><\/p>\n<p>Contoh kod skrip imapsync<\/p>\n<p>[code lang=&#8217;bash&#8217;]#!\/bin\/bash<br \/>\nwhile IFS= read file<br \/>\ndo<br \/>\n  imapsync &#8211;noauthmd5 &#8211;syncinternaldates &#8211;buffersize 65535000 &#8211;subscribe \\<br \/>\n  &#8211;host1 202.x.x.x &#8211;user1 $file &#8211;authuser1 admin@domain &#8211;password1 password1 &#8211;nofastio1 &#8211;authmech1 plain \\<br \/>\n  &#8211;host2 10.x.x.x &#8211;ssl2 &#8211;user2 $file &#8211;authuser2 admin@domain &#8211;password2 password2 &#8211;nofastio2 &#8211;authmech2 plain 2> zimbrasyncerror.txt<br \/>\ndone < \"accounts.txt\"[\/code]\n\npada baris ke-6, kita menggunakan option --ssl2 kerana server destinasi hanya terdapat port 993 (IMAP4 ssl)\n\n\n\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Untuk menyelaraskan folder akaun emel zimbra dari satu ZCS ke ZCS yang lain untuk tujuan migrasi: Dapatkan senarai akaun yang hendak diselaraskan su &#8211; zimbra zmaccts | grep &#8220;@domain&#8221; | cut -d &#8221; &#8221; -f 1 > \/tmp\/accounts.txt Contoh kod skrip imapsync [code lang=&#8217;bash&#8217;]#!\/bin\/bash while IFS= read file do imapsync &#8211;noauthmd5 &#8211;syncinternaldates &#8211;buffersize 65535000 &#8211;subscribe [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[251],"tags":[375,93],"class_list":["post-1149","post","type-post","status-publish","format-standard","hentry","category-email","tag-imapsync","tag-zimbra"],"_links":{"self":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/1149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/comments?post=1149"}],"version-history":[{"count":0,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/1149\/revisions"}],"wp:attachment":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/media?parent=1149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/categories?post=1149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/tags?post=1149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}