SMTP protocol & RFC1123 fix
Status: Beta
Brought to you by:
psychogenic
The enclosed patch fixes an SMTP protocol violation
which made emailrelay (http://emailrelay.sf.net/) quit
with SIGPIPE (sending the first Received: header
directly after sending DATA, without waiting for a 3xx
server response first, and sending QUIT and closing the
connection directly after the message data, without
waiting for a 2xx server response first), and adds
RFC1123 compliance ("MAIL From: <>" is valid) which is
needed eg. for sendmail delivery failure notifications.
Moreover, it adds SIGTERM (standard signal that is sent
by 'kill' and 'killall') to the list of signals that
make moxy quit, and fixes a few compile time warnings.
SMTP and RFC1123 fix