I was sitting around trying to get SMTP-AUTH to work from my phone
tonight and discovered it to be sending an extra return/new-line
character along with the password.  I got it to work by changing the
following at lib/Qpsmtpd/Auth.pm line 273 (qpsmtpd 0.29):

          $session->respond(334, e64("Password:"));
          $passClear = <>; 
          $passClear = decode_base64($passClear);

to:

          $session->respond(334, e64("Password:"));
          $passClear = <>; 
          $passClear =~ s![\n\r]!!g;
          $passClear = decode_base64($passClear);

Just thought I'd pass it along.

e;

--
eric richardson -- http://ericrichardson.com -- http://blogdowntown.com

Reply via email to