HI,
It's still me and i try to understand how the cram-md5 smtp authentication
works :
for the authentication string i use the user/password couple :
toto/titi
in the file mailusers.tab :
"domainas.com" "toto" "110c110c" 71 "toto" "U"
in the file smtpauth.tab:
"toto" "titi" "MRV"
c:i connect to the xmailserver port 25
c:give ehlo string
S:the system answers with
S:250 xxx
C:i send auth cram-md5
S:the server returns a challenge in Base64 encoding
i decode it and add the result to the user:password couple
i concatenate the following :
toto:titi<decoded challenge>
with the string i generate via Md5 encryption a second string which
ist
encrypted in Base64
C:the result is sent to the server
S:and the server tells :
S:503 Authentication failed
now my question what is wrong
Daneel Commerce Electronique
42 avenue de la Republique
BP 636
68009 Colmar Cedex
France
Tel +33,(0)389217330 Fax +33,(0)389217331
http://www.daneel.com
mailto:[EMAIL PROTECTED]