ietf-smtp
[Top] [All Lists]

Re: Transparency

2006-05-15 22:49:15

That's the problem - SMTP is not math. :-)

Sender:

   while (not end of file) 
     s = GetNextLine()
     if (s == ".") then s = ".."
     send s+CRLF
   wend
   send "."+CRLF

Receiver:

   while (not end of socket) 
     s = GetNextLineFromSocket()
     if (s == ".") then break
     if (s == "..") then s = "."
     savetofile s+CRLF
   wend


---
HLS

----- Original Message ----- 
From: "Tulsi Ram Mayala" <tulsi_rammayala(_at_)strongmail(_dot_)com>
To: <Valdis(_dot_)Kletnieks(_at_)vt(_dot_)edu>
Cc: <ietf-smtp(_at_)imc(_dot_)org>
Sent: Tuesday, May 16, 2006 12:43 AM
Subject: RE: Transparency



Why should an MTA remove a dot in case of technically invalid '.one'?
What would be its significance? RFC should not mandate any unnecessary
operation.

It is like a mathematical function and its inverse function:
f(x) = x+1, where x>=1
f'(y) = y-1, where y>1

NOTE the input set precondition in the derived inverse function. If
f'(y) is not defined for y=1 then how can it be expected to give a
result for y=1.



<Prev in Thread] Current Thread [Next in Thread>