#514730 caff: perl warnings when name not set in gecos

#514730#5
Date:
2009-02-10 13:00:17 UTC
From:
To:
Although I'm not sure if that bug is a problem in caff I file it here
as I was not able to reproduce the problem in the failing Perl module.

If there's no name set in the gecos field, caff cries about

Use of uninitialized value $name in pattern match (m//) at /usr/share/perl5/Mail/Internet.pm line 536.
Use of uninitialized value $name in sprintf at /usr/share/perl5/Mail/Internet.pm line 541.

but it still works well...

#514730#10
Date:
2009-02-21 11:05:12 UTC
From:
To:
reassign 514730 libmailtools-perl
merge 495242 514730
thanks

Thanks for reporting, but this is a known bug in libmailtools-perl.

Caff already supplies it with a From header based on the 'owner' config
option. What the module does is still trying to construct a "name
<email>"-type header field, and then use it so set From or Sender if that
isn't already present. In our case this is only used for Sender.

The warnings are generated while building this header field in the
Mail::Internet module.


cheers,
Thijs