Dnia piątek, 19 stycznia 2007 08:45, Wojciech Gabor napisał:
> Dnia środa, 17 stycznia 2007 16:39, Eric "Shubes" napisał:
> > Wojciech Gabor wrote:
> > > vpopmail[24367]: vchkpw-smtp: password fail
> > > (pass: '0b3acf566e0899014146fee9fa23f760') [EMAIL PROTECTED]:IP
> >
> > Which encoding scheme is used by the scanner? Encoding scheme must
> > match what vpopmail is using (I'm not sure what that is off hand).
>
> I dont know and no any info in doc. IMO it is md5 but CRAM or DIGEST ???
>
> When I configure my kmail I check what encoding is used on SMTP server
> ... PLAIN and APOP only?

Ooops, it's for POP3.
For SMTP is PLAIN and CRAM-MD5.
Using Thunderbird I have efect like my client. When I try send message TH 
connect and in maillog I see "password fail (pass: '......
After some seconds connect second time and send message correct.

I try set CRAM-MD5 in my kmail and I have error:
"authentication failed (#5.7.1)"

In vchkpw.c I found:
<code>
#ifdef CLEAR_PASS
  /* Check CRAM-MD5 auth */
  if(ConnType == SMTP_CONN) {
          /* printf("vchkpw: smtp auth\n"); */
    cramaccepted = authcram(ThePass,TheChallenge,vpw->pw_clear_passwd);
    if(cramaccepted == 0) strcpy(AuthType, "CRAM-MD5");
  }

  /* Check APOP auth */
  if(ConnType == POP_CONN) {
    apopaccepted = authapop(ThePass,TheChallenge,vpw->pw_clear_passwd);
    if(apopaccepted == 0) strcpy(AuthType, "APOP");
  }
#endif
</code>

I understand if is set "--disable-clear-passwd" that CRAM-MD5 not work. But 
why is enable?

<code>
# telnet smtp.lo.pl 25
Trying 195.116.217.42...
Connected to smtp.lo.pl (195.116.217.42).
Escape character is '^]'.
220 listowy.lo.pl - Welcome to Qmail Toaster Ver. 1.3 SMTP Server ESMTP
EHLO poczta
250-listowy.lo.pl - Welcome to Qmail Toaster Ver. 1.3 SMTP Server
250-STARTTLS
250-PIPELINING
250-8BITMIME
250-SIZE 20971520
250 AUTH LOGIN PLAIN CRAM-MD5
</code>
 

-- 
Wojciech Gabor
System uptime: 41 years 8 months 3 weeks 3 days 6 hours 45 minuts

Doświadczenie to coś, co zdobywasz tuż po chwili w której go potrzebowałeś.

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to