<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Sieve script not working]]></title>
		<link>http://www.iredmail.org/forum/topic594-sieve-script-not-working.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic594.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Sieve script not working.]]></description>
		<lastBuildDate>Mon, 01 Feb 2010 19:58:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Sieve script not working]]></title>
			<link>http://www.iredmail.org/forum/post2564.html#p2564</link>
			<description><![CDATA[<p>I solved the issue.&nbsp; Originally I wanted to use header_checks.pcre.&nbsp; I changed the following line in master.cf</p><p>From:<br />receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings</p><p>To:<br />receive_override_options=no</p><p>restarted Postfix and away it went. I&#039;m new to customizing Postfix at this level and I also found out that you can&#039;t postmap regex: or pcre: files, however you can test them with postmap.</p><p>Hope this helps any noobs.</p><p>Cheers,<br />Dave</p>]]></description>
			<author><![CDATA[null@example.com (quasimotoca)]]></author>
			<pubDate>Mon, 01 Feb 2010 19:58:49 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post2564.html#p2564</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sieve script not working]]></title>
			<link>http://www.iredmail.org/forum/post2560.html#p2560</link>
			<description><![CDATA[<p>I attached a postconf as well.</p>]]></description>
			<author><![CDATA[null@example.com (quasimotoca)]]></author>
			<pubDate>Mon, 01 Feb 2010 18:19:37 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post2560.html#p2560</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sieve script not working]]></title>
			<link>http://www.iredmail.org/forum/post2559.html#p2559</link>
			<description><![CDATA[<p>I&#039;m using iRedMail 0.5.1 and the latest CentOS 5.4<br />uname -r<br />2.6.18-164.11.1.el5</p>]]></description>
			<author><![CDATA[null@example.com (quasimotoca)]]></author>
			<pubDate>Mon, 01 Feb 2010 18:15:49 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post2559.html#p2559</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sieve script not working]]></title>
			<link>http://www.iredmail.org/forum/post2557.html#p2557</link>
			<description><![CDATA[<p>which version of iredmail and OS?</p>]]></description>
			<author><![CDATA[null@example.com (shake)]]></author>
			<pubDate>Mon, 01 Feb 2010 18:08:19 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post2557.html#p2557</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sieve script not working]]></title>
			<link>http://www.iredmail.org/forum/post2556.html#p2556</link>
			<description><![CDATA[<p>Yep, did that and checked the logs after sending test messages.&nbsp; Nothing hits the sieve.log and the usual dovecot login stuff appears in dovecot.log for example I sent a message at 11:35 and got the following in the dovecot log:</p><p>dovecot: Feb 01 11:32:51 Warning: Killed with signal 15<br />dovecot: Feb 01 11:32:51 Info: dovecot v1.1.19 starting up (core dumps disabled)<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Loading modules from directory: /usr/lib/dovecot/imap<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Module loaded: /usr/lib/dovecot/imap/lib10_quota_plugin.so<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Module loaded: /usr/lib/dovecot/imap/lib11_imap_quota_plugin.so<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Module loaded: /usr/lib/dovecot/imap/lib20_zlib_plugin.so<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Effective uid=501, gid=501, home=/var/vmail/vmail01<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Quota root: name= backend=maildir args=<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Quota rule: root= mailbox=* bytes=104857600 messages=0<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Quota warning: bytes=89128960 (85%) messages=0 command=/usr/bin/dovecot-quo<br />ta-warning.sh 85<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Quota warning: bytes=94371840 (90%) messages=0 command=/usr/bin/dovecot-quo<br />ta-warning.sh 90<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): Quota warning: bytes=99614720 (95%) messages=0 command=/usr/bin/dovecot-quo<br />ta-warning.sh 95<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): maildir: data=~/internal.avema.net/d/dc/dco/dcook-2010.01.28.14.57.58//Mail<br />dir/<br />dovecot: Feb 01 11:35:12 Info: IMAP(dcook@internal.avema.net): maildir++: root=/var/vmail/vmail01/internal.avema.net/d/dc/dco/dcook-2010.0<br />1.28.14.57.58//Maildir, index=, control=, inbox=/var/vmail/vmail01/internal.avema.net/d/dc/dco/dcook-2010.01.28.14.57.58//Maildir<br />dovecot: Feb 01 11:35:12 Info: imap-login: Login: user=&lt;dcook@internal.avema.net&gt;, method=PLAIN, rip=192.168.4.215, lip=192.168.4.230, TLS</p><p>I&#039;m trying to do the following in dovecot.sieve: </p><p>if not address :domain :is &quot;Delivered-To&quot; &quot;internal.avema.net&quot; {<br />&nbsp; &nbsp; redirect &quot;all@internal.avema.net&quot;;<br />&nbsp; &nbsp; stop;<br />}<br /> but nothing gets redirected.</p><p>Cheers,<br />Dave</p>]]></description>
			<author><![CDATA[null@example.com (quasimotoca)]]></author>
			<pubDate>Mon, 01 Feb 2010 18:06:14 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post2556.html#p2556</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sieve script not working]]></title>
			<link>http://www.iredmail.org/forum/post2555.html#p2555</link>
			<description><![CDATA[<p><a href="http://www.iredmail.org/forum/topic453-faq-how-to-debug-dovecot-and-sieve-rules.html">http://www.iredmail.org/forum/topic453- … rules.html</a></p><p>you can check the log.</p>]]></description>
			<author><![CDATA[null@example.com (shake)]]></author>
			<pubDate>Mon, 01 Feb 2010 17:42:44 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post2555.html#p2555</guid>
		</item>
		<item>
			<title><![CDATA[Sieve script not working]]></title>
			<link>http://www.iredmail.org/forum/post2552.html#p2552</link>
			<description><![CDATA[<p>Hi:</p><p>I have the following test sieve script in: /var/vmail/sieve/dovecot.sieve</p><p>if address :is &quot;From&quot; &quot;me@internal.mynetwork.net&quot; {<br />&nbsp; &nbsp; redirect &quot;me@gmail.com&quot;;<br />&nbsp; &nbsp; stop;<br />}</p><p>I&#039;ve tried a number of simple sieve recipes like this but they don&#039;t seem to be working.&nbsp; Is there a switch somewhere I need to turn on?&nbsp; Everything else works fine.</p><p>Cheers,<br />Dave</p>]]></description>
			<author><![CDATA[null@example.com (quasimotoca)]]></author>
			<pubDate>Mon, 01 Feb 2010 16:18:22 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post2552.html#p2552</guid>
		</item>
	</channel>
</rss>
