[exim-dev] [Bug 2607] New: Native SRS mishandles quoted/esca…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2607] New: Native SRS mishandles quoted/escaped localparts
https://bugs.exim.org/show_bug.cgi?id=2607

            Bug ID: 2607
           Summary: Native SRS mishandles quoted/escaped localparts
           Product: Exim
           Version: 4.94
          Hardware: All
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Experimental
          Assignee: unallocated@???
          Reporter: john@???
                CC: exim-dev@???


I mentioned this in #2193 and was asked to open a separate case for the native
SRS implementation.

Like the libsrs_alt implementation, the native SRS implementation in Exim 4.84
creates faulty addresses when it wraps quoted localparts.

# exim -be '${srs_encode {ABCDABCDABCDABCDABCDABCDABCDABCD} {\N"hello
world"@example.demo\N} {example.com}}'

SRS0=4595=e=example.demo="hello world"@???


While experimenting with this using the routers and transports from the
experimental-spec.txt file, I also noticed that the backslash escaped
equivalent addresses also seemed to get mishandled. These types of addresses
failed on the return trip rather than the initial forwarding though.

This may have been a problem with my test configuration or testing methods
rather than a bug in the inbound_srs functionality. Some examples for testing:

<a\@b@???>
<a\,b@???>
<abc\\@example.com>

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