-
Notifications
You must be signed in to change notification settings - Fork 161
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
Unknown command EHLO and HELO #214
Comments
Interesting, can you try capturing logs with You might also try clearing your docker image cache, as I accidently released an auth related feature and had to roll it back. |
I am able to repro against develop branch with https://gist.github.com/jhillyerd/5c6c29ba72bcddfc6a15e1742990dccd
It seems that no particular state is required to repro. Changing "swc" to "mydomain" causes the example to pass, so possibly a string length problem. |
Cause is a bad assumption added with STARTTLS support: https://github.com/inbucket/inbucket/blame/develop/pkg/server/smtp/handler.go#L601 Only triggers with 8 character cmd+arg strings. |
* handler: Don't fail on 8 character command lines Fixes #214 * handler: Test that STARTTLS is parsed correctly.
Thank you very much @jhillyerd |
Doing this c.Hello returns an error
Produces logs like so
Inbucket running from image
inbucket/inbucket:stable
andgo version go1.16.2 darwin/amd64
The text was updated successfully, but these errors were encountered: