Welcome! Log In Create A New Profile

Advanced

Re: Limiting number of mail(imap/pop) connections per user per IP

Naresh V
November 01, 2010 06:22AM
On 1 November 2010 14:37, Naresh V <nareshov@gmail.com> wrote:
> Hi,
>
> In real IMAP servers like Dovecot, there is a way to limit the number
> of connections made by a username from a particular IP.
> Now that nginx is going to sit in front of my dovecot - I won't be
> able make use of this limit in dovecot anymore (dovecot will see only
> my nginxes IPs as client IP)
>
> How can I achieve this sort of limiting at the nginx level itself?
>

I see that the perl auth_http handler can see the real client's IP in
the 'Client-IP' HTTP header - is there a way to forward this via
IMAP/POP3 talk to the backend IMAPD/POP3D?
If this were possible, I can continue to use the limits in Dovecot as-is

-Naresh V.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Limiting number of mail(imap/pop) connections per user per IP

Naresh V November 01, 2010 05:10AM

Re: Limiting number of mail(imap/pop) connections per user per IP

Naresh V November 01, 2010 06:22AM

Re: Limiting number of mail(imap/pop) connections per user per IP

Naresh V November 01, 2010 10:54AM

Re: Limiting number of mail(imap/pop) connections per user per IP

Maxim Dounin November 01, 2010 11:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 155
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