Mail proxy the destination server by ssl (Postfix)

Maxim Dounin mdounin at mdounin.ru
Tue Feb 13 12:41:41 UTC 2018


Hello!

On Tue, Feb 13, 2018 at 02:39:10AM -0500, Azusa Taroura wrote:

> Hi everyone, 
> I’m trying to mail-proxy by ssl connection from the nginx server to the
> postfix server.
> Please let me ask some question.
> 
> SMTPS(465)->| nginx |--SMTPS(465)->| Postfix |
> 
> Question1:
> I found this issue. The mail module cannot proxy to the destination server
> by ssl, right?
> https://forum.nginx.org/read.php?2,232147,232466#msg-232466

Yes, only non-SSL backends are supported.

> Question2:
> I tried the another way to use the stream server, but I could not proxy
> (The connection timeout is occurred.)
> 
> How can i fix it?
> 
> SMTPS(465)->| mail -> upstream(20465)| --SMTPS(465)->| Postfix |

[...]

The configuration provided looks fine, at least I see no obvious 
errors.  Try looking into more details on where the timeout 
occurs.

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx mailing list