Hi Ralf,

On Mon, 02 Jun 2014 at 22:22:15 +0200, Ralf Jung wrote:
> After setting up caff as described in https://wiki.debian.org/caff, I still
> get the following warnings when caff sends a mail
> 
> Use of uninitialized value $name in pattern match (m//) at 
> /usr/share/perl5/Mail/Internet.pm line 537, <TTY> line 1.
> Use of uninitialized value $name in sprintf at 
> /usr/share/perl5/Mail/Internet.pm line 542.

Hmm, does the user you start caff with have a valid user name?  What's 
the output of

  grep $(id -u) /etc/passwd | cut -d':' -f5

From Mail::Internet's source code, it seems like it this module requires
either a non empty user name, or a non empty ‘NAME’ environment
variable.

Does starting caff as

  NAME='John Doe' caff …

solve the issue?  If it does, it has nothing to do with caff.  You may 
want to reassign your bug to libmailtools-perl instead, but you can also 
change your username or set ‘NAME’ to something not empty in your 
.caffrc:

  chfn -f "John Doe"

or

  echo '$ENV{NAME} = "John Doe"' >> ~/.caffrc


Hope that helps,
cheers,
-- 
Guilhem.

Attachment: signature.asc
Description: Digital signature

Reply via email to