[exim-dev] [Bug 2842] New: Improper handling CRLF in filter …

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 2842] accept CRLF as well as Unix-standard newline in Sieve filter, [exim-dev] [Bug 2842] accept CRLF as well as Unix-standard newline in Sieve filter, [exim-dev] [Bug 2842] accept CRLF as well as Unix-standard newline in Sieve filter
Subject: [exim-dev] [Bug 2842] New: Improper handling CRLF in filter files, makes Syntax error
https://bugs.exim.org/show_bug.cgi?id=2842

            Bug ID: 2842
           Summary: Improper handling CRLF in filter files, makes Syntax
                    error
           Product: Exim
           Version: N/A
          Hardware: All
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Filters
          Assignee: unallocated@???
          Reporter: tomas@???
                CC: exim-dev@???


Hello gentlemans,

according to https://datatracker.ietf.org/doc/html/rfc5228 , section 2.4.2,
Sieve filter files must have CRLF line endings. But Exim (probably all
versions) makes it "syntax errors on line 2", right after # Sieve filter
statement.

We use great Exim for long time (thank You for it), and found this after
upgrading our Roundcube webmail using managesieve plugin. Its Funny, that
author of managesieve changed to CRLF as response to the issue
https://github.com/roundcube/roundcubemail/issues/6686 and broked our newly
created filters :)

I will make simple script which will "find and correct" bad scripts in the
system, but it would be great to make Exim RFC compliant OR tolerant, at least
in this manner. It should be very simple repair.

Thank You.

T.

--
You are receiving this mail because:
You are on the CC list for the bug.