[Dovecot] Sieve filters forwarding erratic after upgrade to 1.1.8
Pascal Volk
user+dovecot at localhost.localdomain.org
Fri Jan 23 17:00:05 EET 2009
On 23.01.2009 07:59 David Anderson wrote:
> On Thursday 22 January 2009, Pascal Volk wrote:
>> On 22.01.2009 20:42 David Anderson wrote:
>>> Upon upgrading Dovecot from 1.1.7 to 1.1.8, one of my sieve filters
>>> (generated with avelsieve) no longer works.
>> Please show the filter rule.
>
> Thanks for the reply. Here it is (with vacation message and personal
> info changed):
>
>
> require
> ["fileinto","envelope","reject","vacation","imapflags","relational","comparator-i;ascii-numeric","notify"];
> if allof (not header :contains "Subject" "Re:",
> not header :contains "From" "support at example.com")
> {
> vacation :days 1 :addresses ["support at example.com"] text:
> Blah blah blah
> (snipped)
> .
> ;
> stop;
> }
>
> if header :contains "From" "@example.com"
> {
> keep;
> redirect "sysadmin at example.com";
> }
>
I've tested your sieve script. Here it works:
From: support at example.com; Subject: Test; MID: mail_0001 at example.com:
deliver(user at test.tld): msgid=<mail_0001 at example.com>: saved mail to INBOX
deliver(user at test.tld): Sending a forward to <sysadmin at example.com> with return path <<support at example.com>>
From: support at example.com; Subj: Re: Test; MID: mail_0001_RE at example.com:
deliver(user at test.tld): msgid=<mail_0001_RE at example.com>: saved mail to INBOX
deliver(user at test.tld): Sending a forward to <sysadmin at example.com> with return path <<support at example.com>>
From: support at example.com; Subject: What means Re:?;
MID: mail_0001_What_means_RE at example.com:
deliver(user at test.tld): msgid=<mail_0001_What_means_RE at example.com>: saved mail to INBOX
deliver(user at test.tld): Sending a forward to <sysadmin at example.com> with return path <<support at example.com>>
From: john.doe at example.com; Subject: Test;
MID: 0003_john.doe at example.com:
deliver(user at test.tld): msgid=<0003_john.doe at example.com>: sent vacation response to <"john.doe"@example.com>
deliver(user at test.tld): msgid=<0003_john.doe at example.com>: saved mail to INBOX
From: john.doe at example.com; Subject: Re: Test;
MID: 0004_RE.john.doe at example.com:
deliver(user at test.tld): msgid=<0004_RE.john.doe at example.com>: saved mail to INBOX
deliver(user at test.tld): Sending a forward to <sysadmin at example.com> with return path <<john.doe at example.com>>
Please add "mail_debug = yes" to your protocol lda {...} section and see
what deliver will log.
Regards,
Pascal
--
Ubuntu is an ancient African word meaning “I can’t install Debian.”
-- unknown
More information about the dovecot
mailing list