Subject: Re: Announcement: Notifications List
From: Douglas Otis <[email-masked]>
To: [email-masked]
Cc: "Burger, Eric" <[email-masked]>, [email-masked]
Date: Tue, 20 Dec 2005 11:11:29 -0800
List-Id: <ietf-smtp.imc.org>

On Dec 20, 2005, at 10:12 AM, David B Harrington wrote:
>
>> Burger, Eric wrote:
>>>
>>> This list is for discussions relating to the requirements,  
>>> definition, and directions for message notifications.
>
> Is this message notifications related to specific technologies, or  
> is this a general notification mechanism?
>
> If it's a general notification mechanism, then shouldn't this be  
> addressed within the O&M area, where discussion of notification  
> mechanisms is already ongoing?

I suspect these notifications are related to MUA/MDA rather than the  
MTA/MSA.

-Doug

Date: Tue, 20 Dec 2005 12:35:44 -0500
From: Keith Moore <[email-masked]>
To: "Burger, Eric" <[email-masked]>
CC: [email-masked], [email-masked], [email-masked], [email-masked]
Subject: Re: Announcement: Notifications List
Sender: [email-masked]

Burger, Eric wrote:
> In Vancouver in the lemonade work group meeting a number of people
> expressed interest in the creation of a list dedicated to the discussion
> of user notification technology.
> 
> This list is for discussions relating to the requirements, definition,
> and directions for message notifications.
> 
> While many requirements are driven by lemonade, there is a broader
> community with interest and expertise that we hope will contribute to
> the discussion here.
> 
> Please keep discussions that relate to lemonade, smtp, simple, etc. on
> their respective lists.

Please do not impose this constraint.  There is already far too much 
tendency for narrowly-focused groups to work in isolation and to ignore 
useful input from parties whose interests are peripheral to the group 
but affected by the group's output.  This in turn causes groups to get 
strong pushback at Last Call which could have been avoided had the group 
not isolated itself.

> Please keep cross-posting to a minimum.  Cross-posting to a number of
> lists will put your message into the spam bucket and will delay or deny
> your message being posted.

If the list manager is going to impose restrictions such as this, it 
would be better if such discussion happened elsewhere than on this list.

Keith

Content-class: urn:content-classes:message
Subject: Announcement: Notifications List
Date: Tue, 20 Dec 2005 10:32:45 -0500
From: "Burger, Eric" <[email-masked]>
To: <[email-masked]>, <[email-masked]>, <[email-masked]>
Cc: <[email-masked]>
Sender: [email-masked]

In Vancouver in the lemonade work group meeting a number of people
expressed interest in the creation of a list dedicated to the discussion
of user notification technology.

This list is for discussions relating to the requirements, definition,
and directions for message notifications.

While many requirements are driven by lemonade, there is a broader
community with interest and expertise that we hope will contribute to
the discussion here.

Please keep discussions that relate to lemonade, smtp, simple, etc. on
their respective lists.

Please keep cross-posting to a minimum.  Cross-posting to a number of
lists will put your message into the spam bucket and will delay or deny
your message being posted.

More information is at 
<https://www1.ietf.org/mailman/listinfo/notifications>

Date: Fri, 9 Dec 2005 09:52:21 +0100
From: Arnt Gulbrandsen <[email-masked]>
To: [email-masked]
Subject: Re: SRV records
Cc: Markus Stumpf <[email-masked]>
Sender: [email-masked]

Markus Stumpf writes:
> Hi,
>
> is anybody aware of MTA software that uses SRV records for mail 
> routing (in addition(?) to MX records)?
>
> I thought maybe Arnt would have some, but got NXDOMAIN ;-)

I am not djb. Standard is better than better, say I, so I route my mail 
the standard way.

> Is it useful (e.g. wrt 2821bis) to also have
>     _submission._tcp.example.com
> for MSAs?

Now, _that_ I think is useful. It's a little difficult to use properly 
in GUI clients, but doable.

Arnt

Date: Fri, 9 Dec 2005 10:29:08 +0000
From: Tony Finch <[email-masked]>
To: Markus Stumpf <[email-masked]>
cc: [email-masked]
Subject: Re: SRV records
Sender: [email-masked]

