Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty envelope sender is rejected #164

Closed
wttw opened this issue Jul 15, 2020 · 1 comment
Closed

Empty envelope sender is rejected #164

wttw opened this issue Jul 15, 2020 · 1 comment

Comments

@wttw
Copy link

wttw commented Jul 15, 2020

Inbucket rejects mail sent with an empty envelope sender.

MAIL FROM:<> is valid in SMTP, and sometimes used for low-value mail (out-of-office, receipt notifications, etc) to ensure that failed delivery will be discarded rather than causing an asynchronous bounce, and to mitigate some flavours of mail loop.

It's a very minor issue, but if fixing it were as simple as removing a check or changing a regex it'd be nice to do.

[9:44:34.675 8] Starting SMTP session
[9:44:34.676 9] <<< 220 inbucket Inbucket SMTP ready
[9:44:34.676 9] >>> EHLO abacus
[9:44:34.676 9] <<< 250-Great, let's get this show on the road
[9:44:34.676 9] <<< 250-8BITMIME
[9:44:34.676 9]     250 SIZE 10240000
[9:44:34.676 9] >>> MAIL FROM:<>
[9:44:34.676 9] <<< 501 Was expecting MAIL arg syntax of FROM:<address>
[9:44:34.676 9] >>> QUIT
[9:44:34.677 9] <<< 221 Goodnight and good luck
@jhillyerd
Copy link
Collaborator

I expect having a null from will cause a lot of problems internally, but perhaps it can just be set to unspecified at the time it's received so there is some value for the UI to display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants