andris9/simplesmtp — pull request #17 by rlidwka (2012-09-04 21:19:30+00:00)
Title: MAIL FROM options

Simplesmtp server now rejects MAIL FROM command if there's anything else except an email address. But according to [RFC1652](http://www.ietf.org/rfc/rfc1652.txt), passing options there is quite legal, and Postfix really use it.

```
220 dev ESMTP node.js simplesmtp
EHLO dev.example.com
250-dev at your service, [127.0.0.1]
250-8BITMIME
250-ENHANCEDSTATUSCODES
250 STARTTLS
MAIL FROM: BODY=8BITMIME
501 5.1.7 Bad sender address syntax
RSET
250 2.0.0 Ok
QUIT
221 2.0.0 Goodbye!
```