On Fri, 9 Dec 2005, Markus Stumpf wrote:
>
> is anybody aware of MTA software that uses SRV records for mail routing
> (in addition(?) to MX records)?

Exim has support for it, but it is turned off by default. I don't know if
anyone uses it in practice.

Tony.
-- 
f.a.n.finch  <[email-masked]>  http://dotat.at/
BISCAY: WEST 5 OR 6 BECOMING VARIABLE 3 OR 4. SHOWERS AT FIRST. MODERATE OR
GOOD.

Cc: [email-masked]
From: Douglas Otis <[email-masked]>
Subject: Re: SRV records
Date: Thu, 8 Dec 2005 18:09:40 -0800
To: Markus Stumpf <[email-masked]>
Sender: [email-masked]

On Dec 8, 2005, at 5:22 PM, Markus Stumpf wrote:
>
> is anybody aware of MTA software that uses SRV records for mail  
> routing
> (in addition(?) to MX records)?
>
> I don't know about the status of 2821bis - should they be mentioned?

Perhaps in respect to HELO/EHLO verification. : )

> Should there be a precedence of SRV records over MX records? Should
> MX records become obsolete?

While SRV records allow greater control over issues related to load  
balancing, SRV has a problem related to how Microsoft uses these  
records in their products.  Unless this has changed over the last  
year, Microsoft has a tendency to use long timeouts and appear to  
hang when attempting to find servers that may be behind firewalls  
pointed to by SRV records.  This really means one must be careful  
about what zones are public that contain SRV records.  There is also  
the issue that using a prefix precludes the use of a wildcard.  As a  
result of these two problems, I doubt that SRV will displace MX  
record use.

> MTAs would use
>     _smtp._tcp.example.com
>
> Is it useful (e.g. wrt 2821bis) to also have
>     _submission._tcp.example.com
> for MSAs?

There are some MTA software packages that are using an SRV record to  
validate the EHLO and confirm that the MTA is authorized.  The use of  
this record simplifies dealing with the public zone issue and is  
defined in:

http://www.ietf.org/internet-drafts/draft-crocker-csv-csa-00.txt

The related software can be found at:
http://www.mipassoc.org/csv

-Doug

Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Date: Fri, 9 Dec 2005 02:22:25 +0100
From: Markus Stumpf <[email-masked]>
To: [email-masked]
Subject: SRV records
Organization: SpaceNet AG, Muenchen, Germany
Sender: [email-masked]

Hi,

is anybody aware of MTA software that uses SRV records for mail routing
(in addition(?) to MX records)?

I thought maybe Arnt would have some, but got NXDOMAIN ;-)

I don't know about the status of 2821bis - should they be mentioned?
Should there be a precedence of SRV records over MX records? Should
MX records become obsolete?

MTAs would use
    _smtp._tcp.example.com

Is it useful (e.g. wrt 2821bis) to also have
    _submission._tcp.example.com
for MSAs?

	\Maex

-- 
SpaceNet AG            | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development |       D-80807 Muenchen    | Fax: +49 (89) 32356-299
"The security, stability and reliability of a computer system is reciprocally
 proportional to the amount of vacuity between the ears of the admin"

To: [email-masked]
From: Frank Ellermann <[email-masked]>
Subject:  Re: CRAM-MD5 Authentication -- leave the previous mail..
Date:  Wed, 07 Dec 2005 21:39:28 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 15
Sender: [email-masked]

Vijayan wrote:

> "PDEzMTcwMTY1MjguOTM2MzU4OEB0ZXN0MTIzPg=="
[...]
> <1317016528.9363588@test123>

Typo ?  I get 935 instead of 936.

> digest = "08efc84630335743ec35966c80b23c5a"

Here I get "fe784694c3113e666b26572de11dc354" (using 935).
Your HMAC would be okay for 936, no problem after the typo.

                        Bye, Frank

To: [email-masked]
From: Frank Ellermann <[email-masked]>
Subject:  Re: SMTP Proxy
Date:  Mon, 05 Dec 2005 12:58:16 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 31
Sender: [email-masked]

