Mailing List Archive

[Bug 2607] New: Native SRS mishandles quoted/escaped localparts

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

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} {}}'

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:


You are receiving this mail because:
You are on the CC list for the bug.
## List details at Exim details at ##