Closed kgolding closed 3 years ago
That space is already supported - the mailFromRE already has the \s? in it and the test coverage for spaces begins on smtpd_test.go#L141.
The change you've made in smptd.go actually removes support for the space in the To: field.
I've found a couple of mail clients that add an extra space after
FROM:
, this patch allows this optional space.