-
-
Notifications
You must be signed in to change notification settings - Fork 653
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
helo.checks hooks being called twice #434
Comments
PS: the duplicate entries are because of my TLS connection. |
That's a reasonable idea. I've got something running in test now which I will create a pull request from later. |
Isn't the point that the remote end could EHLO differently after STARTTLS? On Mon, Jan 27, 2014 at 7:56 AM, Steve Freegard notifications@github.comwrote:
|
Yup - I'm testing if the EHLO before and after STARTTLS match and if they do it returns OK and skips all the other tests on the hook - if they don't then DENY (although this is a bit iffy with TLS - see RFC 3207 Section 4.2). I've also added another test which prevents someone from sending and EHLO and then trying to send a HELO later regardless if the argument matches. Other than my own testing I haven't seen any hits yet - but this box is pretty low volume. |
Examples:
|
When PR #509 is merged, this issue can be closed. |
while sprinkling note saving lines in the helo.checks plugins, I became aware that the EHLO checks are being called twice. I'm wondering if it's not worth caching the helo hostname in the plugin, and if it's the same the second time HELO/EHLO is called, skip processing?
The text was updated successfully, but these errors were encountered: