Welcome! Log In Create A New Profile

Advanced

IMAP and POP3 upstream session keepalive

Posted by meidei 
IMAP and POP3 upstream session keepalive
June 25, 2019 04:27AM
Hi!

We are setting up an Nginx mail proxy to seamless migrate from Cyrus to Dovecot. We used this documentation to implement it: https://docs.nginx.com/nginx/admin-guide/mail-proxy/mail-proxy/
Currently, we are only using Cyrus behind the proxy but are encountering an issue with the number of IMAP connections from Nginx to Cyrus because they are left open until Nginx is restarted.

We are wondering now if we can set a keepalive timeout for the upstream connections. For HTTP upstreams there is the `keepalive` setting but I was not able to locate a similar setting for mail.

Does anyone know how to adjust this to not have thousands of open IMAP and POP3 connections?

Thanks for any hint on that.

Best regards!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready