Skip to content

SSL enabled SMTP Stream drops connection #4533

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

Open
djskippy50 opened this issue May 10, 2025 · 0 comments
Open

SSL enabled SMTP Stream drops connection #4533

djskippy50 opened this issue May 10, 2025 · 0 comments
Labels

Comments

@djskippy50
Copy link

djskippy50 commented May 10, 2025

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes / No - Yes
  • Are you sure you're not using someone else's docker image?
    • Yes / No - Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes / No - Yes, extensive troubleshooting and research with AI tools

Describe the bug

Trying to set up a Stream for SMTP relay (Port 465) doesn't work as expected. NPM doesn't properly complete SMTP handshake with SSL and drops connection. Initial connection establishes, but no EHLO response happens and the connection drops. SMTP connection works when SSL disabled for the Stream. SMTP connection also confirmed to work over SSL when bypassing NPM (router - port 465 forwarded directly to SMTP server).

Nginx Proxy Manager Version

2.12.3

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
  1. Set up SSL enabled Stream for Port 465 (or other port) pointed to SMTP server
  2. Router - Port forward 465 to NPM
  3. Attempt SMTP+SSL connection from any machine.

Expected behavior

SMTP+SSL works.

Screenshots

Operating System

SMTP Server running off of cPanel 126.0.16 / Alma Linux v9.5.0
NPM running in Docker container with all necessary Ports for SMTP as well as HTTP/HTTPS opened

Additional context

Reason this needs to be fixed:
Need Secure SMTP to be able to verify SSL certificate from NPM Stream. Because Stream doesn't work, self-signed cert on SMTP server is configured and unable leverage NPM SSL cert.

@djskippy50 djskippy50 added the bug label May 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant