{"id":102,"date":"2008-12-03T08:56:34","date_gmt":"2008-12-03T01:56:34","guid":{"rendered":"http:\/\/blog.binus-edu.com\/?p=102"},"modified":"2009-04-02T10:59:38","modified_gmt":"2009-04-02T03:59:38","slug":"how-to-add-list-of-email-to-zimbra","status":"publish","type":"post","link":"https:\/\/adityo.blog.binusian.org\/?p=102","title":{"rendered":"How to add list of email account to zimbra and reset client mail account password"},"content":{"rendered":"<h3><span style=\"font-size: x-large;\">&nbsp;How to add list of email to Zimbra using Zmprov<\/span><\/h3>\n<p>What is Zimbra ?<\/p>\n<p>Zimbra is open source server and client software for <a href=\"http:\/\/www.zimbra.com\/products\/\">messaging and collaboration<\/a> &#8211; email, <a href=\"http:\/\/www.zimbra.com\/products\/zimbra_calendar.html\">group calendaring<\/a>, contacts, and web document management and authoring<\/p>\n<p>What is Zmprov ?<\/p>\n<p>Zmprov is a Zimbra tool performs all provisioning tasks in Zimbra LDAP, including creating accounts, aliases, domains, distribution lists, and calendar resources. Each operation is invoked through command-line options, each of which has a long name and a short name. <\/p>\n<p>To use zmprov you must login as zimbra user first from the shell first<\/p>\n<p><code># su zimbra<\/code><\/p>\n<p>you can create one account with a password that is assigned to the default COS.<\/p>\n<p><code>$ zmprov ca name@domain.com password<\/code><\/p>\n<ul>\n<li>Ca= Create Account<\/li>\n<\/ul>\n<p>\nYou can also add a bunch of email account using this steps :<\/p>\n<p>\n1. The Zmprov command will accept commands from a file (or stdin) as input. Create a text file (&quot;commands.zmp&quot; for example) with the zmprov subcommands each on a line. <\/p>\n<p><code>$ vim commands.zmp<\/code><\/p>\n<p>and enter this format :<\/p>\n<p>CreateDomain (Domain Name)<br \/>\ncreateAccount (Email Namel) (Password) displayName &#8216;(Owner name)&#8217; givenName (Front Name) sn (Last Name)<\/p>\n<p>Example : <\/p>\n<p>&nbsp; <code>createDomain binus.ac.id<br \/>\n&nbsp; createAccount andy@binus.ac.id test321 displayName 'Andy Anderson' givenName Andy sn Anderson<br \/>\n&nbsp; createAccount adit@binus.ac.id test321 displayName 'Adit Pramono' givenName Adit sn Pramono<br \/>\n&nbsp; createAccount betty@domain.com bety567 displayName 'Betty Brown' givenName Betty sn Brown<\/code><\/p>\n<p>then save it as commands.zmp files<\/p>\n<p>\n2.Then send the contents of the file to zmprov. By the way You can use zimbra or root user to execute it.<\/p>\n<p>As Zimbra:<\/p>\n<p><code>&nbsp;$ zmprov &lt; commands.zmp<\/code><\/p>\n<p>As Root:<\/p>\n<p>&nbsp;<code># cat commands.zmp | su - zimbra -c zmprov<\/code><br \/>\n&nbsp;<\/p>\n<p>Now you can checked the account using this command :<\/p>\n<p><code>$ zmprov gaa binus.ac.id<br \/>\nandy@binus.ac.id <br \/>\nadit@binus.ac.id<br \/>\n<\/code><code>betty@binus.ac.i<\/code>d<\/p>\n<p>You can also use zmprov da to delete an email account<\/p>\n<p>$zmprov da <a href=\"mailto:user@domain.com\">user@domain.com<\/a><\/p>\n<h3>&nbsp;<\/h3>\n<h3>How to reset client mail account password<\/h3>\n<p>To reset the administrative password:<\/p>\n<pre>\n$su zimbra\n$zmprov sp &lt;admin email address&gt; &lt;new password&gt;\n<\/pre>\n<p>To get a list of all administrators:<\/p>\n<pre>\n$su zimbra\n$zmprov gaaa\n<\/pre>\n<h3>How to changes Zimbra Logon picture<\/h3>\n<p>Just put your custom logo .mg files on \/opt\/zimbra\/jetty-6.1.5\/webapps\/zimbra\/skins\/_base\/logos\/LoginBanner.png , don&#8217;t forget to changes the files owner to zimbra:zimbra<\/p>\n<p>&nbsp;if you want to edit logo url or page you can edit the skin.properties go to<br \/>\n\/opt\/zimbra\/jetty-6.1.5\/webapps\/zimbra\/skins\/_base\/base\/skin.properties<\/p>\n<p>edit this line : <br \/>\nLogoImgDir&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;= \/zimbra\/skins\/@SkinName@\/logos<br \/>\nLogoURL&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;= http:\/\/www.yourcompany.com<br \/>\n&nbsp;<\/p>\n<p>You can also changes the other modifcation on the login pages on \/opt\/zimbra\/jetty-6.1.5\/webapps\/zimbra\/WEB-INF\/classes\/messages\/ZmMsg.properties<\/p>\n<p><span style=\"font-size: x-large;\">How to changes all account mail quota<\/span><\/p>\n<p>you can go to<\/p>\n<p><a href=\"http:\/\/blog.binus-edu.com\/?p=153\"> here<\/a><\/p>\n<blockquote>\n<p>&nbsp;<\/p>\n<p>Referer :&nbsp;http:\/\/wiki.zimbra.com\/index.php?title=Zmprov<\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;How to add list of email to Zimbra using Zmprov What is Zimbra ? Zimbra is open source server and client software for messaging and collaboration &#8211; email, group calendaring, contacts, and web document management and authoring What is Zmprov ? Zmprov is a Zimbra tool performs all provisioning tasks in Zimbra LDAP, including creating [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[495],"tags":[906],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-zimbra","tag-how-to-create-bunch-of-mail-account-on-zimbra"],"_links":{"self":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=102"}],"version-history":[{"count":1,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/102\/revisions"}],"predecessor-version":[{"id":278,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/102\/revisions\/278"}],"wp:attachment":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}