-
Notifications
You must be signed in to change notification settings - Fork 229
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
Add a way to hook into the HELO commands #136
Labels
Comments
Possibly relevant: #114 (comment) #114 (comment) Perhaps it is a time for the third backend interface revision?) |
Indeed. Seems like it would make sense to just do what your comment says. |
foxcpp
added a commit
to foxcpp/go-smtp
that referenced
this issue
Jul 16, 2021
foxcpp
added a commit
to foxcpp/go-smtp
that referenced
this issue
Jul 20, 2021
foxcpp
added a commit
to foxcpp/go-smtp
that referenced
this issue
Jul 20, 2021
With the recent backend interface change, NewSession runs on HELO/EHLO. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Similar to #130, a hook to the HELO commands can be useful to implement security depending on the value of the argument provided.
Examples: check the domain syntax, its existence, whether it's correctly configured to accept emails, etc.
The text was updated successfully, but these errors were encountered: