OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [offtopic] When is STARTTLS allowed?

From: Mark Martinec (Mark.Martinec+postfixijs.si)
Date: Thu Feb 01 2007 - 13:46:51 CST


Pedro,

> >> http://mndfck.org/~pedro.lamarao/stuff/SMTP_StateChart.png

> I've updated the chart in the URL above to include NOOP in "Start",
> "Reset" and "Envelope in Progress", and HELO/EHLO in "Envelope in
> Progress".

As a sidenote, you may rename a state 'envelope in progress'
to a 'transaction in progress' or 'in transaction'.

RFC 2821 terminology:

3.3 Mail Transactions

   There are three steps to SMTP mail transactions. The transaction
   starts with a MAIL command which gives the sender identification.
   (In general, the MAIL command may be sent only when no mail
   transaction is in progress; see section 4.1.4.) A series of one or
   more RCPT commands follows giving the receiver information. Then a
   DATA command initiates transfer of the mail data and is terminated by
   the "end of mail" data indicator, which also confirms the
   transaction.

   The first step in the procedure is the MAIL command.
      MAIL FROM:<reverse-path> [SP <mail-parameters> ] <CRLF>

   This command tells the SMTP-receiver that a new mail transaction is
   starting and to reset all its state tables and buffers, including any
   recipients or mail data. ...

Mark