IMAPS
Igor Sysoev
is at rambler-co.ru
Fri Mar 23 13:11:04 MSK 2007
On Wed, Mar 21, 2007 at 03:55:56PM +0000, Nuno Marques wrote:
> I have sucessfuly configured nginx to receive IMAP/POP requests on SSL:
>
> server {
> listen 993;
> ssl on;
> ssl_certificate /etc/nginx/cert.crt;
> ssl_certificate_key /etc/nginx/key.pem;
> protocol imap;
> proxy on;
> }
>
> This works just fine, but I would like to know if it is possible to
> connect to the imap server using SSL too. I've created a php file to
> authenticate the users and redirect them to the right server:
>
> header('Auth-Status: OK');
> header('Auth-Server: 127.0.0.1');
> header("Auth-Port: 145");
>
>
> Is there any directive to tell nginx to use SSL on the PHP file?
>
> I know I can use stunnel to create tunnels between nginx and the imap/pop
> servers, but that solution looks a little bit ugly :)
No, nginx does not support SSL between itself and IMAP/POP3 backend.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list