projectdiscovery / interactsh

An OOB interaction gathering server and client library
https://app.interactsh.com
MIT License
3.43k stars 365 forks source link

No interactions received over SMTP 465 and 587 with TLS #750

Open MMquant opened 10 months ago

MMquant commented 10 months ago

Interactsh version:

projectdiscovery/interactsh-server:v1.1.8 docker image

Current Behavior:

No interaction on incoming SMTP port 465 traffic over TLS. No interaction on incoming SMTP port 587 traffic over TLS.

Expected Behavior:

Receive SMTP interactions

Steps To Reproduce:

  1. Deploy interactsh server with valid TLS certificates
  2. Test SMTP interaction https://www.gmass.co/smtp-test with these Security options
  1. Check interactsh server debug and see that no SMTP interactions were received.

This is the error log from the https://www.gmass.co/smtp-test with Security option set to Auto

ERROR: An error occurred while attempting to establish an SSL or TLS connection.
This usually means that the SSL certificate presented by the server is not trusted by the system for one or more of
the following reasons:
1. The server is using a self-signed certificate which cannot be verified.
2. The local system is missing a Root or Intermediate certificate needed to verify the server's certificate.
3. A Certificate Authority CRL server for one or more of the certificates in the chain is temporarily unavailable.
4. The certificate presented by the server is expired or invalid.
Another possibility is that you are trying to connect to a port which does not support SSL/TLS.
It is also possible that the set of SSL/TLS protocols supported by the client and server do not match.
See https://github.com/jstedfast/MailKit/blob/master/FAQ.md#SslHandshakeException for possible solutions.