Re: [qmailtoaster] Password fail

2007-01-19 Thread Wojciech Gabor
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]



Re: [qmailtoaster] Password fail

2007-01-19 Thread Eric \Shubes\
Wojciech Gabor wrote:
 vpopmail[24367]: vchkpw-smtp: password fail 
 (pass: '0b3acf566e0899014146fee9fa23f760') [EMAIL PROTECTED]:IP
 
 This connection is from scaner sending its work to email. In tutorial is 
 only info that password is coded. Change to send password in plain text is 
 not possible.
 How resolve it?
  

Is the scanner able to pass an account name and password to smtp for
authentication? If so, is it valid?

If you cannot pass a valid account name/pw to the toaster's smtp server, you
can configure the toaster to accept any smtp connection from your scanner's
IP address by adding an entry in /etc/tcprules.d/tcp.smtp like so (make it
the 2nd line):
ip.address.of.scanner:allow,RELAYCLIENT=
Don't forget to
# qmailctl cdb
to make the change take effect.
-- 
-Eric 'shubes'

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



Re: [qmailtoaster] Password fail

2007-01-18 Thread Wojciech Gabor
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?  

I think it's problem in any rpm but what? qmail, vpopmail, 
courier-authlib ... ?
-- 
Tuptus
System uptime: 41 years 8 months 3 weeks 3 days 2 hours 45 minuts

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



[qmailtoaster] Password fail

2007-01-17 Thread Wojciech Gabor
vpopmail[24367]: vchkpw-smtp: password fail 
(pass: '0b3acf566e0899014146fee9fa23f760') [EMAIL PROTECTED]:IP

This connection is from scaner sending its work to email. In tutorial is 
only info that password is coded. Change to send password in plain text is 
not possible.
How resolve it?
 
-- 
Tuptus
System uptime: 41 years 8 months 3 weeks 1 days 9 hours 45 minuts

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



Re: [qmailtoaster] Password fail

2007-01-17 Thread Eric \Shubes\
Wojciech Gabor wrote:
 vpopmail[24367]: vchkpw-smtp: password fail 
 (pass: '0b3acf566e0899014146fee9fa23f760') [EMAIL PROTECTED]:IP
 
 This connection is from scaner sending its work to email. In tutorial is 
 only info that password is coded.

That's a good thing.

 Change to send password in plain text is 
 not possible.

You wouldn't want to do that.

 How resolve it?

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).


-- 
-Eric 'shubes'

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