I'd like to put forward the following patch for dovecot-sieve.
Essentially this just merges in some changes made in CMU sieve 2.3.8 and as such brings the behaviour more in line with RFC 3834 "Recommendations for Automatic Responses to Electronic Mail":
fixes erroneous sender "-request" substring match
checks for existence of a selection of list-* headers
expands "named-as-recipient" header checks to "Resent-To", "Resent-CC" and "Resent-BCC" fields. Note that the appended patch also includes a fix for some missing parentheses in the "resent-to" test which resulted in some extra work being done but was otherwise harmless. The fix has been sent to cyrus-bugs+@andrew.cmu.edu
prefixes subject in response with "Auto: " rather than (non-expanding) "Re: "
I also, mostly for kicks, attach two sieve-like scripts that attempt to encapsulate the when-not-to-respond logic as implemented (if the patch were to be applied) and as advised by RFC 3834 respectively. I wrote these as an exercise to help me gain a better understanding of sieve and the CMU implementation. I'm not sure they are otherwise useful.
On Tue, 2007-08-07 at 22:47 +0100, pod wrote:
I'd like to put forward the following patch for dovecot-sieve.
Thanks, committed.
and "Resent-BCC" fields. Note that the appended patch also includes a fix for some missing parentheses in the "resent-to" test which resulted in some extra work being done but was otherwise harmless.
Also changed to dovecot-sieve-1.1.
The fix has been sent to cyrus-bugs+@andrew.cmu.edu
I've tried to send some of my own changes and minor fixes a few times already but no-one's ever answered. Maybe I should try once more.
Hi,
On Thu, Aug 09, 2007 at 03:23:38PM +0300, Timo Sirainen wrote:
The fix has been sent to cyrus-bugs+@andrew.cmu.edu
I've tried to send some of my own changes and minor fixes a few times already but no-one's ever answered. Maybe I should try once more.
The cyrus-bugs is (or at least seems to be) a black hole.
Try cyrus-devel@lists.andrew.cmu.edu or Ken Murchison murch@andrew.cmu.edu directly.
Regards,
Tomas Janousek, SW Engineer, Red Hat, Inc.
On Thu, 2007-08-09 at 14:28 +0200, Tomas Janousek wrote:
Hi,
On Thu, Aug 09, 2007 at 03:23:38PM +0300, Timo Sirainen wrote:
The fix has been sent to cyrus-bugs+@andrew.cmu.edu
I've tried to send some of my own changes and minor fixes a few times already but no-one's ever answered. Maybe I should try once more.
The cyrus-bugs is (or at least seems to be) a black hole.
Try cyrus-devel@lists.andrew.cmu.edu or Ken Murchison murch@andrew.cmu.edu directly.
I added them to bugzilla now. Maybe they won't get lost in there.
participants (3)
-
pod
-
Timo Sirainen
-
Tomas Janousek