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+ at 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. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: vacation.sieve.in URL: <http://dovecot.org/pipermail/dovecot/attachments/20070807/2643c35f/attachment-0006.pl> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: rfc3834.sieve.in URL: <http://dovecot.org/pipermail/dovecot/attachments/20070807/2643c35f/attachment-0007.pl> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: dovecot-sieve-1.0-vacupdates.patch URL: <http://dovecot.org/pipermail/dovecot/attachments/20070807/2643c35f/attachment-0008.pl>
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+ at 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070809/b3db1d77/attachment-0002.bin>
Hi, On Thu, Aug 09, 2007 at 03:23:38PM +0300, Timo Sirainen wrote:> > The fix has been sent to <cyrus-bugs+ at 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 at lists.andrew.cmu.edu or Ken Murchison <murch at andrew.cmu.edu> directly. Regards, -- Tomas Janousek, SW Engineer, Red Hat, Inc.