(Relay) Handle unexpected replies and disconnections adequately
authorMegaBrutal <code+git@megabrutal.com>
Wed, 11 Feb 2015 23:04:50 +0000 (00:04 +0100)
committerMegaBrutal <code+git@megabrutal.com>
Wed, 11 Feb 2015 23:04:50 +0000 (00:04 +0100)
- Previously it was possible that MgSMTP erroneously administered
an e-mail as delivered, when the server accepted the recipient in
the RCPT stage, but disconnected before or in the DATA stage.
This patch mainly addresses this issue, by making sure that the
transaction is completed, before administering a final status.

- MgSMTP is now more tolerant with non-compliant replies,
e.g., accepts 250 for connection opening, not only 220.

- Increased relay send buffer size from 32 lines to 64.

modified:   Common.pas
modified:   MgSMTP.pas
modified:   Relay.pas
modified:   Spool.pas


No differences found