[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: improper restart after RSET?



The Right Thing (TM) is to wait for a "MAIL FROM:" (not a HELO/EHLO), from 
RFC2822:

4.1.1.5 RESET (RSET)

   This command specifies that the current mail transaction will be
   aborted.  Any stored sender, recipients, and mail data MUST be
   discarded, and all buffers and state tables cleared.  The receiver
   MUST send a "250 OK" reply to a RSET command with no arguments.  A
   reset command may be issued by the client at any time.  It is
   effectively equivalent to a NOOP (i.e., if has no effect) if issued
   immediately after EHLO, before EHLO is issued in the session, after
   an end-of-data indicator has been sent and acknowledged, or
   immediately before a QUIT.  An SMTP server MUST NOT close the
   connection as the result of receiving a RSET; that action is reserved
   for QUIT (see section 4.1.1.10).


El 6 Oct 2003 a las 16:55, Eugene Crosser escribió:

> This is current CVS Zmailer talking to Zmailer that is 2-3 months old:
> 
> 025196245-0011-0069#    jobspec: S/L/274259-2496        online.ru
> 025196245-0012-0069#    274259-2496: <1065444023.18906.54.camel@ariel.sovam.com>025196245-0013-0069w    MAIL From:<crosser@rol.ru>
> 025196245-0014-0069r    503 5.5.1 Waiting for HELO/EHLO command
> 025196245-0015-0069#     smtp_sync() did yield code 69/UNAVAILABLE
> 025196245-0016-0079w    RSET
> 025196245-0017-0079r    250 2.0.0 Reset processed, now waiting for MAIL command
> 025196245-0018-0079w    MAIL From:<crosser@rol.ru>
> 025196245-0019-0079r    503 5.5.1 Waiting for HELO/EHLO command
> 025196245-0020-0079#     smtp_sync() did yield code 69/UNAVAILABLE
> 025196245-0021-0089#    DIAG: C='smtp' H='online.ru' U='baumiko@online.ru' P='60001' ID=274259/156 L=0 -- stat='error2' notary='baumiko@online.ru^Afailed^A5.5.0^Asmtp; 503 (5.5.1 Waiting for HELO/EHLO command)^Adns; relay1.online.ru (194.67.21.10|25|194.67.22.174|33980)^Asmtp[2519]' WTT='dns; relay1.online.ru'  MSG='^M<<- MAIL From:<crosser@rol.ru>^M->> 503 5.5.1 Waiting for HELO/EHLO command'
> 
> Apparently smtpserver wants EHLO after RSET, but smtp TA starts with
> MAIL FROM.  I am not sure what would be the right thing...
> 
> Eugene
> 
> -
> To unsubscribe from this list: send the line "unsubscribe zmailer" in
> the body of a message to majordomo@nic.funet.fi


--
Mariano Absatz
El Baby
----------------------------------------------------------
 /"\                             |
 \ /     ASCII RIBBON CAMPAIGN   |
  X        AGAINST HTML MAIL     |
 / \                             |


-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi