Welcome! Log In Create A New Profile


SMTP STARTTLS with outbound mail proxy

Posted by kamal.hamroun 
SMTP STARTTLS with outbound mail proxy
September 22, 2017 08:22AM
Hello Everyone,

I'm looking to implement an SMTP Proxy for OUTBOUND mail with NGINX. The backend stream servers are remote.

SMTP clients ---------> NGINX SMTP Proxy (2501) -----------------> Remote SMTP server (25) without Authentication.

The NGINX SMTP Proxy works fine with regular SMTP clair text traffic on port 25, but it's not working with remote SMTP with STARTTLS on port 587.

I'm getting this error
[error] 7424#7424: *6 upstream sent invalid response: "530 #5.7.0 Must issue a STARTTLS command first" while reading response from upstream, client: .xxx.xxx.xxx.xxx using starttls, server:

Can you please hlep me to resolve this ?

Thank you in advance
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 72
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready