nginx-mail and proxy protocol

Maxim Konovalov maxim at nginx.com
Thu Apr 20 14:47:45 UTC 2017


On 20/04/2017 17:41, Kees Bos wrote:
> On do, 2017-04-20 at 17:12 +0300, Maxim Konovalov wrote:
>> Hi Kees,
>>
>> On 20/04/2017 17:06, Kees Bos wrote:
>>>
>>> Hi all,
>>>
>>> Does someone have experience with nginx-mail and the proxy
>>> protocol?
>>>
>>> Does nginx-mail have (or will is get) support for the
>>> 'proxy_protocol'
>>> parameter to the 'listen' directive?
>>>
>> It doesn't. There were no plans for that basically because nobody
>> asked before.
>>
>> What's your backend software which supports proxy proto?
>>
>>
> 
> I'm using haproxy in front of zimbra, which uses nginx to map the
> pop/imap connections to the right mail store. The (nginx) pop/imap thus
> cannot determine the right source ip unless the proxy protocol would we
> supported.
> 
I think it is possible simplify things with the stream module unless
you're doing sophisticated auth with the mail module.

Have you ever thought about that?

-- 
Maxim Konovalov


More information about the nginx mailing list