Vijayan wrote:

> Anybody know what is this smtp proxy and how to connect to a
> smtp proxy..

A proxy is an agent between the client and the "real" server.

 From the client's POV the proxy behaves like a server.  Seen
from the "real" server the proxy behaves like a client.

Its default mode of operation is to forward anything the client
says as is to the "real" server, and return all answers from
the "real" server as is to the client.

Additionally it rewrites certain commands, e.g. it replaces a
HELO client by its own EHLO proxy.example.  For your original
problem it could insert AUTH cram-md5 etc. between HELO client
and the first MAIL FROM user@client.  It can also use port 25
SMTP on the client's side and port 587 SUBMIT on the side of
the "real" server (in that case the "real" server is an MSA).

Maybe it will handle serious errors somehow, if the client or
the "real" server drop the connection.  It could emulate a
QUIT from the client or a 5xx error reply from the server
before it drops the connection to the other side too.

It does not store complete messages, it only "sees" single
lines, forwarding them as is or modified to the other side.

                       Bye, Frank

From: "Vijayan" <[email-masked]>
To: <[email-masked]>
Cc: "Robert A. Rosenberg" <[email-masked]>, <[email-masked]>, "Paul Smith" <[email-masked]>, "Tony Finch" <[email-masked]>, "Frank Ellermann" <[email-masked]>
Subject: SMTP Proxy
Date: Mon, 5 Dec 2005 16:28:26 +0530
Sender: [email-masked]

This is a multi-part message in MIME format.

------=_NextPart_000_006A_01C5F9B8.EB021C90
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Anybody know what is this smtp proxy and how to connect to a smtp =
proxy..

or=20

if my smtp server has a proxy how to send a mail from the client using =
this proxy..

------=_NextPart_000_006A_01C5F9B8.EB021C90
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1522" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Anybody know =
what is this=20
smtp proxy and how to connect to a smtp proxy..</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>or =
</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>if my smtp =
server has a proxy=20
how to send a mail from the client using this proxy..</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_006A_01C5F9B8.EB021C90--

From: "Hector Santos" <[email-masked]>
To: "Vijayan" <[email-masked]>, <[email-masked]>
Subject: Re:  CRAM-MD5 Authentication -- leave the previous mail..
Date: Thu, 1 Dec 2005 09:49:00 -0500
Organization: Santronics Software, Inc.
Sender: [email-masked]

Vijayan,

What server are you using?

Based on your input, the logic seems correct.  In other words, I was
able to duplicate the CRAM-MD5 authentication credential string sent to
the server:

dmlqYXlhbkB0ZXN0MTIzIDA4ZWZjODQ2MzAzMzU3NDNlYzM1OTY2YzgwYjIzYzVh

So this might be a backend issue.

here is a C/C++ SMTP client class method for CRAM-MD5 I know works.  I
think it is self documented.

BOOL CSMTPClient::AuthCRAM(const char *szUser, const char *szPass)
{
    //////////////////////////////////////////////
    // AUTH CRAM-MD5 LOGIC
    // see d:\rfc\smtp.auth.rfc2554.txt
    //     d:\rfc\cram-md5.rfc2195.txt
    //
    // C: AUTH CRAM-MD5
    // S: 334 base64(challengestring)
    // C: base64(szUser + " "+md5(challengestring,pwd))
    // S: 235 Authentication Successful
    //////////////////////////////////////////////

    printf("** Authenticating using AUTH CRAM-MD5\n");

    int status;
    char szResponse[1024];
    char szBuffer[1024];
    char szChallenge[1024];
    char szTemp[256];

    status = Sendf("AUTH CRAM-MD5\r\n");
    if (status == -1) return FALSE;

    // expected responses
    // 504 unrecognized method
    // 334 base64(wildcat challenge string)

    // ReadResponse is simply a wrapper around
    // select() and recv()

    status = ReadResponse(szResponse, sizeof(szResponse),TRUE);
    if (status != 334) return FALSE;

    char *p = strchr(szResponse,' ');
    if (!p) return FALSE;

    UnBase64(szChallenge,p+1);

    char hshbuf[2*MD5_DIGEST_SIZE + 1];
    ZeroMemory(&hshbuf,sizeof(hshbuf));
    strcpy(szTemp,szPass);
    strlwr(szTemp);
    hmac_md5 (szChallenge,strlen(szChallenge),
szTemp,strlen(szTemp),hshbuf);

    strcpy(szTemp,szUser);
    if (strchr(szTemp,' ')) MakeDotName(szTemp);

    wsprintf(szBuffer,"%s %s",szTemp,hshbuf);

    Base64(szResponse,szBuffer,strlen(szBuffer));
    status = Sendf("%s\r\n",szResponse);
    if (status == -1) return FALSE;

    status = ReadResponse(szResponse, sizeof(szResponse));

    // expected responses
    // 235 Authentication successful

    if (status != 235) {
        return FALSE;
    }

    return TRUE;
}

