<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux T&#38;T &#187; Zimbra</title>
	<atom:link href="http://linux.wxs.ro/category/zimbra/feed/" rel="self" type="application/rss+xml" />
	<link>http://linux.wxs.ro</link>
	<description>WladyX’s collection of linux tips&#38;tricks</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:42:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CLI zmtlsctl to set Zimbra Web Server Mode</title>
		<link>http://linux.wxs.ro/2011/04/27/cli-zmtlsctl-to-set-zimbra-web-server-mode/</link>
		<comments>http://linux.wxs.ro/2011/04/27/cli-zmtlsctl-to-set-zimbra-web-server-mode/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 11:27:49 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1422</guid>
		<description><![CDATA[zmtlsctl [mode] http &#8211; http only, the user would browse to http://zimbra.domain.com https &#8211; https only, the user would browse to https://zimbra.domain.com http:// is denied. both &#8211; A user can go to http:// or https:// and will keep that mode for their entire session. mixed &#8211; If the user goes to http:// it will switch [...]]]></description>
			<content:encoded><![CDATA[<p><strong>zmtlsctl [mode]</strong></p>
<p><strong>http</strong> &#8211; http only, the user would browse to http://zimbra.domain.com<br />
<strong>https</strong> &#8211; https only, the user would browse to https://zimbra.domain.com http:// is denied.<br />
<strong>both</strong> &#8211; A user can go to http:// or https:// and will keep that mode for their entire session.<br />
<strong>mixed</strong> &#8211; If the user goes to http:// it will switch to https:// for the login only, then will revert to http:// for normal session traffic. If they browse to https:// then they will stay https://<br />
<strong>redirect</strong> &#8211; Like mixed if the user goes to http:// it will switch to https:// but they will stay https:// for their entire session.</p>
<p><a href="http://wiki.zimbra.com/index.php?title=Zmtlsctl"> source</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2011/04/27/cli-zmtlsctl-to-set-zimbra-web-server-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing a StartSSL SSL certificate on zimbra</title>
		<link>http://linux.wxs.ro/2010/10/28/installing-a-startssl-ssl-certificate-on-zimbra/</link>
		<comments>http://linux.wxs.ro/2010/10/28/installing-a-startssl-ssl-certificate-on-zimbra/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 10:01:46 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1128</guid>
		<description><![CDATA[1. Download the ca.pem [1] and sub.class1.server.ca.pem [2] to /tmp/ 2. Cat the CA certs to form a single CA certificate chain file cat ca.pem sub.class1.server.ca.pem &#62; ca_bundle.crt 3. Place server certificate in /tmp/ssl.crt. 4. Place the private key in /opt/zimbra/ssl/zimbra/commercial/commercial.key 5. Deploy the commercial certificate with zmcertmgr as the root user. cd /opt/zimbra/bin ./zmcertmgr [...]]]></description>
			<content:encoded><![CDATA[<p>1. Download the ca.pem <a title="http://www.startssl.com/certs/ca.pem" rel="nofollow" href="http://www.startssl.com/certs/ca.pem">[1]</a> and sub.class1.server.ca.pem <a title="http://www.startssl.com/certs/sub.class1.server.ca.pem" rel="nofollow" href="http://www.startssl.com/certs/sub.class1.server.ca.pem">[2]</a> to /tmp/</p>
<p>2. Cat the CA certs to form a single CA certificate chain file</p>
<pre> cat ca.pem sub.class1.server.ca.pem &gt; ca_bundle.crt
</pre>
<p>3. Place server certificate in /tmp/ssl.crt.</p>
<p>4. Place the private key in /opt/zimbra/ssl/zimbra/commercial/commercial.key</p>
<p>5. Deploy the commercial certificate with zmcertmgr as the root user.</p>
<pre> cd /opt/zimbra/bin
 ./zmcertmgr deploycrt comm /tmp/ssl.crt /tmp/ca_bundle.crt
</pre>
<p>6. Restart the zimbra services</p>
<pre> su zimbra
 zmcontrol stop
 zmcontrol start

<a href="http://wiki.zimbra.com/wiki/Installing_a_StartSSL_SSL_Certificate_with_zmcertmgr">source</a>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2010/10/28/installing-a-startssl-ssl-certificate-on-zimbra/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Zimbra Database errors &#8211; table didn&#8217;t close properly</title>
		<link>http://linux.wxs.ro/2010/09/14/zimbra-database-errors-table-didnt-close-properly/</link>
		<comments>http://linux.wxs.ro/2010/09/14/zimbra-database-errors-table-didnt-close-properly/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 13:13:00 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=1010</guid>
		<description><![CDATA[error: Database errors found. /opt/zimbra/mysql/bin/mysqlcheck --defaults-file=/opt/zimbra/conf/my.cnf -S /opt/zimbra/db/mysql.sock -A -C -s -u root --password={password] zimbra.jiveID warning : 1 client is using or hasn't closed the table properly solution: su - zimbra mysql use zimbra repair table jiveID; source]]></description>
			<content:encoded><![CDATA[<p>error:<br />
<code>Database errors found.<br />
/opt/zimbra/mysql/bin/mysqlcheck --defaults-file=/opt/zimbra/conf/my.cnf -S /opt/zimbra/db/mysql.sock -A -C -s -u root --password={password]<br />
zimbra.jiveID<br />
warning : 1 client is using or hasn't closed the table properly </code></p>
<p>solution:<br />
<code>su - zimbra<br />
mysql<br />
use zimbra<br />
repair table jiveID;</code></p>
<p><a href="http://www.zimbra.com/forums/installation/28404-solved-database-errors-table-didn-t-close-properly.html">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2010/09/14/zimbra-database-errors-table-didnt-close-properly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zimbra: Transport Table for external servers</title>
		<link>http://linux.wxs.ro/2010/03/10/zimbra-transport-table-for-external-servers/</link>
		<comments>http://linux.wxs.ro/2010/03/10/zimbra-transport-table-for-external-servers/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 09:49:47 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=680</guid>
		<description><![CDATA[Configuring transport tables to relay emails to a different mail server. In this example I am forwarding all emails for otherdomain.com to smtp.otherdomain.com . You can add as many transport maps as you need. All commands should be run as a user &#8216;zimbra&#8217;. After 5.0.9, postfix_transport_maps has been modified a bit, so we&#8217;ll show both [...]]]></description>
			<content:encoded><![CDATA[<p>Configuring transport tables to relay emails to a different mail  server. In this example I am forwarding all emails for otherdomain.com  to smtp.otherdomain.com . You can add as many transport maps as you  need. All commands should be run as a user &#8216;zimbra&#8217;. After 5.0.9,  postfix_transport_maps has been modified a bit, so we&#8217;ll show both ways.</p>
<pre><em>$ zmlocalconfig   |grep -i postfix_transport_maps</em>
</pre>
<p>This will show you the current transport maps file configuration:</p>
<pre><em>postfix_transport_maps = proxy:ldap:/opt/zimbra/conf/ldap-transport.cf</em>
</pre>
<p>Create your transport file (owner/group-owner should be zimbra):</p>
<pre><em>vi /opt/zimbra/postfix/conf/transportfile</em>
<em>otherdomain.com     :[smtp.otherdomain.com]</em>
</pre>
<p>You can also add multiple transport maps, for example:</p>
<pre><em>mydomain.com     :[mail.otherdomain.com]</em>
<em>mydomain.org     :[mail.otherdomain.com]</em>
<em>hisdomain.net    :[mail.otherdomain.com]</em>
</pre>
<p>In this example all emails for 3 different domains will go to  mail.otherdomain.com, so destination will be changed, while user name  will remain as in original email address.</p>
<p>Convert the transport file into maptype database file:</p>
<pre><em>$ postmap /opt/zimbra/postfix/conf/transportfile</em>
</pre>
<p>The file transportfile.db will be created in this directory. Define  the new transport file (original, not *.db one) BEFORE the default one.  Run:</p>
<pre><em>$ zmlocalconfig -e postfix_transport_maps=hash:/opt/zimbra/postfix/conf/transportfile,proxy:ldap:/opt/zimbra/conf/ldap-transport.cf</em>
</pre>
<p>Finally, make sure that the relay_domains parameter in main.cf  contains all domains handled by the server, whether locally or relayed  elsewhere:</p>
<pre><em>$ vi /opt/zimbra/postfix/conf/main.cf</em>
<em>relay_domains = otherdomain.com, mydomain.com, mydomain.org, hisdomain.net, locallyhandleddomain.com, localaliaseddomain.com</em>
</pre>
<p>Restart Zimbra:</p>
<pre><em>zmcontrol stop</em>
<em>zmcontrol start</em>
</pre>
<p>This will forward all emails for the example domains and subdomains  to host smtp.otherdomain.com while allowing local domains to continue to  be delivered locally. However you&#8217;ll need to be careful at zimbra  upgrades. The modification will be overwritten by the upgrade. If you  still not able to set the correct transport tables, contact Zimbra  Support.</p>
<p><a href="http://wiki.zimbra.com/index.php?title=Transport_Table_for_external_servers">http://wiki.zimbra.com/index.php?title=Transport_Table_for_external_servers</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2010/03/10/zimbra-transport-table-for-external-servers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zimbra upgrade</title>
		<link>http://linux.wxs.ro/2010/01/22/zimbra-upgrade/</link>
		<comments>http://linux.wxs.ro/2010/01/22/zimbra-upgrade/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 10:26:41 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/2010/01/22/zimbra-upgrade/</guid>
		<description><![CDATA[0. backup transport files if any 1. stop zimbra 1a. check if every process is really stopped. don&#8217;t want to see stalled mysql or something &#8211; happened to me once 2. tar zimbra installation folder 3. tar /var/lib/rpm !!! (I forget often to do this) 4. START ZIMBRA!!! (else upgrade could fail) 5. upgrade 6. [...]]]></description>
			<content:encoded><![CDATA[<p>0. backup <a href="http://linux.wxs.ro/2010/03/10/zimbra-transport-table-for-external-servers/">transport</a> files if any<br />
1. stop zimbra<br />
1a. check if every process is really stopped. don&#8217;t want to see stalled mysql or something &#8211; happened to me once<br />
2. tar zimbra installation folder<br />
3. tar /var/lib/rpm !!! (I forget often to do this)<br />
4. START ZIMBRA!!! (else upgrade could fail)<br />
5. upgrade<br />
6. if everything works, delete backups, else untar and try again<br />
7. restore transport files if any, eg:<strong><br />
a. su &#8211; zimbra</strong><br />
<strong>b. cp /test/transportfile /opt/zimbra/postfix/conf</strong><br />
<strong>c. postmap /opt/zimbra/postfix/conf/transportfile</strong></p>
<p><a href="http://www.zimbra.com/forums/zimbra-success-stories/35202-successfully-upgraded-6-0-2-6-0-3-centos-5-3-64bit.html">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2010/01/22/zimbra-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Canonical Address in Zimbra GAL</title>
		<link>http://linux.wxs.ro/2009/12/09/canonical-address-in-zimbra-gal/</link>
		<comments>http://linux.wxs.ro/2009/12/09/canonical-address-in-zimbra-gal/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 12:34:45 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/2009/12/09/canonical-address-in-zimbra-gal/</guid>
		<description><![CDATA[zmprov mcf -zimbraGalLdapAttrMap zimbraMailDeliveryAddress,zimbraMailAlias,mail=email,email2,email3,email4,email5,email6,email7,email8,email9,email10,email11,email12,email13,email14,email15,email16 zmprov mcf +zimbraGalLdapAttrMap zimbraMailCanonicalAddress,mail=email zmprov fc config http://chen23.com/docs/zimbra/custom_address_in_gal/]]></description>
			<content:encoded><![CDATA[<p><code>zmprov mcf -zimbraGalLdapAttrMap zimbraMailDeliveryAddress,zimbraMailAlias,mail=email,email2,email3,email4,email5,email6,email7,email8,email9,email10,email11,email12,email13,email14,email15,email16<br /></code></p>
<p><code>zmprov mcf +zimbraGalLdapAttrMap zimbraMailCanonicalAddress,mail=email<br /></code></p>
<p><code>zmprov fc config</code></p>
<p><a href="http://chen23.com/docs/zimbra/custom_address_in_gal/">http://chen23.com/docs/zimbra/custom_address_in_gal/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2009/12/09/canonical-address-in-zimbra-gal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

