October 20, 2011 08:20PM
Finally I wrote mail access module with reference to the source code of http access module and
Evan Miller's guide to Nginx module development because we need this feature for only pop3 proxy.

And I noticed I don't understand how my module to be called before the pop3 handler.
From the guide it is important the order of the modules, however it doesn't mention granular control
for request/connection handling.

So I'd like to know how to call this handler before the pop3 handler and how the ngx_mail_pop3_init_session is
called after "epoll_process_event".

Do I need to register connection handler or do I need to implement tcp based source code as he does?

Regards,
Soichiro
Subject Author Posted

How to control access for specific IP-addresses of clients when using as mail proxy

mikiso October 19, 2011 02:06AM

Re: How to control access for specific IP-addresses of clients when using as mail proxy

姚伟斌 October 19, 2011 05:44AM

Re: How to control access for specific IP-addresses of clients when using as mail proxy

mikiso October 19, 2011 08:44PM

Re: How to control access for specific IP-addresses of clients when using as mail proxy

mikiso October 20, 2011 08:20PM

Re: How to control access for specific IP-addresses of clients when using as mail proxy

mikiso October 21, 2011 03:39AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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