--
Hector Santos, Santronics Software, Inc.
http://www.santronics.com

----- Original Message -----
From: "Vijayan" <[email-masked]>
To: <[email-masked]>
Cc: "Robert A. Rosenberg" <[email-masked]>;
<[email-masked]>; "Paul Smith" <[email-masked]>; "Tony Finch"
<[email-masked]>; "Frank Ellermann" <[email-masked]>
Sent: Thursday, December 01, 2005 7:13 AM
Subject: CRAM-MD5 Authentication -- leave the previous mail..

Hi Friends..  (sorry for the spam)

Now i somehow managed to build my CRAM-MD5 algorithm..
but still am getting failure notice in authentication from the server

Please do spare some minutes for me and consider this sample case:

Username : vijayan@test123
Password : vijayan123

Server's Response for AUTH CRAM-MD5 :
"PDEzMTcwMTY1MjguOTM2MzU4OEB0ZXN0MTIzPg=="
(greeting or secret)

then I made Base64 decode string (Challenge):
<1317016528.9363588@test123>  (last time i sent the wrong buffer)...

then the md5 algorithm formed the digest on this buffer which is
digest = "08efc84630335743ec35966c80b23c5a"

so the full base64 decoded string is : "vijayan@test123
08efc84630335743ec35966c80b23c5a"

now i made the base64 encode on this string, which returns
"dmlqYXlhbkB0ZXN0MTIzIDA4ZWZjODQ2MzAzMzU3NDNlYzM1OTY2YzgwYjIzYzVh"

