Hello there, I see a strange behavior in the sieve plugin. If I send an email containing the 'References' field with multiple values like this: References: <56CF3A8E.3060603 at email.com> ?<74cc03f4-899f-e76f-81ea-d0e8a0efce9e at email.com> ?<CY1PR1001MB11630EC0D1DD48FBB12DDAC1DE090 at CY1PR1001MB1163.namprd10.prod.outlook.com> ?<db3ee17f-33eb-b15c-8599-60b6dfa623e0 at email.com> ?<YTXPR01MB01112EB28C7BECB5A5EF14C5DEE10 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<734f9013-c4a2-eab4-9c0d-2cfc3deafaee at email.com> ?<YTXPR01MB0111660D7D5A73451F3E5B66DEE00 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<9e3e3c00-a0d8-c061-7c7e-20e660533264 at email.com> ?<e702bae4-b1d1-6671-fa74-87349282ce46 at email.com> ?<YTXPR01MB01119930E4D876F91008D465DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<69c6be47-b17f-9f9a-5a0c-f389c6877f82 at email.com> ?<YTXPR01MB01116BC86CBA49677A29C607DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<YTXPR01MB0111564E38C21BB293DCAE97DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<YTXPR01MB01117A258CD09E1E84A1CBC1DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> The vacation sieve script will add extra line breaks into the reply email as follows: References: <56CF3A8E.3060603 at email.com> ?<74cc03f4-899f-e76f-81ea-d0e8a0efce9e at email.com> ?<CY1PR1001MB11630EC0D1DD48FBB12DDAC1DE090 at CY1PR1001MB1163.namprd10.prod.outlook.com> ?<db3ee17f-33eb-b15c-8599-60b6dfa623e0 at email.com> ?<YTXPR01MB01112EB28C7BECB5A5EF14C5DEE10 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<734f9013-c4a2-eab4-9c0d-2cfc3deafaee at email.com> ?<YTXPR01MB0111660D7D5A73451F3E5B66DEE00 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<9e3e3c00-a0d8-c061-7c7e-20e660533264 at email.com> ?<e702bae4-b1d1-6671-fa74-87349282ce46 at email.com> ?<YTXPR01MB01119930E4D876F91008D465DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<69c6be47-b17f-9f9a-5a0c-f389c6877f82 at email.com> ?<YTXPR01MB01116BC86CBA49677A29C607DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<YTXPR01MB0111564E38C21BB293DCAE97DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<YTXPR01MB01117A258CD09E1E84A1CBC1DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<d0e5c311-bc89-c085-d597-f3a5744edd59 at email.com> The problem is this is rendered as follows in the email client (this is what a user will see when he/she receives the auto reply): ?<CY1PR1001MB11630EC0D1DD48FBB12DDAC1DE090 at CY1PR1001MB1163.namprd10.prod.outlook.com> ?<db3ee17f-33eb-b15c-8599-60b6dfa623e0 at email.com> ?<YTXPR01MB01112EB28C7BECB5A5EF14C5DEE10 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<734f9013-c4a2-eab4-9c0d-2cfc3deafaee at email.com> ?<YTXPR01MB0111660D7D5A73451F3E5B66DEE00 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<9e3e3c00-a0d8-c061-7c7e-20e660533264 at email.com> ?<e702bae4-b1d1-6671-fa74-87349282ce46 at email.com> ?<YTXPR01MB01119930E4D876F91008D465DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<69c6be47-b17f-9f9a-5a0c-f389c6877f82 at email.com> ?<YTXPR01MB01116BC86CBA49677A29C607DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<YTXPR01MB0111564E38C21BB293DCAE97DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<YTXPR01MB01117A258CD09E1E84A1CBC1DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> ?<d0e5c311-bc89-c085-d597-f3a5744edd59 at email.com> Auto-Submitted: auto-replied (vacation) Precedence: bulk MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit I am on holydays right now. I will revert to you ASAP..... I can reproduce this bug on the version 2.2.9 of managersieve/dovecot. Does anyone know how to fix this? Thank you. Krzysztof Witek ?
Op 29-6-2017 om 10:33 schreef Krzysztof Witek:> Hello there, > I see a strange behavior in the sieve plugin. > If I send an email containing the 'References' field with multiple values like this:What version of Pigeonhole is this? This looks like a problem that was solved ages ago. Regards, Stephan.> > References: <56CF3A8E.3060603 at email.com> > <74cc03f4-899f-e76f-81ea-d0e8a0efce9e at email.com> > <CY1PR1001MB11630EC0D1DD48FBB12DDAC1DE090 at CY1PR1001MB1163.namprd10.prod.outlook.com> > <db3ee17f-33eb-b15c-8599-60b6dfa623e0 at email.com> > <YTXPR01MB01112EB28C7BECB5A5EF14C5DEE10 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <734f9013-c4a2-eab4-9c0d-2cfc3deafaee at email.com> > <YTXPR01MB0111660D7D5A73451F3E5B66DEE00 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <9e3e3c00-a0d8-c061-7c7e-20e660533264 at email.com> > <e702bae4-b1d1-6671-fa74-87349282ce46 at email.com> > <YTXPR01MB01119930E4D876F91008D465DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <69c6be47-b17f-9f9a-5a0c-f389c6877f82 at email.com> > <YTXPR01MB01116BC86CBA49677A29C607DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <YTXPR01MB0111564E38C21BB293DCAE97DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <YTXPR01MB01117A258CD09E1E84A1CBC1DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > > The vacation sieve script will add extra line breaks into the reply email as follows: > > References: <56CF3A8E.3060603 at email.com> > <74cc03f4-899f-e76f-81ea-d0e8a0efce9e at email.com> > > <CY1PR1001MB11630EC0D1DD48FBB12DDAC1DE090 at CY1PR1001MB1163.namprd10.prod.outlook.com> > <db3ee17f-33eb-b15c-8599-60b6dfa623e0 at email.com> > > <YTXPR01MB01112EB28C7BECB5A5EF14C5DEE10 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <734f9013-c4a2-eab4-9c0d-2cfc3deafaee at email.com> > > <YTXPR01MB0111660D7D5A73451F3E5B66DEE00 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <9e3e3c00-a0d8-c061-7c7e-20e660533264 at email.com> > <e702bae4-b1d1-6671-fa74-87349282ce46 at email.com> > > <YTXPR01MB01119930E4D876F91008D465DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <69c6be47-b17f-9f9a-5a0c-f389c6877f82 at email.com> > > <YTXPR01MB01116BC86CBA49677A29C607DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > > <YTXPR01MB0111564E38C21BB293DCAE97DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > > <YTXPR01MB01117A258CD09E1E84A1CBC1DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <d0e5c311-bc89-c085-d597-f3a5744edd59 at email.com> > > > The problem is this is rendered as follows in the email client (this is what a user will see when he/she receives the auto reply): > > <CY1PR1001MB11630EC0D1DD48FBB12DDAC1DE090 at CY1PR1001MB1163.namprd10.prod.outlook.com> > <db3ee17f-33eb-b15c-8599-60b6dfa623e0 at email.com> > > <YTXPR01MB01112EB28C7BECB5A5EF14C5DEE10 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <734f9013-c4a2-eab4-9c0d-2cfc3deafaee at email.com> > > <YTXPR01MB0111660D7D5A73451F3E5B66DEE00 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <9e3e3c00-a0d8-c061-7c7e-20e660533264 at email.com> > <e702bae4-b1d1-6671-fa74-87349282ce46 at email.com> > > <YTXPR01MB01119930E4D876F91008D465DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <69c6be47-b17f-9f9a-5a0c-f389c6877f82 at email.com> > > <YTXPR01MB01116BC86CBA49677A29C607DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > > <YTXPR01MB0111564E38C21BB293DCAE97DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > > <YTXPR01MB01117A258CD09E1E84A1CBC1DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <d0e5c311-bc89-c085-d597-f3a5744edd59 at email.com> > Auto-Submitted: auto-replied (vacation) > Precedence: bulk > MIME-Version: 1.0 > Content-Type: text/plain; charset=utf-8 > Content-Transfer-Encoding: 8bit > > I am on holydays right now. I will revert to you ASAP..... > > > I can reproduce this bug on the version 2.2.9 of managersieve/dovecot. > Does anyone know how to fix this? > Thank you. > > Krzysztof Witek >
Krzysztof Witek
2017-Jun-29 09:28 UTC
Re: sieve/vacation: bad parsing of 'References' header
Hi Stephan Thank you for your reply. I'm using dovecot 2.2.9 packaged with ubuntu packages: dovecot-managesieved ?1:2.2.9-1ubuntu2.1 ? amd64 ? ? ? ?secure POP3/IMAP server - ManageSieve server dovecot-sieve ? ? ? ? ? ? ? 1:2.2.9-1ubuntu2.1 ? amd64 ? ? ? ?secure POP3/IMAP server - Sieve filters support If I'm not mistaken Pigeonhole is part of those packages. Regards -- Krzysztof Witek On Thursday, June 29, 2017 10:37 CEST, Stephan Bosch <stephan at rename-it.nl> wrote: ?Op 29-6-2017 om 10:33 schreef Krzysztof Witek:> Hello there, > I see a strange behavior in the sieve plugin. > If I send an email containing the 'References' field with multiple values like this:What version of Pigeonhole is this? This looks like a problem that was solved ages ago. Regards, Stephan.> > References: <56CF3A8E.3060603 at email.com> > <74cc03f4-899f-e76f-81ea-d0e8a0efce9e at email.com> > <CY1PR1001MB11630EC0D1DD48FBB12DDAC1DE090 at CY1PR1001MB1163.namprd10.prod.outlook.com> > <db3ee17f-33eb-b15c-8599-60b6dfa623e0 at email.com> > <YTXPR01MB01112EB28C7BECB5A5EF14C5DEE10 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <734f9013-c4a2-eab4-9c0d-2cfc3deafaee at email.com> > <YTXPR01MB0111660D7D5A73451F3E5B66DEE00 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <9e3e3c00-a0d8-c061-7c7e-20e660533264 at email.com> > <e702bae4-b1d1-6671-fa74-87349282ce46 at email.com> > <YTXPR01MB01119930E4D876F91008D465DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <69c6be47-b17f-9f9a-5a0c-f389c6877f82 at email.com> > <YTXPR01MB01116BC86CBA49677A29C607DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <YTXPR01MB0111564E38C21BB293DCAE97DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <YTXPR01MB01117A258CD09E1E84A1CBC1DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > > The vacation sieve script will add extra line breaks into the reply email as follows: > > References: <56CF3A8E.3060603 at email.com> > <74cc03f4-899f-e76f-81ea-d0e8a0efce9e at email.com> > > <CY1PR1001MB11630EC0D1DD48FBB12DDAC1DE090 at CY1PR1001MB1163.namprd10.prod.outlook.com> > <db3ee17f-33eb-b15c-8599-60b6dfa623e0 at email.com> > > <YTXPR01MB01112EB28C7BECB5A5EF14C5DEE10 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <734f9013-c4a2-eab4-9c0d-2cfc3deafaee at email.com> > > <YTXPR01MB0111660D7D5A73451F3E5B66DEE00 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <9e3e3c00-a0d8-c061-7c7e-20e660533264 at email.com> > <e702bae4-b1d1-6671-fa74-87349282ce46 at email.com> > > <YTXPR01MB01119930E4D876F91008D465DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <69c6be47-b17f-9f9a-5a0c-f389c6877f82 at email.com> > > <YTXPR01MB01116BC86CBA49677A29C607DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > > <YTXPR01MB0111564E38C21BB293DCAE97DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > > <YTXPR01MB01117A258CD09E1E84A1CBC1DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <d0e5c311-bc89-c085-d597-f3a5744edd59 at email.com> > > > The problem is this is rendered as follows in the email client (this is what a user will see when he/she receives the auto reply): > > <CY1PR1001MB11630EC0D1DD48FBB12DDAC1DE090 at CY1PR1001MB1163.namprd10.prod.outlook.com> > <db3ee17f-33eb-b15c-8599-60b6dfa623e0 at email.com> > > <YTXPR01MB01112EB28C7BECB5A5EF14C5DEE10 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <734f9013-c4a2-eab4-9c0d-2cfc3deafaee at email.com> > > <YTXPR01MB0111660D7D5A73451F3E5B66DEE00 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <9e3e3c00-a0d8-c061-7c7e-20e660533264 at email.com> > <e702bae4-b1d1-6671-fa74-87349282ce46 at email.com> > > <YTXPR01MB01119930E4D876F91008D465DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <69c6be47-b17f-9f9a-5a0c-f389c6877f82 at email.com> > > <YTXPR01MB01116BC86CBA49677A29C607DE3A0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > > <YTXPR01MB0111564E38C21BB293DCAE97DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > > <YTXPR01MB01117A258CD09E1E84A1CBC1DECA0 at YTXPR01MB0111.CANPRD01.PROD.OUTLOOK.COM> > <d0e5c311-bc89-c085-d597-f3a5744edd59 at email.com> > Auto-Submitted: auto-replied (vacation) > Precedence: bulk > MIME-Version: 1.0 > Content-Type: text/plain; charset=utf-8 > Content-Transfer-Encoding: 8bit > > I am on holydays right now. I will revert to you ASAP..... > > > I can reproduce this bug on the version 2.2.9 of managersieve/dovecot. > Does anyone know how to fix this? > Thank you. > > Krzysztof Witek >? ?