<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Sieve script not working]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic594.xml" />
	<updated>2010-02-01T19:58:49Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic594-sieve-script-not-working.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Sieve script not working]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2564.html#p2564" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[quasimotoca]]></name>
				<uri>http://www.iredmail.org/forum/user1259.html</uri>
			</author>
			<updated>2010-02-01T19:58:49Z</updated>
			<id>http://www.iredmail.org/forum/post2564.html#p2564</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sieve script not working]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2560.html#p2560" />
			<content type="html"><![CDATA[<p>I attached a postconf as well.</p>]]></content>
			<author>
				<name><![CDATA[quasimotoca]]></name>
				<uri>http://www.iredmail.org/forum/user1259.html</uri>
			</author>
			<updated>2010-02-01T18:19:37Z</updated>
			<id>http://www.iredmail.org/forum/post2560.html#p2560</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sieve script not working]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2559.html#p2559" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[quasimotoca]]></name>
				<uri>http://www.iredmail.org/forum/user1259.html</uri>
			</author>
			<updated>2010-02-01T18:15:49Z</updated>
			<id>http://www.iredmail.org/forum/post2559.html#p2559</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sieve script not working]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2557.html#p2557" />
			<content type="html"><![CDATA[<p>which version of iredmail and OS?</p>]]></content>
			<author>
				<name><![CDATA[shake]]></name>
				<uri>http://www.iredmail.org/forum/user3.html</uri>
			</author>
			<updated>2010-02-01T18:08:19Z</updated>
			<id>http://www.iredmail.org/forum/post2557.html#p2557</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sieve script not working]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2556.html#p2556" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[quasimotoca]]></name>
				<uri>http://www.iredmail.org/forum/user1259.html</uri>
			</author>
			<updated>2010-02-01T18:06:14Z</updated>
			<id>http://www.iredmail.org/forum/post2556.html#p2556</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Sieve script not working]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2555.html#p2555" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[shake]]></name>
				<uri>http://www.iredmail.org/forum/user3.html</uri>
			</author>
			<updated>2010-02-01T17:42:44Z</updated>
			<id>http://www.iredmail.org/forum/post2555.html#p2555</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Sieve script not working]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2552.html#p2552" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[quasimotoca]]></name>
				<uri>http://www.iredmail.org/forum/user1259.html</uri>
			</author>
			<updated>2010-02-01T16:18:22Z</updated>
			<id>http://www.iredmail.org/forum/post2552.html#p2552</id>
		</entry>
</feed>