this buffer i sent to server. But the server return "535 authentication
failed (#5.7.0)

pls check these sequences and letme know where the error occured..
is my algorithm is correct..??

if any error where it might be..?

pls help in this..

hope to get a reply from anyof u regarding this issue..

thanks in advance,
Vijayan

From: "Vijayan" <[email-masked]>
To: <[email-masked]>
Cc: "Robert A. Rosenberg" <[email-masked]>, <[email-masked]>, "Paul Smith" <[email-masked]>, "Tony Finch" <[email-masked]>, "Frank Ellermann" <[email-masked]>
Subject:  CRAM-MD5 Authentication -- leave the previous mail..
Date: Thu, 1 Dec 2005 17:43:05 +0530
Sender: [email-masked]

This is a multi-part message in MIME format.

------=_NextPart_000_0034_01C5F69E.AF5A3F00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Friends..  (sorry for the spam)

Now i somehow managed to build my CRAM-MD5 algorithm..
but still am getting failure notice in authentication from the server

Please do spare some minutes for me and consider this sample case:

Username : vijayan@test123
Password : vijayan123

Server's Response for AUTH CRAM-MD5 : =
"PDEzMTcwMTY1MjguOTM2MzU4OEB0ZXN0MTIzPg=3D=3D"
(greeting or secret)

then I made Base64 decode string (Challenge): =
<1317016528.9363588@test123>  (last time i sent the wrong buffer)...

then the md5 algorithm formed the digest on this buffer which is
digest =3D "08efc84630335743ec35966c80b23c5a"

so the full base64 decoded string is : "vijayan@test123 =
08efc84630335743ec35966c80b23c5a"

now i made the base64 encode on this string, which returns
"dmlqYXlhbkB0ZXN0MTIzIDA4ZWZjODQ2MzAzMzU3NDNlYzM1OTY2YzgwYjIzYzVh"

this buffer i sent to server. But the server return "535 authentication =
failed (#5.7.0)

pls check these sequences and letme know where the error occured..
is my algorithm is correct..??

if any error where it might be..?

pls help in this..

hope to get a reply from anyof u regarding this issue..

thanks in advance,
Vijayan

------=_NextPart_000_0034_01C5F69E.AF5A3F00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1522" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Hi =
Friends..&nbsp; (sorry for=20
the spam)</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Now i somehow =
managed to=20
build my CRAM-MD5 algorithm..</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>but still am =
getting failure=20
notice in authentication from the server</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Please do spare =
some minutes=20
for me and&nbsp;consider this sample case:</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Username : <A=20
href=3D"mailto:vijayan@test123"><STRONG>vijayan@test123</STRONG></A></FON=
T></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Password :=20
<STRONG>vijayan123</STRONG></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Server's =
Response for=20
<STRONG><U>AUTH CRAM-MD5</U></STRONG> : "<FONT color=3D#0000ff><FONT=20
color=3D#ff0000><STRONG>PDEzMTcwMTY1MjguOTM2MzU4OEB0ZXN0MTIzPg=3D=3D</STR=
ONG></FONT>"</FONT></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2>(<STRONG>greeting</STRONG> or=20
secret)</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>then I made =
Base64 decode=20
string&nbsp;(<STRONG>Challenge</STRONG>): <FONT=20
color=3D#ff0000><STRONG>&lt;</STRONG></FONT><A=20
href=3D"mailto:1317016528.9363588@test123"><FONT=20
color=3D#ff0000><STRONG>1317016528.9363588@test123</STRONG></FONT></A><FO=
NT=20
color=3D#ff0000><STRONG>&gt;&nbsp; </STRONG></FONT><FONT =
color=3D#0000ff>(last time=20
i sent the wrong buffer)...</FONT></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>then the md5 =
algorithm formed=20
the digest on this buffer which is</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><STRONG>digest =
=3D "<FONT=20
color=3D#ff0000>08efc84630335743ec35966c80b23c5a</FONT>"</STRONG></FONT><=
/DIV>
<DIV><STRONG><FONT face=3D"Courier New" color=3D#0000ff=20
size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>so the full =
<STRONG>base64=20
decoded</STRONG> string is : "<FONT =
color=3D#ff0000><STRONG>vijayan@test123=20
08efc84630335743ec35966c80b23c5a</STRONG></FONT>"</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>now i made the =
<STRONG>base64=20
encode</STRONG> on this string, which returns</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>"<STRONG><FONT=20
color=3D#ff0000>dmlqYXlhbkB0ZXN0MTIzIDA4ZWZjODQ2MzAzMzU3NDNlYzM1OTY2YzgwY=
jIzYzVh</FONT></STRONG>"</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>this buffer i =
sent to server.=20
But the server return "535 authentication failed (#5.7.0)</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>pls check these =
sequences and=20
letme know where the error occured..</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>is my algorithm =
is=20
correct..??</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>if any error =
where it might=20
be..?</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>pls help in=20
this..</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>hope to get a =
reply from=20
anyof u regarding this issue..</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>thanks in=20
advance,</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff=20
size=3D2><STRONG>Vijayan</STRONG></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff=20
size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0034_01C5F69E.AF5A3F00--

From: "Vijayan" <[email-masked]>
To: <[email-masked]>
Cc: "Robert A. Rosenberg" <[email-masked]>, <[email-masked]>, "Paul Smith" <[email-masked]>, "Tony Finch" <[email-masked]>, "Frank Ellermann" <[email-masked]>
Subject:  CRAM-MD5 Authentication -- Please answer this mail
Date: Thu, 1 Dec 2005 17:39:36 +0530
Sender: [email-masked]

This is a multi-part message in MIME format.

------=_NextPart_000_001C_01C5F69E.32CD53F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Friends..

