John Peacock wrote: > Brian Szymanski wrote: >> The problem is this: $mechanism has been made lowercase, and keys of >> %auth_mechanisms have all been made uppercase. > > I swear that I tested this, but I had two different changes in my working copy > and I backed out both and applied one at a time, so I may have tested > something > very slightly different than what I committed. I chose to always uppercase > the > $mechanism; it makes no sense to lowercase it at the top and then uppercase it > later when testing. > > === lib/Qpsmtpd/SMTP.pm > ================================================================== > --- lib/Qpsmtpd/SMTP.pm (revision 852) > +++ lib/Qpsmtpd/SMTP.pm (revision 853) > @@ -243,7 +243,7 @@ > return $self->respond(501, $mechanism || "Syntax error in command") > unless ($ok == OK); > > - $mechanism = lc($mechanism); > + $mechanism = uc($mechanism); > > > #they AUTH'd once already > > > John > > p.s. the other bit I wound up committing "by accident" was a more conservative > way of dealing with "Incomplete DATA" or "Message too big" errors. I'll tweak > the log entry...
John, I'm now getting a "500 Internal server error" when trying to authenticate: # swaks --to [EMAIL PROTECTED] -a -au [EMAIL PROTECTED] Password: xxxxx === Trying batmobile.robinbowes.com:25... === Connected to batmobile.robinbowes.com. <- 220 batmobile.robinbowes.com ESMTP qpsmtpd 0.33-dev ready; send us your mail, but not your spam. -> EHLO batmobile.robinbowes.com <- 250-batmobile.robinbowes.com Hi batmobile.robinbowes.com [192.168.1.60] <- 250-PIPELINING <- 250-8BITMIME <- 250-STARTTLS <- 250 AUTH PLAIN LOGIN -> AUTH PLAIN <removed this time> <** 500 Internal server error -> AUTH LOGIN <** 500 Internal server error *** No authentication type succeeded -> QUIT <- 221 batmobile.robinbowes.com closing connection. Have a wonderful day. === Connection closed by foreign host. I'm back on r659 R.