Bug#823064: libmail-srs-perl: decode address with smashed case returns no decoded address

Adrian Zaugg adi at ente.limmat.ch
Sat Apr 30 13:06:16 UTC 2016


Package: libmail-srs-perl
Version: 0.31-5
Severity: normal
Tags: upstream

Dear Maintainer,


Decoding an SRS tagged address with all lower case issues an error message and no decoded address. 

The doc at http://www.libsrs2.org/srs/srs.pdf, section 4.1 says: [...] "Consequently the Mail::SRS implementation is not case sensitive." A similar description can be read in the source's comments in SRS.pm.

Hence libmail-srs-perl should decode an address even when the case was smahed.

Example:

ente:/home/adi$ srsc
FORWARD test at original-to.example.tld forwarding-service.tld
SRS0=oOhFyc++V0Szn3mOry/ivIMV=P5=original-to.example.tld=test at forwarding-service.tld

ente:/home/adi$ srsc
REVERSE
srs0=oohfyc++v0szn3mory/ivimv=p5=original-to.example.tld=test at forwarding-service.tld
ERROR: Parse error in
`srs0=oohfyc++v0szn3mory/ivimv=p5=original-to.example.tld=test': SRS:
Case insensitive hash match detected. Someone smashed case in the
local-part. at /usr/share/perl5/Mail/SRS.pm line 421, <GEN86> line 1.

I do not get the decoded address back with a reverse call of a lower
cased SRS address. Without it, it gets difficult to accept such bounce messages in a mail server config.

I would expect the decoded address and maybe a warning, not an error.

The version of libmail-srs-perl is the same in all Debian suites.


Best regards, Adrian.


-- System Information:
Debian Release: 7.10
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libmail-srs-perl depends on:
ii  libdigest-hmac-perl  1.03+dfsg-1
ii  libmldbm-perl        2.04-1
ii  perl                 5.14.2-21+deb7u3

libmail-srs-perl recommends no packages.

libmail-srs-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list