Now i somehow managed to build my CRAM-MD5 algorithm..
but still am getting failure notice in authentication from the server

Please do spare some minutes for me and consider this sample case:

Username : vijayan@test123
Password : vijayan123

Server's Response for AUTH CRAM-MD5 : =
"PDEzMTcwMTY1MjguOTM2MzU4OEB0ZXN0MTIzPg=3D=3D"
(greeting or secret)

then I made Base64 decode string (Challenge): =
<[email-masked]>

then the md5 algorithm formed the digest on this buffer which is
digest =3D "08efc84630335743ec35966c80b23c5a"

so the full base64 decoded string is : "vijayan@test123 =
08efc84630335743ec35966c80b23c5a"

now i made the base64 encode on this string, which returns
"dmlqYXlhbkB0ZXN0MTIzIDA4ZWZjODQ2MzAzMzU3NDNlYzM1OTY2YzgwYjIzYzVh"

this buffer i sent to server. But the server return "535 authentication =
failed (#5.7.0)

pls check these sequences and letme know where the error occured..
is my algorithm is correct..??

if any error where it might be..?

pls help in this..

hope to get a reply from anyof u regarding this issue..

thanks in advance,
Vijayan

------=_NextPart_000_001C_01C5F69E.32CD53F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1522" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Hi =
Friends..</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Now i somehow =
managed to=20
build my CRAM-MD5 algorithm..</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>but still am =
getting failure=20
notice in authentication from the server</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Please do spare =
some minutes=20
for me and&nbsp;consider this sample case:</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Username : <A=20
href=3D"mailto:vijayan@test123"><STRONG>vijayan@test123</STRONG></A></FON=
T></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Password :=20
<STRONG>vijayan123</STRONG></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>Server's =
Response for=20
<STRONG><U>AUTH CRAM-MD5</U></STRONG> : "<FONT color=3D#0000ff><FONT=20
color=3D#ff0000><STRONG>PDEzMTcwMTY1MjguOTM2MzU4OEB0ZXN0MTIzPg=3D=3D</STR=
ONG></FONT>"</FONT></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2>(<STRONG>greeting</STRONG> or=20
secret)</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>then I made =
Base64 decode=20
string&nbsp;(<STRONG>Challenge</STRONG>): <FONT=20
color=3D#ff0000><STRONG>&lt;</STRONG></FONT><A=20
href=3D"mailto:[email-masked]"><FONT=20
color=3D#ff0000><STRONG>[email-masked]</STRONG><=
/FONT></A><FONT=20
color=3D#ff0000><STRONG>&gt;</STRONG></FONT></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>then the md5 =
algorithm formed=20
the digest on this buffer which is</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2><STRONG>digest =
=3D "<FONT=20
color=3D#ff0000>08efc84630335743ec35966c80b23c5a</FONT>"</STRONG></FONT><=
/DIV>
<DIV><STRONG><FONT face=3D"Courier New" color=3D#0000ff=20
size=3D2></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>so the full =
<STRONG>base64=20
decoded</STRONG> string is : "<FONT =
color=3D#ff0000><STRONG>vijayan@test123=20
08efc84630335743ec35966c80b23c5a</STRONG></FONT>"</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>now i made the =
<STRONG>base64=20
encode</STRONG> on this string, which returns</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>"<STRONG><FONT=20
color=3D#ff0000>dmlqYXlhbkB0ZXN0MTIzIDA4ZWZjODQ2MzAzMzU3NDNlYzM1OTY2YzgwY=
jIzYzVh</FONT></STRONG>"</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>this buffer i =
sent to server.=20
But the server return "535 authentication failed (#5.7.0)</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>pls check these =
sequences and=20
letme know where the error occured..</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>is my algorithm =
is=20
correct..??</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>if any error =
where it might=20
be..?</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>pls help in=20
this..</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>hope to get a =
reply from=20
anyof u regarding this issue..</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff size=3D2>thanks in=20
advance,</FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff=20
size=3D2><STRONG>Vijayan</STRONG></FONT></DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" color=3D#0000ff=20
size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_001C_01C5F69E.32CD53F0--