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

ESMTP RET= bug/fix




In ..42 there is a typo in transports/smtp.c which results in failure of
the ESMTP protocol. If the MAIL command was given RET parameter in
smtpserver exchange then smtp in turn will format the MAIL command with
missing space getting the 501 error message.
Here is a simple one character fix:

*** transports/smtp/smtp.c-     Fri Nov 29 12:24:43 1996
--- transports/smtp/smtp.c      Fri Nov 29 12:25:06 1996
***************
*** 849,855 ****
            s += strlen(s);
          }
          if (startrp->desc->dsnretmode != NULL)
!           sprintf(s, "RET=%s", startrp->desc->dsnretmode);
        }
  
        smtp_flush(SS); /* Flush in every case */
--- 849,855 ----
            s += strlen(s);
          }
          if (startrp->desc->dsnretmode != NULL)
!           sprintf(s, " RET=%s", startrp->desc->dsnretmode);
        }
  
        smtp_flush(SS); /* Flush in every case */

-- 
Peter Ziobrzynski, netMedia Technology Inc. <pzi@netmediatech.com>
204 Richmond St. #300, Toronto Ontario, Canada, M5V-1V6
tel.(416) 596-8520x242, fax.(416) 596-8610