<?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>Zimbra Archives - Vavai&#039;s Personal Notes</title>
	<atom:link href="https://www.vavai.net/tag/zimbra/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.vavai.net/tag/zimbra/</link>
	<description>Life is our precious gift</description>
	<lastBuildDate>Fri, 13 Mar 2020 23:14:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Haraka and LDAP Authentication with Zimbra</title>
		<link>https://www.vavai.net/haraka-and-ldap-authentication-with-zimbra/</link>
					<comments>https://www.vavai.net/haraka-and-ldap-authentication-with-zimbra/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Fri, 13 Mar 2020 23:14:48 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Haraka]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">https://www.vavai.net/?p=2507</guid>

					<description><![CDATA[<p>A friend of mine, Raihan-worked as part of my engineer team @ Excellent-learn Haraka since December as an alternative for simple SMTP engine for our tailor-made SMTP Relay. We would like to build a fast, simple, light, highly extensible SMTP server as a replacement for our current postfix or Zimbra. What is Haraka? Haraka is...</p>
<p>The post <a href="https://www.vavai.net/haraka-and-ldap-authentication-with-zimbra/">Haraka and LDAP Authentication with Zimbra</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">A friend of mine, <a href="http://colamen.id">Raihan</a>-worked as part of my engineer team @ <a href="https://www.excellent.co.id">Excellent</a>-learn <a href="https://github.com/haraka/Haraka">Haraka </a>since December as an alternative for simple SMTP engine for our tailor-made SMTP Relay. We would like to build a fast, simple, light, highly extensible SMTP server as a replacement for our current postfix or Zimbra.</p>


<figure class="wp-block-image size-large"><img decoding="async" width="200" height="200" src="http://54.254.121.108/wp-content/uploads/2020/03/1111229.png" alt="" class="wp-image-2510" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2020/03/1111229.png 200w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2020/03/1111229-150x150.png 150w" sizes="(max-width: 200px) 100vw, 200px" /></figure>


<p class="wp-block-paragraph">What is Haraka?</p>


<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>Haraka is an open source SMTP server written in Node.js which provides extremely high performance coupled with a flexible plugin system allowing Javascript programmers full access to change the behaviour of the server. </p></blockquote>


<p class="wp-block-paragraph">As we are currently using Zimbra LDAP as central authentication, Raihan trying to create Haraka as front-end relay with LDAP authentication against Zimbra. Although Haraka comes with docs, wiki and tutorial out there, Raihan took almost 1 month to be able sending email with TLS auth and make sure everything is configured properly.</p>


<p class="wp-block-paragraph">You can follow his issue thread and how he finally resolved the problem, here : <a href="https://github.com/haraka/Haraka/issues/2760">https://github.com/haraka/Haraka/issues/2760</a></p>
<p>The post <a href="https://www.vavai.net/haraka-and-ldap-authentication-with-zimbra/">Haraka and LDAP Authentication with Zimbra</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/haraka-and-ldap-authentication-with-zimbra/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Upgrading Zimbra 8.8.12 into 8.8.15 LTS</title>
		<link>https://www.vavai.net/upgrading-zimbra-8-8-12-into-8-8-15-lts/</link>
					<comments>https://www.vavai.net/upgrading-zimbra-8-8-12-into-8-8-15-lts/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Fri, 02 Aug 2019 00:10:06 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">https://www.vavai.net/?p=2389</guid>

					<description><![CDATA[<p>Zimbra 8.8.15 has been released last week. According to Zimbra product lifecycle, this release will be an LTS (Long Term Support) release and will have general support until 2022 and tehnical guidance until 2023. As Zimbra version 8.8.12 general support will be ended on September 2019, I would prefer to upgrade all of our Zimbra...</p>
<p>The post <a href="https://www.vavai.net/upgrading-zimbra-8-8-12-into-8-8-15-lts/">Upgrading Zimbra 8.8.12 into 8.8.15 LTS</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Zimbra 8.8.15 has been released<a href="https://blog.zimbra.com/2019/07/new-zimbra-8-8-15-aka-joule-is-here/"> last week</a>. According to <a href="https://www.zimbra.com/support/support-offerings/product-lifecycle/">Zimbra product lifecycle</a>, this release will be an LTS (Long Term Support) release and will have general support until 2022 and tehnical guidance until 2023.</p>


<figure class="wp-block-image is-resized"><img decoding="async" src="http://54.254.121.108/wp-content/uploads/2019/08/zimbra-logo-color-square-960px-300x293.png" alt="" class="wp-image-2391" width="225" height="220" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2019/08/zimbra-logo-color-square-960px-300x293.png 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2019/08/zimbra-logo-color-square-960px.png 505w" sizes="(max-width: 225px) 100vw, 225px" /></figure>


<p class="wp-block-paragraph">As Zimbra version 8.8.12 general support will be ended on September 2019, I would prefer to upgrade all of our Zimbra deployment before the date and our current deployment (internal use) as our initial test. </p>


<p class="wp-block-paragraph">We are currently using Zimbra NE 8.8.12 patch 4 and run on top of cloud system with almost all feature installed. Running on top of cloud infrastructure has a flexible advantage, something like easier backup as precaution before starting upgrade procedure. </p>


<p class="wp-block-paragraph">Our upgrade process works out as expected and took a few minutes from downloading upgrade package, execute ./install.sh and restarting services to make sure everything goes smoothly.</p>


<p class="wp-block-paragraph">Please refer to <a href="https://wiki.zimbra.com/wiki/Zimbra_Releases/8.8.15">Zimbra 8.8.15 wiki</a> for fixed issue and known bug and  release notes.</p>
<p>The post <a href="https://www.vavai.net/upgrading-zimbra-8-8-12-into-8-8-15-lts/">Upgrading Zimbra 8.8.12 into 8.8.15 LTS</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/upgrading-zimbra-8-8-12-into-8-8-15-lts/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Zimbra MariaDB Error : Can&#8217;t init tc log</title>
		<link>https://www.vavai.net/zimbra-mariadb-error-cant-init-tc-log/</link>
					<comments>https://www.vavai.net/zimbra-mariadb-error-cant-init-tc-log/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Mon, 29 Oct 2018 19:58:39 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MariaDB]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=2107</guid>

					<description><![CDATA[<p>A few days ago, our clients had problems with their on-premise mail server deployment. Their Zimbra services are down and mailbox service could not restart. After a quick check, it turns out that one of the disk partitions is full because there is an incorrect mounting disk. As it uses incorrect folder/disk, backup process filling up...</p>
<p>The post <a href="https://www.vavai.net/zimbra-mariadb-error-cant-init-tc-log/">Zimbra MariaDB Error : Can&#8217;t init tc log</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>A few days ago, our clients had problems with their on-premise mail server deployment. Their Zimbra services are down and mailbox service could not restart. After a quick check, it turns out that one of the disk partitions is full because there is an incorrect mounting disk. As it uses incorrect folder/disk, backup process filling up primary partition instead of external disk.<br />
<img decoding="async" class="alignnone wp-image-2055 size-medium" src="http://v2.vavai.net/wp-content/uploads/2018/10/Zimbra-logo-color-300x66.png" alt="" width="300" height="66" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/Zimbra-logo-color-300x66.png 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/Zimbra-logo-color-1024x225.png 1024w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/Zimbra-logo-color-768x168.png 768w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/Zimbra-logo-color.png 1500w" sizes="(max-width: 300px) 100vw, 300px" /><br />
To deal with this problem, I move some unimportant data from primary partition and release quite enough free space and trying to restart services. LDAP, mta and others services are up but mailbox services won&#8217;t. More detailed checking on log shows that the MariaDB database services cannot run. Inspecting /opt/zimbra/log/mysql_error.log log file, there is an error message: &#8220;Can&#8217;t init tc log&#8221;.</p>
<blockquote><p>181022 22:35:42 mysqld_safe mysqld from pid file /opt/zimbra/log/mysql.pid ended<br />
201-10-10 22:35:42 140144607115136 [Note] InnoDB: 128 rollback segment (s) are active.<br />
201-10-10 22:35:42 140144607115136 [Note] InnoDB: Waiting for purge to start<br />
201-10-10 22:35:43 140144607115136 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.36-82.0 started; log sequence number 6803622123<br />
201-10-10 22:35:43 140141100709632 [Note] InnoDB: Dumping buffer pool (s) not yet started<br />
2018-10-22 22:35:43 140144607115136 [Note] The plugin &#8216;FEEDBACK&#8217; is disabled.<br />
2018-10-22 22:35:43 140144607115136 [Note] Recovering after a crash using tc.log<br />
2018-10-22 22:35:43 140144607115136 [ERROR] Can&#8217;t init tc log<br />
2018-10-22 22:35:43 140144607115136 [ERROR] Aborting<br />
181022 22:35:45 mysqld_safe mysqld from pid file /opt/zimbra/log/mysql.pid ended</p></blockquote>
<p>As the problem related to tc.log, some reference on Google search recommends an easy resolution.  Simply delete or move (I would rather choose the moving process for the sake of precaution) the file /opt/zimbra/db/data/tc.log to a different location and then restart the database services. Database services turn out OK and the next process is to restarting Zimbra services.<br />
One more important step is to ensure the preventive checks run even better, in the sense that an early warning of an almost full disk should be escalated earlier.</p>
<p>The post <a href="https://www.vavai.net/zimbra-mariadb-error-cant-init-tc-log/">Zimbra MariaDB Error : Can&#8217;t init tc log</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/zimbra-mariadb-error-cant-init-tc-log/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Script to Remove Over Quota Message from Zimbra Queue</title>
		<link>https://www.vavai.net/script-to-remove-over-quota-message-from-zimbra-queue/</link>
					<comments>https://www.vavai.net/script-to-remove-over-quota-message-from-zimbra-queue/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Fri, 26 Oct 2018 14:19:30 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=2087</guid>

					<description><![CDATA[<p>Sometimes we have a bunch of over quota message filling up Zimbra queue, with detail as below : 197CF170F9 59761 Wed Oct 24 09:49:48   email-palsu@vivianchow.id (host alt1.gmail-smtp-in.l.google.com[74.125.195.27] said: 452-4.2.2 The email account that you tried to reach is over quota. Please direct 452-4.2.2 the recipient to 452 4.2.2 https://support.google.com/mail/?p=OverQuotaTemp m3-v6si2776998pld.435 &#8211; gsmtp (in reply to...</p>
<p>The post <a href="https://www.vavai.net/script-to-remove-over-quota-message-from-zimbra-queue/">Script to Remove Over Quota Message from Zimbra Queue</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sometimes we have a bunch of over quota message filling up Zimbra queue, with detail as below :<br />
<em>197CF170F9 59761 Wed Oct 24 09:49:48   email-palsu@vivianchow.id</em><br />
<em>(host alt1.gmail-smtp-in.l.google.com[74.125.195.27] said: 452-4.2.2 The email account that you tried to reach is over quota. Please direct 452-4.2.2 the recipient to 452 4.2.2 https://support.google.com/mail/?p=OverQuotaTemp m3-v6si2776998pld.435 &#8211; gsmtp (in reply to RCPT TO command))</em><br />
<em>email-palsu@gmail.com</em><br />
The email message will be automatically removed from the queue after a while, depending on our queue lifetime setting on the server. If we want to automatically remove on the selected time interval, we can then set up crontab to run the following script :<br />
<strong>del-over-quota.sh</strong><br />
[code lang=&#8221;bash&#8221;]<br />
#!/bin/sh<br />
clear<br />
/opt/zimbra/postfix/sbin/postqueue -p | grep -A 1 &#8220;over quota&#8221; | grep @ | sort | uniq > /tmp/over-quota.txt<br />
USERS=`cat /tmp/over-quota.txt`<br />
echo &#8220;Looping for all users&#8221;<br />
for ACCOUNT in $USERS; do<br />
#Remove over quota queue<br />
echo &#8220;Account over quota : $ACCOUNT&#8221;<br />
pfdel $ACCOUNT<br />
echo &#8220;&#8221;<br />
done<br />
echo &#8220;All over quota queue has been removed successfully&#8221;<br />
[/code]<br />
The above script is run together with <a href="http://v2.vavai.net/2018/10/bash-script-for-spam-queue-removal-on-zimbra-mail-server-updated/">pfdel</a> script, so don&#8217;t forget to download and save pfdel script as well.</p>
<p>The post <a href="https://www.vavai.net/script-to-remove-over-quota-message-from-zimbra-queue/">Script to Remove Over Quota Message from Zimbra Queue</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/script-to-remove-over-quota-message-from-zimbra-queue/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fail2Ban, Zimbra’s DoSFilter and Failed Login Lockout Policy</title>
		<link>https://www.vavai.net/fail2ban-zimbras-dosfilter-and-failed-login-lockout-policy/</link>
					<comments>https://www.vavai.net/fail2ban-zimbras-dosfilter-and-failed-login-lockout-policy/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Sat, 20 Oct 2018 23:55:08 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[DoSFilter]]></category>
		<category><![CDATA[Fail2Ban]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=2053</guid>

					<description><![CDATA[<p>On each Zimbra deployment strategy, I&#8217;ve never activate Failed Login Lockout Policy as it tend to block legitimate user from being logged in due to brute force attack from others. The legitimate users often become a victim for spammer or robot attempt to login. I would also prefer Fail2ban to block login attempt from spammer...</p>
<p>The post <a href="https://www.vavai.net/fail2ban-zimbras-dosfilter-and-failed-login-lockout-policy/">Fail2Ban, Zimbra’s DoSFilter and Failed Login Lockout Policy</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>On each Zimbra deployment strategy, I&#8217;ve never activate Failed Login Lockout Policy as it tend to block legitimate user from being logged in due to brute force attack from others. The legitimate users often become a victim for spammer or robot attempt to login.<br />
I would also prefer Fail2ban to block login attempt from spammer rather than Zimbra&#8217;s built in filter, DoSFilter. But it seems to be changed after looking at (just a short reply <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ) on a discussion on <a href="https://forums.zimbra.org/viewtopic.php?f=15&amp;t=65051&amp;p=286557#p286557">Zimbra Forums</a>.<br />
<img loading="lazy" decoding="async" class="alignnone size-large wp-image-2055" src="http://v2.vavai.net/wp-content/uploads/2018/10/Zimbra-logo-color-1024x225.png" alt="" width="602" height="132" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/Zimbra-logo-color-1024x225.png 1024w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/Zimbra-logo-color-300x66.png 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/Zimbra-logo-color-768x168.png 768w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/Zimbra-logo-color.png 1500w" sizes="auto, (max-width: 602px) 100vw, 602px" /><br />
L Mark Stone of Mission Critical Email write up : <a href="https://www.missioncriticalemail.com/2018/10/19/using-zimbras-dosfilter-and-failed-login-lockout-policy-together/">&#8220;Using Zimbra’s DoSFilter and Failed Login Lockout Policy Together&#8221;</a></p>
<blockquote><p>Zimbra’s DoSFilter (<a href="https://wiki.zimbra.com/wiki/DoSFilter" target="_blank" rel="noopener noreferrer">Denial of Service Filter</a>) is a mechanism to throttle or block IP addresses that have a repeated number of failed logins to your Zimbra system.  Zimbra’s Classes of Service include a Failed Login Lockout policy that will put a mailbox in Locked Out mode, hopefully before a brute force attack is successful.  The two together can improve system security and protect legitimate users, but only if configured appropriately.<br />
DoSFilter is generally easier to configure than fail2ban in multiserver systems, because in a multi-server system the logger host is usually one of the mailbox servers, but you want to do the fail2ban blocking on the MTA and Proxy servers.  Making all that work is complex, and if you are running Network Edition, Zimbra Support can help you troubleshoot DoSFilter; with fail2ban you are on your own.  On single server Zimbra systems, fail2ban works fine, but you’ll need to source up to date Zimbra “jail” configuration files, so yet another reason to favor DoSFilter over fail2ban.</p></blockquote>
<p>As one of top Zimbra Expert involved on Zimbra Forums since the beginning and managing his business focus on email, Mark has his own&#8217;s experience to deal with Zimbra security improvement and his blog post interesting enough to be implemented.</p>
<p>The post <a href="https://www.vavai.net/fail2ban-zimbras-dosfilter-and-failed-login-lockout-policy/">Fail2Ban, Zimbra’s DoSFilter and Failed Login Lockout Policy</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/fail2ban-zimbras-dosfilter-and-failed-login-lockout-policy/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Script to Delete the Spam Queue on Zimbra with Confirmation</title>
		<link>https://www.vavai.net/script-to-delete-the-spam-queue-on-zimbra-with-confirmation/</link>
					<comments>https://www.vavai.net/script-to-delete-the-spam-queue-on-zimbra-with-confirmation/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Sat, 20 Oct 2018 02:43:16 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=2047</guid>

					<description><![CDATA[<p>On previous script, we can delete spam from queue by passing sender or recipient address on the script : [code lang=&#8221;bash&#8221;] pfdel email-spammer [/code] But what about situation where spammer filling up queue with random sender and recipient, and it tooks time to delete each message. Yes, we can use Postfix powerful binary, with postsuper...</p>
<p>The post <a href="https://www.vavai.net/script-to-delete-the-spam-queue-on-zimbra-with-confirmation/">Script to Delete the Spam Queue on Zimbra with Confirmation</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>On <a href="http://v2.vavai.net/2018/10/bash-script-for-spam-queue-removal-on-zimbra-mail-server-updated/">previous script</a>, we can delete spam from queue by passing sender or recipient address on the script :<br />
[code lang=&#8221;bash&#8221;]<br />
pfdel email-spammer<br />
[/code]<br />
<img loading="lazy" decoding="async" class="alignnone size-medium wp-image-2049" src="http://v2.vavai.net/wp-content/uploads/2018/10/email-300x108.png" alt="" width="300" height="108" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/email-300x108.png 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/email.png 640w" sizes="auto, (max-width: 300px) 100vw, 300px" /><br />
But what about situation where spammer filling up queue with random sender and recipient, and it tooks time to delete each message. Yes, we can use Postfix powerful binary, with <strong>postsuper -d ALL</strong> but it will remove entire message, including normal message.<br />
Below is a modified script, to delete spam queue by confirming whether the message are legitimate or not. It will display sender and recipient so we can check each message accordingly.<br />
[code lang=&#8221;bash&#8221;]<br />
#!/bin/sh<br />
#Hapus Layar<br />
clear<br />
/opt/zimbra/postfix/sbin/postqueue -p | grep -A 1 &#8220;$1&#8221; | grep @ | sort | uniq | cut -d &#8220;:&#8221; -f3 | cut -d &#8221; &#8221; -f3 > /tmp/over-quota.txt<br />
USERS=`cat /tmp/over-quota.txt`<br />
echo &#8220;Looping for all users&#8221;<br />
for ACCOUNT in $USERS; do<br />
ACC1=`echo $ACCOUNT | awk -F@ &#8216;{print $1}&#8217;`;<br />
ACC2=`echo $ACCOUNT | cut -d &#8216;.&#8217; -f1`<br />
#echo $ACC1<br />
#echo $ACC2<br />
/opt/zimbra/postfix/sbin/postqueue -p | grep $ACCOUNT -A 3<br />
echo -n &#8220;Remove queue for account : $ACCOUNT [Y/N]? &#8221;<br />
read TANYA<br />
if [ $TANYA == Y ] || [ $TANYA == y ]; then<br />
pfdel $ACCOUNT<br />
fi<br />
echo &#8220;&#8221;<br />
done<br />
echo &#8220;Removal queue messages for $1 has been completed successfully&#8221;<br />
[/code]<br />
The script will also takes time if queue contains too many spam messages, so a better choice is to prevent spam by strengthening server anti spam and enforcing a tight security policy.</p>
<p>The post <a href="https://www.vavai.net/script-to-delete-the-spam-queue-on-zimbra-with-confirmation/">Script to Delete the Spam Queue on Zimbra with Confirmation</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/script-to-delete-the-spam-queue-on-zimbra-with-confirmation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Bash Script for Spam Queue Removal on Zimbra Mail Server (Updated)</title>
		<link>https://www.vavai.net/bash-script-for-spam-queue-removal-on-zimbra-mail-server-updated/</link>
					<comments>https://www.vavai.net/bash-script-for-spam-queue-removal-on-zimbra-mail-server-updated/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Thu, 18 Oct 2018 13:00:03 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mail Server]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=2036</guid>

					<description><![CDATA[<p>I have a small script-got it from Internet-for Zimbra spam queue removal based on Postfix queue message removal. The script written on Perl language and become a mandatory script on each Zimbra server deployment, as a quick tools to remove spam message from queue caused by compromised account. As of Zimbra 8.7, there is a little...</p>
<p>The post <a href="https://www.vavai.net/bash-script-for-spam-queue-removal-on-zimbra-mail-server-updated/">Bash Script for Spam Queue Removal on Zimbra Mail Server (Updated)</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have a small script-got it from Internet-for Zimbra spam queue removal based on Postfix queue message removal. The script written on Perl language and become a mandatory script on each Zimbra server deployment, as a quick tools to remove spam message from queue caused by compromised account.<br />
<figure id="attachment_2038" aria-describedby="caption-attachment-2038" style="width: 1280px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="wp-image-2038 size-full" src="http://54.254.121.108/wp-content/uploads/2018/10/phising.png" alt="" width="1280" height="977" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/phising.png 1280w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/phising-300x229.png 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/phising-1024x782.png 1024w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2018/10/phising-768x586.png 768w" sizes="auto, (max-width: 1280px) 100vw, 1280px" /><figcaption id="caption-attachment-2038" class="wp-caption-text">image from pixabay</figcaption></figure><br />
As of Zimbra 8.7, there is a little change on path for some Postfix binary. On previous version, Postfix binary located on <strong>/opt/zimbra/postfix/ </strong>but since version 8.7, the binary folder moved into <strong>/opt/zimbra/common/ </strong>so I take a little time to change the script.<br />
Below is an updated script, check for Zimbra version and change binary folder accordingly :<br />
[code lang=&#8221;bash&#8221;]<br />
#!/usr/bin/perl -w<br />
#<br />
# pfdel &#8211; deletes message containing specified address from<br />
# Postfix queue. Matches either sender or recipient address.<br />
#<br />
# Usage: pfdel sender-or-recipient-address<br />
#<br />
use strict;<br />
my $LISTQ;<br />
my $POSTSUPER;<br />
# Change these paths if necessary.<br />
system(&#8220;su &#8211; zimbra -c &#8216;zmcontrol -v&#8217; &gt; /tmp/zcs-ver.txt&#8221;);<br />
my $VER=`awk &#8216;/Release 6|Release 7|Release 8.0|Release 8.5|Release 8.6/&#8217; /tmp/zcs-ver.txt`;<br />
#print $VER<br />
if (length($VER) &gt; 0)<br />
{<br />
$LISTQ = &#8220;/opt/zimbra/postfix/sbin/postqueue -p&#8221;;<br />
$POSTSUPER = &#8220;/opt/zimbra/postfix/sbin/postsuper&#8221;;<br />
}<br />
else<br />
{<br />
$LISTQ = &#8220;/opt/zimbra/common/sbin/postqueue -p&#8221;;<br />
$POSTSUPER = &#8220;/opt/zimbra/common/sbin/postsuper&#8221;;<br />
}<br />
my $email_addr = &#8220;&#8221;;<br />
my $qid = &#8220;&#8221;;<br />
my $euid = $&gt;;<br />
if ( @ARGV != 1 ) {<br />
die &#8220;Usage: pfdel \n&#8221;;<br />
} else {<br />
$email_addr = $ARGV[0];<br />
}<br />
if ( $euid != 0 ) {<br />
die &#8220;You must be root to delete queue files.\n&#8221;;<br />
}<br />
open(QUEUE, &#8220;$LISTQ |&#8221;) ||<br />
die &#8220;Can&#8217;t get pipe to $LISTQ: $!\n&#8221;;<br />
my $entry = ; # skip single header line<br />
$/ = &#8220;&#8221;; # Rest of queue entries print on<br />
# multiple lines.<br />
while ( $entry = ) {<br />
if ( $entry =~ / $email_addr$/m ) {<br />
($qid) = split(/\s+/, $entry, 2);<br />
$qid =~ s/[\*\!]//;<br />
next unless ($qid);<br />
#<br />
# Execute postsuper -d with the queue id.<br />
# postsuper provides feedback when it deletes<br />
# messages. Let its output go through.<br />
#<br />
if ( system($POSTSUPER, &#8220;-d&#8221;, $qid) != 0 ) {<br />
# If postsuper has a problem, bail.<br />
die &#8220;Error executing $POSTSUPER: error &#8221; .<br />
&#8220;code &#8221; . ($?/256) . &#8220;\n&#8221;;<br />
}<br />
}<br />
}<br />
close(QUEUE);<br />
if (! $qid ) {<br />
die &#8220;No messages with the address &lt;$email_addr&gt; &#8221; .<br />
&#8220;found in queue.\n&#8221;;<br />
}<br />
exit 0;<br />
[/code]<br />
If you tend to lazy to copy-paste the script, get it from mine :<br />
[code lang=&#8221;bash&#8221;]<br />
wget https://www.vavai.com/pfdel<br />
chmod +x pfdel<br />
[/code]<br />
And to run it, just run this script with root permissions :<br />
[code lang=&#8221;bash&#8221;]<br />
./pfdel email-spammer<br />
[/code]<br />
ex :<br />
[code lang=&#8221;bash&#8221;]<br />
./pfdel spammersampah@vavai.com<br />
[/code]<br />
However, this is only a quick tools to remove spam, but more importantly is prevent spam from being filling into queue.</p>
<p>The post <a href="https://www.vavai.net/bash-script-for-spam-queue-removal-on-zimbra-mail-server-updated/">Bash Script for Spam Queue Removal on Zimbra Mail Server (Updated)</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/bash-script-for-spam-queue-removal-on-zimbra-mail-server-updated/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Design Examples for Large Scale Zimbra Deployments</title>
		<link>https://www.vavai.net/design-examples-for-large-scale-zimbra-deployments/</link>
					<comments>https://www.vavai.net/design-examples-for-large-scale-zimbra-deployments/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Wed, 09 Dec 2015 02:51:19 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1863</guid>

					<description><![CDATA[<p>Zimbra Collaboration Suite is an open source email and collaboration platform that includes email, contacts, calendar, documents and more. It is a Web-based application suite that can be deployed as an on-premise private cloud or outsourced public cloud service. I&#8217;ve been using Zimbra since 2007 (version 4.x) for variety scale of implementation : from hundreds to fifty thousand...</p>
<p>The post <a href="https://www.vavai.net/design-examples-for-large-scale-zimbra-deployments/">Design Examples for Large Scale Zimbra Deployments</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Zimbra Collaboration Suite is an open source email and collaboration platform that includes email, contacts, calendar, documents and more. It is a Web-based application suite that can be deployed as an on-premise private cloud or outsourced public cloud service. I&#8217;ve been using Zimbra since 2007 (version 4.x) for variety scale of implementation : from hundreds to fifty thousand account.  How this can be handled by Zimbra? The key is to use Zimbra cluster with multi-server scheme.</p>
<p>Below are simple Zimbra design with 1 main goal : be able handle up to 25 thousand accounts.<img loading="lazy" decoding="async" class="alignnone wp-image-1864" style="line-height: 1.5em;" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-skema-multi-server.jpg" alt="vavai-skema-multi-server" width="732" height="596" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-skema-multi-server.jpg 1045w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-skema-multi-server-300x245.jpg 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-skema-multi-server-1024x835.jpg 1024w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-skema-multi-server-768x626.jpg 768w" sizes="auto, (max-width: 732px) 100vw, 732px" /><br />
<span id="more-1863"></span><br />
<strong>Description</strong>:</p>
<ol>
<li style="text-align: justify;">All servers are using private network/IP. Only 1 public IP required for public access</li>
<li style="text-align: justify;">All servers are preferable to be installed as VM on top of VMware (or others Virtualization Technology). All servers can also be installed on physical server but it will require a lot of physical servers</li>
<li style="text-align: justify;">On the above design, I distinguish routing for HTTP/S (web), Local traffic (LMTP) and External SMTP. POP3 and IMAP access will refer to the same access as HTTP/S. We can also provide load balancer in front of each traffic to reduce the overload</li>
<li style="text-align: justify;">Routing for  HTTP port 80 or port 443 (HTTPS), POP3 and IMAP provided by Zimbra Reverse Proxy. This server will provide all port to be NAT-ed to IP Public except for Zimbra Admin 7071 and SMTP port, such as port 80, 110, 143, 443, 993 and 995. Zimbra Proxy usually installed along with memcached used for route lookup handler  which will forward traffic and account to the appropriate mailbox server</li>
<li style="text-align: justify;">In total there are 5 mailbox servers to share access load with about 3000 to 5000 account on each mailbox server. Even if using 5 different mailbox server, all users accessing Zimbra with same address, such as webmail.vavai.com. All access will be  forwarded by Zimbra proxy to the corresponding mailbox server where the account resides</li>
<li style="text-align: justify;">Incoming SMTP server with NAT port 25 serves as a front-end server and MX records on public DNS. This server contains anti-spam and anti-virus services. According to its function, this server can also be replaced with security (anti spam  &amp; anti virus) appliance</li>
<li style="text-align: justify;">Local SMTP server divide into three separate functions : to the normal connection (Local MTA), SMTP App for email delivery from application and the last is SMTP for mass email delivery/mailing list</li>
<li style="text-align: justify;">Port 465 SMTP SSL and port 587 SMTP TLS can also be NAT-ed on outgoing SMTP or on the local MTA, used for mail sending port from Mail User Agent (MUA, ie : Outlook, Thunderbird etc)</li>
<li style="text-align: justify;">On the above design, I forgot (?? <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ) to add LDAP server as cluster component. Actually, I have 2 LDAP server. The first one act as LDAP master and  the other as LDAP Replica. All servers connected to LDAP replica; only LDAP replica connected to LDAP master</li>
</ol>
<p style="text-align: justify;"><strong>BENEFIT</strong></p>
<p style="text-align: justify;">There are several advantages of using the above design:</p>
<ol>
<li style="text-align: justify;">Load balancing server on mailbox. Access to HTTP, IMAP and POP3 can be divided into multiple mailbox server. We can applying horizontal scaling : add more account will require additional mailbox server only, without changing existing configuration</li>
<li style="text-align: justify;">We can also create multiple Zimbra proxy for scaling front end access</li>
<li style="text-align: justify;">Allows us to create a different rule for incoming and outgoing email, ie : rate limit outgoing email to prevent blacklist IP when compromised account send massive spam email. Applying such rule will not affecting local mail delivery.</li>
<li style="text-align: justify;">Easier to scaling SMTP function for email delivery</li>
</ol>
<p>I know that the above design are very modest and based on my experience only, so if you have any  suggestion regarding Zimbra large scale deployment, do not hesitate to drop a comment.</p>
<p>The post <a href="https://www.vavai.net/design-examples-for-large-scale-zimbra-deployments/">Design Examples for Large Scale Zimbra Deployments</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/design-examples-for-large-scale-zimbra-deployments/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Zimbra : No space left on device &#038; Inode Usage</title>
		<link>https://www.vavai.net/zimbra-no-space-left-on-device-inode-usage/</link>
					<comments>https://www.vavai.net/zimbra-no-space-left-on-device-inode-usage/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Tue, 08 Dec 2015 20:20:34 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1967</guid>

					<description><![CDATA[<p>Yesterday, I got a phone call from my customer regarding their Zimbra Mail Server. I&#8217;ve helped them setting up and configuring Zimbra, 2-3 years ago. Their Zimbra mail server not working properly since yesterday morning. Dig on log details show me error message : &#8220;Zimbra No space left on device&#8221;, but it should be wrong,...</p>
<p>The post <a href="https://www.vavai.net/zimbra-no-space-left-on-device-inode-usage/">Zimbra : No space left on device &#038; Inode Usage</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Yesterday, I got a phone call from my customer regarding their Zimbra Mail Server. I&#8217;ve helped them setting up and configuring Zimbra, 2-3 years ago. Their Zimbra mail server not working properly since yesterday morning. Dig on log details show me error message : <em>&#8220;Zimbra No space left on device&#8221;</em>, but it should be wrong, because they have plenty free space both on system and data disk. I&#8217;m remembering that I&#8217;ve  experience  similar error on one of my hosting server when compromised account broadcast too many small files and fill in all Inode allocation.<br />
<a href="http://54.254.121.108/wp-content/uploads/2015/12/vavai-df-h.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1970" src="http://54.254.121.108/wp-content/uploads/2015/12/vavai-df-h.png" alt="vavai-df-h" width="729" height="205" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2015/12/vavai-df-h.png 729w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2015/12/vavai-df-h-300x84.png 300w" sizes="auto, (max-width: 729px) 100vw, 729px" /></a><br />
<span id="more-1967"></span>The first command that I did was stopping Zimbra services. Deeper investigation <strong>with df -ih</strong> prove me that the problem came from similar cause. All Inode file system has been full and no free Inode available. Checking <strong>/tmp</strong> folder seems to make the server hang for a while, until then displaying too many files. Looking at the result, there were about 1 million files on /tmp/tmpXXX, eating all Inode stock.<br />
<a href="http://54.254.121.108/wp-content/uploads/2015/12/vavai-df-i.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1971" src="http://54.254.121.108/wp-content/uploads/2015/12/vavai-df-i.png" alt="vavai-df-i" width="873" height="210" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2015/12/vavai-df-i.png 873w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2015/12/vavai-df-i-300x72.png 300w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2015/12/vavai-df-i-768x185.png 768w" sizes="auto, (max-width: 873px) 100vw, 873px" /></a><br />
I was lucky to find out that /tmp has too many files on it, but you can also using following command to looking for suspected folder :<br />
[code lang=&#8221;bash&#8221;]sudo find . -xdev -type f | cut -d &#8220;/&#8221; -f 2 | sort | uniq -c | sort -n<br />
[/code]<br />
or<br />
[code lang=&#8221;bash&#8221;]for i in /*; do echo $i; find $i |wc -l; done[/code]<br />
or for specific folder :<br />
[code lang=&#8221;bash&#8221;]for i in /tmp/*; do echo $i; find $i |wc -l; done[/code]<br />
I&#8217;m trying to remove all /tmp file starting with tmp-XXX on file name but server responded that removal command was not successful  because there were too many files on the search criteria (I forgot an error details <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ). I ended up manually delete the file with : <strong>rm /tmp/tmp1*</strong>, <strong>rm /tm/tmp2*</strong> and so on, increment with number and then alphabet on it&#8217;s file name.<br />
After a while, I&#8217;m too tired to delete temporary file manually. In short calculate, I must execute 10 (for number from 1-10)+26 (for lowercase alphabet)+26 (for uppercase alphabet), totally 62 times execution. Not a smart ways to do stupid works <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
Searching for a bash script, I got this nice and simpler script :<br />
[code lang=&#8221;bash&#8221;]<br />
for alphabet in {A..Z}<br />
do<br />
echo $alphabet<br />
rm /tmp/tmp_$alphabet*<br />
done<br />
[/code]<br />
The script could be nicer if could also include number and lowercase alphabet on top of script but never mind, I was quite satisfied to run above script as much as 3 times only by changing the parameter.<br />
In less than 5 minutes, all temporary files was deleted successfully and server have pretty much Inode available now. I can now starting Zimbra services and monitor log for any possible cause. The following log entry on <strong>/var/log/zimbra.log</strong> caught my attention :<br />
<em>>Dec<span class="Apple-converted-space">  7 13:14:36 mail postfix/proxymap[19610]: warning: ldap:/opt/zimbra/conf/ldap-slm.cf is unavailable. open /opt/zimbra/conf/ldap-slm.cf: Permission denied</em><br />
Checking on my other running Zimbra instance give me following permission :<br />
[code lang=&#8221;bash&#8221;]# ls -ltrh  /opt/zimbra/conf/ldap-slm.cf[/code]<br />
<em>>-rw-r&#8212;&#8211; 1 zimbra postfix 603 Dec<span class="Apple-converted-space">  3 02:20 /opt/zimbra/conf/ldap-slm.cf</em><br />
I&#8217;m stopping Zimbra services again, then execute fix the permission :<br />
[code lang=&#8221;bash&#8221;]/opt/zimbra/libexec/zmfixperms &#8211;extended &#8211;verbose[/code]<br />
and then looking at file permission again before restarting the services. However, my eyes stumble upon with other error logs :<br />
<em>>Dec<span class="Apple-converted-space">  7 06:27:41 mail postfix/postdrop[4233]: warning: mail_queue_enter: create file maildrop/952460.4233: Permission denied</em><br />
<em>>Dec<span class="Apple-converted-space">  7 06:27:42 mail postfix/postdrop[6057]: warning: mail_queue_enter: create file maildrop/43485.6057: Permission denied</em><br />
<em>>Dec<span class="Apple-converted-space">  7 06:27:42 mail postfix/postdrop[6084]: warning: mail_queue_enter: create file maildrop/127795.6084: Permission denied</em><br />
<em>>Dec<span class="Apple-converted-space">  7 06:27:51 mail postfix/postdrop[19190]: warning: mail_queue_enter: create file maildrop/739237.19190: Permission denied</em><br />
It&#8217;s seems some postdrop services are still exist and running and was not affected by stopping Zimbra services. I&#8217;m trying to stop Zimbra services again and then kill all Zimbra and postdrop process with root permission :<br />
[code lang=&#8221;bash&#8221;]<br />
killall zimbra<br />
killall postdrop<br />
ps aux | grep zimbra<br />
ps aux | grep postdrop<br />
[/code]<br />
and then restarting Zimbra services. Finally, Zimbra working properly now and no error entries on Zimbra logs. Mission accomplised <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a href="https://www.vavai.net/zimbra-no-space-left-on-device-inode-usage/">Zimbra : No space left on device &#038; Inode Usage</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/zimbra-no-space-left-on-device-inode-usage/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>My Personal Experience Using DigitalOcean, Vultr and Linode</title>
		<link>https://www.vavai.net/performance-experience-between-digitalocean-vultr-and-linode/</link>
					<comments>https://www.vavai.net/performance-experience-between-digitalocean-vultr-and-linode/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Sun, 06 Dec 2015 04:08:33 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[DigitalOcean]]></category>
		<category><![CDATA[Linode]]></category>
		<category><![CDATA[Mail Server]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[Vultr]]></category>
		<category><![CDATA[Zimbra]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1928</guid>

					<description><![CDATA[<p>After Moving my server Infrastructure from Self Co-Location Server to VPS Provider, I tested several providers. The first one is DigitalOcean and pick their &#8220;middle specs&#8221; droplet with 4 GB Memory, 2 Core Processor, 60 GB SSD Disk and 4 TB Transfer  and installing Zimbra Mail Server on top of Ubuntu 14.04 64 bit or CentOS 6...</p>
<p>The post <a href="https://www.vavai.net/performance-experience-between-digitalocean-vultr-and-linode/">My Personal Experience Using DigitalOcean, Vultr and Linode</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>After <a href="http://v2.vavai.net/2015/12/moving-infrastructure-from-self-co-location-server-to-vps-provider/">Moving my server Infrastructure from Self Co-Location Server to VPS Provider</a>, I tested several providers. The first one is DigitalOcean and pick their &#8220;middle specs&#8221; droplet with 4 GB Memory, 2 Core Processor, 60 GB SSD Disk and 4 TB Transfer  and installing Zimbra Mail Server on top of Ubuntu 14.04 64 bit or CentOS 6 64 bit.<br />
It seems that 4 GB memory is minimum requirement for Zimbra on DigitalOcean droplet but I got some bad experiences with the performance. 4 GB memory may suitable for Zimbra with less than 50 users but not stable enough to handle more than 100 users, even if disabling anti spam, anti virus and some services (I have separate clusters for anti spam and anti virus on different geographical locations). Upgrading to better specs (8 GB Memory, 4 Core Processor, 80 GB SSD Disk and 5 TB Transfer) helps me overcome this obstacle but I don&#8217;t think it&#8217;s a good choice because cost me twice than before <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
<a href="http://54.254.121.108/wp-content/uploads/2015/12/linode.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1929" src="http://54.254.121.108/wp-content/uploads/2015/12/linode.png" alt="linode" width="300" height="119" /></a><br />
<span id="more-1928"></span>I&#8217;ve trying Vultr for some others purpose, mostly for website hosting but also facing some problems with the performance. The bad news is that VPS several times inaccessible, although not all servers experience the same problem. It seems that my instance problem caused by host problem. Another problem is slow network access from Indonesia, due to their nearest location are on Tokyo, Japan.<br />
I&#8217;ve also trying Linode on Japan location and experienced similar slowness network speed, so I still used DO for a while, until find a better solution in terms of server performance and low latency from Indonesia.<br />
When Linode announced availability of Singapore data centers, I give it a second try. For similar specs and pricing but with bigger SSD disk than DO (4 GB RAM, 4 CPU Cores, 96 GB SSD Storage, 4 TB Transfer, 40 Gbps Network In, 500 Mbps Network Out) Linode has better performance than DO. Linode 4 GB RAM are quite stable for Zimbra with about 200-300 users. The good news is that Singapore Linode has a decent network speed from Indonesia.<br />
<a href="http://54.254.121.108/wp-content/uploads/2015/12/linode-vavai-perf.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1930" src="http://54.254.121.108/wp-content/uploads/2015/12/linode-vavai-perf.png" alt="linode-vavai-perf" width="764" height="319" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2015/12/linode-vavai-perf.png 764w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2015/12/linode-vavai-perf-300x125.png 300w" sizes="auto, (max-width: 764px) 100vw, 764px" /></a><br />
On the subsequent testing, I can even run Zimbra for about 50-100 users on Linode 2 GB (2 GB RAM, 2 CPU Cores, 48 GB SSD Storage, 3 TB Transfer, 40 Gbps Network In, 250 Mbps Network Out) by disabling some services like anti spam/anti virus and applying some tuning to the configuration. Disabling anti spam and anti virus doesn&#8217;t cause others problem because I&#8217;ve manage different cluster for anti spam/anti virus and allowing incoming SMTP transaction from my anti spam/anti virus cluster only.<br />
So for now, I&#8217;m using Linode as my preferred VPS provider and have a better sleep at night because Linode help me guarantee better server availability and performance to my customer <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
Note : If you don&#8217;t mind about affiliate link, here is my aff link for <a href="https://www.linode.com/?r=a7c53afae9644090ba36d40566e970bce0f70fe4">sign up to Linode</a></p>
<p>The post <a href="https://www.vavai.net/performance-experience-between-digitalocean-vultr-and-linode/">My Personal Experience Using DigitalOcean, Vultr and Linode</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/performance-experience-between-digitalocean-vultr-and-linode/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 28/120 objects using Disk
Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: d3b35uem336dgh.cloudfront.net
Lazy Loading (feed)
Minified using Disk
Database Caching 14/39 queries in 0.019 seconds using Disk

Served from: www.vavai.net @ 2026-10-29 21:33:06 by W3 Total Cache
-->