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: Pedro Lamarão (pedro.lamaraointersix.com.br)
Date: Thu Feb 01 2007 - 12:03:55 CST


Wietse Venema escreveu:
> Pedro Lamar?o:
>
>> My research produced the following chart for the "SMTP State Machine":
>>
>> http://mndfck.org/~pedro.lamarao/stuff/SMTP_StateChart.png
>>
>> (It is an optimistic chart and contains only one "error" case.)
>>
>> Thank you for your help!
>>
>
> HELO, EHLO, RSET and NOOP are recognized and allowed everywhere
> except with "data in progress", and except with NOOP, they may
> result in a server state change.
>

Thanks for your feedback.

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".

But I may be still missing something. HELO, EHLO and RSET, when issued
in the "Envelope in Progress" state, _may_ result in a state change? Is
it permitted, then, to _not_ reset the mail transaction if these
commands are issued after MAIL?

This is a complex protocol indeed.

--
 Pedro Lamarão

--
Pedro Lamarão
Desenvolvimento

Intersix Technologies S.A.
SP: (55 11 3803-9300)
RJ: (55 21 3852-3240)
www.intersix.com.br

Your Security is our Business