[Oberon] Re: 2: Have we got email send authenticate ability ?
easlab
easlab at absamail.co.za
Wed Feb 15 11:48:48 CET 2006
Roger Keller wrote:
> there's no magic with the authentication used by outlook. in fact it's
> using the standard as described in
> RFC 2554: http://www.ietf.org/rfc/rfc2554.txt
The magic is in getting the mass of users dedicated to
such a garbage aplication. When I want to edit one char. of a
previous post and re-send I can't find out how to.
Can any one tell how ?
Yes I've been investigating rfc2554.txt
Every test run costs a call-charge.
Does any one know of a 'like echo mail server' where I can
see if/what I've sent, since the authentication only applies to
'external/remote' domains. Ie. self posting shows nothing.
Later I'll post some of the traces from the relevant TextMail.send .
Starting from rfc2554.txt 's
Examples:
S: 220 smtp.example.com ESMTP server ready
C: EHLO jgm.example.com
S: 250-smtp.example.com
S: 250 AUTH CRAM-MD5 DIGEST-MD5
C: AUTH FOOBAR
S: 504 Unrecognized authentication type.
C: AUTH CRAM-MD5
S: 334
PENCeUxFREJoU0NnbmhNWitOMjNGNndAZWx3b29kLmlubm9zb2Z0LmNvbT4=
C: ZnJlZCA5ZTk1YWVlMDljNDBhZjJiODRhMGMyYjNiYmFlNzg2ZQ==
S: 235 Authentication successful.
where S:\C: is the server\client talking, it
seems that the server initiates the protocol ?
In my case I see\trace :
"250 absamail.co.za Pleased to meet you"
which sounds like the equivalent of the initial "server ready"
of the example. But I guess it MUST be a '220' mesg ?
In the example, apparently the type of authentication
negotiated by S: & C: is 'CRAM-MD5' ?
I'm hoping that M$-outsp00k, gives just the pop: ID & pswrd.
In order to isolate the complication of the parsing of these
2 parameters, I just hard-code them into TextMail.send
[initially - using successive refinement ;-].
here's a partial trace of what my server says:-
250 Sender OK
250 Recipient OK
250 Recipient OK
571 Remote sending only allowed with authentication!
agora at dna.affrc.go.jp not found
for the following post:-
To: crglur at absamail.co.za
Cc: easlab at absamail.co.za
Cc: agora at dna.affrc.go.jp
Subject: get URL = NOtst
send http://www.voanews.com/english/Science/index.cfm
where the first 3 traces are OK because the first 2 URLs are internal.
And "agora at dna.affrc.go.jp not found" is a trace from the source-code:
] SendCmd(Mail, "RCPT TO:", rcpt); Response(Mail, s);
] IF s[0] # "2" THEN String(rcpt); String(" not found");
The var-par 's' is the string:
"571 Remote sending only allowed with authentication!", but
I don't understand how the mail server would be expected to know
that "agora at dna.affrc.go.jp" was unknown [independant or any
send-authorisation issue]. I though that task would be handed-off
to routing & DNS to determine ?
== Chris Glur.
More information about the Oberon
mailing list