# Proxying SMTP+SSL to SSL-unaware mail server

**URL:** <https://www.ruby-forum.com/t/proxying-smtp-ssl-to-ssl-unaware-mail-server/194355>\
**Category:** NGINX\
**Created:** [September 2, 2010, 10:56pm UTC](https://www.ruby-forum.com/t/proxying-smtp-ssl-to-ssl-unaware-mail-server/194355 "2010-09-02T22:56:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgoj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dbc845/32.png) [@kgoj](https://www.ruby-forum.com/u/kgoj)\
**Post date:** [September 2, 2010, 10:56pm UTC](https://www.ruby-forum.com/t/proxying-smtp-ssl-to-ssl-unaware-mail-server/194355/1 "2010-09-02T22:56:10Z")

</div>

Hi,

Is there a way to make nginx handle all the SSL/STARTTLS and proxy the  
traffic to SSL-unaware SMTP server? How do I tell nginx not to use SSL  
when talking  
to other server, even if e-mail client does use SSL when communicating  
with the nginx?

Is it possible at all and if not, would it be hard feature to  
implement?

## Best regards,

Krzysztof Goj

Posted at Nginx Forum:

> **[proxying SMTP+SSL to SSL-unaware mail server](https://forum.nginx.org/read.php?2,126528,126528#msg-126528)**
>
> Hi, Is there a way to make nginx handle all the SSL/STARTTLS and proxy the traffic to SSL-unaware SMTP server? How do I tell nginx not to use SSL when talking to other server, even if e-mail client does use SSL when communicating with the nginx? Is...

---

<div class="post-metadata">

**Author:** ![kgoj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dbc845/32.png) [@kgoj](https://www.ruby-forum.com/u/kgoj)\
**Post date:** [September 5, 2010, 7:05pm UTC](https://www.ruby-forum.com/t/proxying-smtp-ssl-to-ssl-unaware-mail-server/194355/2 "2010-09-05T19:05:05Z")

</div>

kgoj wrote:

> Hi,
> 
> Is there a way to make nginx handle all the SSL/STARTTLS and proxy the  
> traffic to SSL-unaware SMTP server? How do I tell nginx not to use SSL  
> when talking  
> to other server, even if e-mail client does use SSL when communicating  
> with the nginx?

Interesting question. I was just fighting with postfix to make it digest  
TLS. If Nginx can do that it would make the whole configuration much  
easier.
