<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — [SOLVED] Managesieve rules not being applied with Dovecot 1.2.9.]]></title>
		<link>https://forum.iredmail.org/topic1019-solved-managesieve-rules-not-being-applied-with-dovecot-129.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic1019.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [SOLVED] Managesieve rules not being applied with Dovecot 1.2.9..]]></description>
		<lastBuildDate>Mon, 28 Jun 2010 19:36:54 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Managesieve rules not being applied with Dovecot 1.2.9.]]></title>
			<link>https://forum.iredmail.org/post4480.html#p4480</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>iRedMail-0.5.1 ships roundcube-0.2.1, but you have 0.3.1.</p><p>Try to set &#039;mail_debug = yes&#039; in dovecot.conf, restart dovecot service, and then test yourcfilter rule again. Paste log in /var/log/sieve.log here.</p></blockquote></div><p>WOOOHOOOO!!!&nbsp; It&#039;s working!!</p><p>Debugging helped and I also remembered why I had to make some changes in dovecot.conf when I first upgraded to Dovecot 1.2.9 back in April. Dovecot 1.2.9 uses different settings in dovecot.conf for the sieve rules.</p><p>For example, the following lines, which are typically uncommented in a standard iRedMail install, need to be commented or removed because they are not used in the &quot;protocol managesieve&quot; section for Dovecot 1.2.9:</p><p>protocol managesieve {<br />&nbsp; &nbsp; # IP or host address where to listen in for connections.<br />&nbsp; &nbsp; listen = 127.0.0.1:2000</p><p>&nbsp; &nbsp; # Specifies the location of the symbolic link pointing to the<br />&nbsp; &nbsp; # active script in the sieve storage directory.<br />&nbsp; &nbsp; #sieve = /mnt/vmail/sieve/%Ld/%Ln/dovecot.sieve&nbsp; &nbsp; &lt;-- This line needs to be commented or removed.</p><p>&nbsp; &nbsp; # This specifies the path to the directory where the uploaded scripts are stored.<br />&nbsp; &nbsp; #sieve_storage = /mnt/vmail/sieve/%Ld/%Ln/&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;-- This line needs to be commented or removed.</p><p>Also, in the &quot;protocol lda&quot; section, the &quot;sieve&quot; plugin needs to be specified rather than the &quot;cmusieve&quot; plugin:</p><p>protocol lda {<br />&nbsp; &nbsp; postmaster_address = root<br />&nbsp; &nbsp; auth_socket_path = /var/run/dovecot/auth-master<br />&nbsp; &nbsp; #mail_plugins = cmusieve quota expire<br />&nbsp; &nbsp; mail_plugins = sieve quota</p><p>Lastly, the &quot;sieve&quot; and &quot;sieve_dir&quot; options need to be specified in the &quot;Per-user sieve mail filter&quot; plugin section:</p><p># Per-user sieve mail filter.<br />plugin {<br />&nbsp; &nbsp; # For maildir format.<br />&nbsp; &nbsp; sieve = /mnt/vmail/sieve/%Ld/%Ln/dovecot.sieve<br />&nbsp; &nbsp; sieve_dir = /mnt/vmail/sieve/%Ld/%Ln/</p><p>That&#039;s it!</p><p>Thanks again for all of your help and patience!</p><p>Note:&nbsp; I also remember now that Dovecot 1.2.9 got installed because I&#039;m using Ubuntu 10.04 and Dovecot 1.2.9 gets installed by default.&nbsp; I did not manually upgrade to 10.04.</p>]]></description>
			<author><![CDATA[null@example.com (iredmailnerd)]]></author>
			<pubDate>Mon, 28 Jun 2010 19:36:54 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4480.html#p4480</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Managesieve rules not being applied with Dovecot 1.2.9.]]></title>
			<link>https://forum.iredmail.org/post4478.html#p4478</link>
			<description><![CDATA[<p>iRedMail-0.5.1 ships roundcube-0.2.1, but you have 0.3.1.</p><p>Try to set &#039;mail_debug = yes&#039; in dovecot.conf, restart dovecot service, and then test yourcfilter rule again. Paste log in /var/log/sieve.log here.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 28 Jun 2010 17:45:46 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4478.html#p4478</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Managesieve rules not being applied with Dovecot 1.2.9.]]></title>
			<link>https://forum.iredmail.org/post4477.html#p4477</link>
			<description><![CDATA[<div class="quotebox"><cite>shake wrote:</cite><blockquote><p>suggest you upgrade iRedmail to 0.6.</p><p><a href="http://www.iredmail.org/forum/topic901-holiday-mode.html">http://www.iredmail.org/forum/topic901- … -mode.html</a></p></blockquote></div><p>I&#039;ve upgraded to iRedMail 0.6.0 and I&#039;m still having the same issue.&nbsp; Do you have any other suggestions on how I can resolve the issue?</p><p>Thanks.</p><br /><p>I&#039;m using Dovecot 1.2.9.&nbsp; I think that is the cause of my issue.&nbsp; Do you have any quick pointers on how to get managesieve working with Dovecot 1.2.9?</p>]]></description>
			<author><![CDATA[null@example.com (iredmailnerd)]]></author>
			<pubDate>Mon, 28 Jun 2010 17:31:25 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4477.html#p4477</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Managesieve rules not being applied with Dovecot 1.2.9.]]></title>
			<link>https://forum.iredmail.org/post4422.html#p4422</link>
			<description><![CDATA[<p>suggest you upgrade iRedmail to 0.6.</p><p><a href="http://www.iredmail.org/forum/topic901-holiday-mode.html">http://www.iredmail.org/forum/topic901- … -mode.html</a></p>]]></description>
			<author><![CDATA[null@example.com (shake)]]></author>
			<pubDate>Fri, 25 Jun 2010 03:32:35 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4422.html#p4422</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Managesieve rules not being applied with Dovecot 1.2.9.]]></title>
			<link>https://forum.iredmail.org/post4420.html#p4420</link>
			<description><![CDATA[<div class="quotebox"><cite>maxie_ro wrote:</cite><blockquote><p>First:<br />tail -f /var/log/sieve.log </p><p>What&#039;s the output when filters should have been applied?</p></blockquote></div><br /><p>Hi maxie_ro,</p><p>Thanks for responding.&nbsp; I just tested the redirect rule and the log shows the following:</p><p>&nbsp; &nbsp; &nbsp;Jun 24 14:08:28 deliver(regularuser@mydomain.com): Info: msgid=&lt;4C239EF6.6070908@bellsouth.net&gt;: saved mail to INBOX</p><p>rather than the mail being delivered to otheraccount@domain.com.</p>]]></description>
			<author><![CDATA[null@example.com (iredmailnerd)]]></author>
			<pubDate>Thu, 24 Jun 2010 18:11:46 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4420.html#p4420</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Managesieve rules not being applied with Dovecot 1.2.9.]]></title>
			<link>https://forum.iredmail.org/post4408.html#p4408</link>
			<description><![CDATA[<p>First:<br />tail -f /var/log/sieve.log </p><p>What&#039;s the output when filters should have been applied?</p>]]></description>
			<author><![CDATA[null@example.com (maxie_ro)]]></author>
			<pubDate>Thu, 24 Jun 2010 07:19:59 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4408.html#p4408</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Managesieve rules not being applied with Dovecot 1.2.9.]]></title>
			<link>https://forum.iredmail.org/post4404.html#p4404</link>
			<description><![CDATA[<p>After I create managesieve rules in Roundcube (0.3.1), they not applied or applied incorrectly.&nbsp; Has anyone had this issue before:&nbsp; For example, I&#039;ve created a filter named &quot;Gone Fishin&quot; and I want to to notify senders that &quot;I&#039;m gone fishin.&quot;&nbsp; I get the message but the sender never receives the automatic response.&nbsp; Here the rule:</p><p>require [&quot;vacation&quot;];<br /># rule:[Gone Fishin]<br />if anyof (true)<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; vacation &quot;I&#039;m gone fishin&quot;;<br />}</p><br /><p>Also, if I use the following rule, it never gets redirected to the other account, I just receive it at the regular account:</p><p># rule:[Redirect]<br />if anyof (true)<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; redirect &quot;otheraccount@domain.com&quot;;</p><br /><p>}</p><p>What am I missing?</p><p>I&#039;m using iRedMail 0.5.1.</p><p>Thanks for any help you can give.</p>]]></description>
			<author><![CDATA[null@example.com (iredmailnerd)]]></author>
			<pubDate>Wed, 23 Jun 2010 22:00:05 +0000</pubDate>
			<guid>https://forum.iredmail.org/post4404.html#p4404</guid>
		</item>
	</channel>
</rss>
