Bug report

Hi all,

A �small� bug with

RT-4.0.4 or RT-4.0.5

with perl package

p5-Email-Address-1.89.4

Everything work fine with

p5-Email-Address-1.89.2

but with

p5-Email-Address-1.89.4

and if (and only if) the From field contain some no-7 bits ascii character
like ��,�,�…� the mail is drop by RT with this kind of message in the
log file

Feb 8 13:16:00 support RT: Use of uninitialized value $From in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm line 151. (/usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm:151)
Feb 8 13:16:00 support RT: Use of uninitialized value $From in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm line 151. (/usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm:151)
Feb 8 13:16:00 support RT: Use of uninitialized value $From in string eq at /usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm line 151. (/usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm:151)
Feb 8 13:16:00 support RT: Found a ticket ID. It’s 3589
Feb 8 13:16:00 support RT: Couldn’t find sender’s address
(/usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email/Auth/MailFrom.pm:71) Feb 8 13:16:00 support RT: Could not record email: Could not load a valid user (/usr/local/share/rt40/html/REST/1.0/NoAuth/mail-gateway:75)

I don’t known if the problem come with the package or with RT.

I must say the user have a 7 bits name field in RT database (extract from
LDAP) and 8 bits name fied in the MUA. I known that’s suck but it’s working
with old version of perl package.

I’m running RT under FreeBSD.

In meantime I go back to old version of the perl package.

Regards.

JAS
Albert SHIH
DIO batiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
T�l�phone : 01 45 07 76 26/06 86 69 95 71
xmpp: jas@obspm.fr
Heure local/Local time:
mer 8 f�v 2012 13:23:49 CET

1 Like

Hi,

Fixed in Email::Address 1.895.On Wed, Feb 8, 2012 at 16:34, Albert Shih Albert.Shih@obspm.fr wrote:

Hi all,

A «small» bug with

   RT-4.0.4 or RT-4.0.5

with perl package

   p5-Email-Address-1.89.4

Everything work fine with

   p5-Email-Address-1.89.2

but with

   p5-Email-Address-1.89.4

and if (and only if) the From field contain some no-7 bits ascii character
like «é,è,à…» the mail is drop by RT with this kind of message in the
log file

Feb 8 13:16:00 support RT: Use of uninitialized value $From in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm line 151. (/usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm:151)
Feb 8 13:16:00 support RT: Use of uninitialized value $From in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm line 151. (/usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm:151)
Feb 8 13:16:00 support RT: Use of uninitialized value $From in string eq at /usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm line 151. (/usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email.pm:151)
Feb 8 13:16:00 support RT: Found a ticket ID. It’s 3589
Feb 8 13:16:00 support RT: Couldn’t find sender’s address
(/usr/local/lib/perl5/site_perl/5.14.2/RT/Interface/Email/Auth/MailFrom.pm:71) Feb 8 13:16:00 support RT: Could not record email: Could not load a valid user (/usr/local/share/rt40/html/REST/1.0/NoAuth/mail-gateway:75)

I don’t known if the problem come with the package or with RT.

I must say the user have a 7 bits name field in RT database (extract from
LDAP) and 8 bits name fied in the MUA. I known that’s suck but it’s working
with old version of perl package.

I’m running RT under FreeBSD.

In meantime I go back to old version of the perl package.

Regards.

JAS

Albert SHIH
DIO batiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
xmpp: jas@obspm.fr
Heure local/Local time:
mer 8 fév 2012 13:23:49 CET

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston March 5 & 6, 2012

Best regards, Ruslan.

Le 08/02/2012 � 18:35:12+0400, Ruslan Zakirov a �crit

Hi,

Fixed in Email::Address 1.895.

OK.

You’r very fast :wink:

Best regards.

JAS
Albert SHIH
DIO batiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
T�l�phone : 01 45 07 76 26/06 86 69 95 71
xmpp: jas@obspm.fr
Heure local/Local time:
mer 8 f�v 2012 15:38:01 CET