Skip to content

Conversation

@dragoangel
Copy link
Contributor

@dragoangel dragoangel commented Dec 3, 2024

  1. Exporter connects to postscreen 220-postsreen ESMTP Postfix and response to it EHLO prober but it should wait final command 220 postfix ESMTP Postfix and only after it send EHLO prober.
  2. We need to send STARTTLS only after getting last 250 .* capability from the list, as STARTTLS capability can be in any place, we need check we have it in the list and check that we get all capabilities at same time.

@dragoangel dragoangel changed the title Expect proper SMTP greeting Fix to wait for final SMTP command before checking next one Dec 6, 2024
@dragoangel
Copy link
Contributor Author

To note: after implementing this fix my ssl exporter stopped to throw any false positive responses that endpoint is down. For people who can't wait to get this merged I build own image: dragoangel/ssl-exporter:2.5.1

@ribbybibby please review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant