substack/node-smtp-protocol — Issue #5: Bad sequence: ____ expected backwards?
Author: evilpacket
Created: 2011-12-16 07:22:02+00:00
State: open

This appears to be backwards. If we have provided the MAIL FROM already then RCPT to should be expected and vice verse. I haven't verified behavior against RFC yet or dug in to patch, but wanted to fire it off before I forgot.

250 Stinky-Dingus.local
helo a
250
mail from:
250
data
503 Bad sequence: MAIL expected

250 Stinky-Dingus.local
helo
250
rcpt to:
250
data
503 Bad sequence: RCPT expected