Fred Moyer wrote:

I upgraded to HEAD after this email was sent and it's been working well
for me.  I got a warning in the log for an uninitialized var, I'm using
auth_vpopmail_sql with crypt passwords.  This revised line 97 in
auth_vpopmail_sql caused the warning to go away:

my $pw_clear_passwd = $passwd_hash->{'pw_clear_passwd'} || '';

Indeed, that was something I couldn't check because I am using the pw_clear_passwd. I'm not sure that is the right fix, though, since I test whether that is defined as part of the CRAM-MD5 test. Can you try to change that line to:


    my $pw_clear_passwd = exists $passwd_hash->{'pw_clear_passwd'}
                               ? $passwd_hash->{'pw_clear_passwd'}
                               : undef;

and see if that still throws warnings for you?

John

Reply via email to