Commit Graph

3 Commits

Author SHA1 Message Date
Christoffer G. Thomsen
2987b286a4 Update import paths for move to GitHub 2017-08-20 18:05:24 +02:00
Christian Joergensen
b564e87572 Improve the command parser to try to parse malformed commands.
Timon Relitzki reported that some systems, for example the Synology
DSM Rackstations, will send an extra space character with their SMTP
commands.

MAIL FROM:<christian@technobabble.dk>

Becomes:

MAIL FROM: <christian@technobabble.dk>

This confused the command parser. In the spirit of the robustness
principle if have choosen to improve the command parse to also handle
these extra spaces.

The command parser has also been extended with some extra unit tests,
to demonstrate the problem.
2017-05-23 21:42:13 +02:00
Craig
66f94a07ae Fix several panics on invalid input 2016-02-12 01:26:50 +00:00