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: unalloca...@exim.org
          Reporter: j...@04755.net
                CC: exim-dev@exim.org

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"@example.com


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...@example.com>
<a\,b...@example.com>
<abc\\@example.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to