Description:
------------
The SMTP client sends SMTP commands that are not in compliance with RFC 5321.
See mail-functions.c, functions write_mail_from() and write_rcpt_to().
During the SMTP dialogue, mlmmj-send issues 'MAIL FROM: <%s>' and 'RCPT TO: <%s>', with a single whitespace between the colon and the sender/recipient address. Whitespace in that position is not allowed according to RFC 5321, section 3.3. I quote:
"Since it has been a common source of errors, it is worth noting that spaces are not permitted on either side of the colon following FROM in the MAIL command or TO in the RCPT command."
Please remove the whitespace.
Test script:
---------------
Nothing in particular, just send a message to any mailing list and watch mlmmj-send's SMTP output.
Expected result:
----------------
MAIL FROM:<%s>
RCPT TO:<%s>
Actual result:
--------------
MAIL FROM: <%s>
RCPT TO: <%s>