Anton Yuzhaninov
2008-Mar-17 19:49 UTC
[Dovecot] sieve header :matches for multiline header
RFC3028 say: Folding of long header lines (as described in [IMAIL] 3.4.8) is removed prior to interpretation of the data. The folding syntax (the CRLF that ends a line plus any leading whitespace at the beginning of the next line that indicates folding) are interpreted as if they were a single space. But it seems to be not true for dovecot-sieve-1.0.2 for header Received: from example.ru (example.ru [192.168.105.14]) by myserver (Postfix) with ESMTP id D4DA5D85927 This sieve test work: header :matches "Received" "from *by myserver (Postfix) with ESMTP id *" But this test not work, while should also work according to RFC: header :matches "Received" "from * by myserver (Postfix) with ESMTP id *" -- WBR, Anton Yuzhaninov
Mark E. Mallett
2008-Mar-26 21:38 UTC
[Dovecot] sieve header :matches for multiline header
On Mon, Mar 17, 2008 at 10:49:16PM +0300, Anton Yuzhaninov wrote:> RFC3028 say:Not an answer, but note that RFC3028 has been superseded by RFC5228. mm
On Mon, 2008-03-17 at 22:49 +0300, Anton Yuzhaninov wrote:> RFC3028 say: > > Folding of long header lines (as described in [IMAIL] 3.4.8) is > removed prior to interpretation of the data. The folding syntax (the > CRLF that ends a line plus any leading whitespace at the beginning of > the next line that indicates folding) are interpreted as if they were > a single space. > > But it seems to be not true for dovecot-sieve-1.0.2Fixed: http://hg.dovecot.org/dovecot-sieve-1.0/rev/5c3ba11994cb I tested that it works with Sieve plugin v1.1. -------------- 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/20080425/a1037d02/attachment-0002.bin>
Reasonably Related Threads
- 1.0.10 - Cached message offset lost
- gzip compressed mbox: Panic: file istream-zlib.c: line 421 (i_stream_zlib_seek): assertion failed: (ret == -1)
- converting maildir to mailbox
- assert in mail-transaction-log-file.c
- BUG - DELETE Public/Folder not working with Thunderbird