Skip Menu |

This queue is for tickets about the Mail-SRS CPAN distribution.

Report information
The Basics
Id: 114103
Status: new
Priority: 0/
Queue: Mail-SRS

People
Owner: Nobody in particular
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: gregoa [...] cpan.org
Subject: libmail-srs-perl: decode address with smashed case returns no decoded address
We have the following bug reported to the Debian package of Mail-SRS (https://bugs.debian.org/823064): It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! ------8<-----------8<-----------8<-----------8<-----------8<----- 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@original-to.example.tld forwarding-service.tld SRS0=oOhFyc++V0Szn3mOry/ivIMV=P5=original-to.example.tld=test@forwarding-service.tld ente:/home/adi$ srsc REVERSE srs0=oohfyc++v0szn3mory/ivimv=p5=original-to.example.tld=test@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 ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group