How to configure Nginx as IMAP/POP3 reverse proxy - IBM Lotus Domino Server
Juliana The
jul_the at yahoo.com
Sun Sep 26 13:24:21 MSD 2010
Hi all,
I'm newbie with nginx.
I have IBM Lotus Domino Server as an email server with IP Address 192.168.221.1
and Linux installed Nginx as IMAP/POP3 reverse proxy with IP Address 192.168.221.130
I've configured nginx.conf like below :
#user nobody;
worker_processes 1;
error_log /usr/local/nginx/logs/error.log;
pid /usr/local/nginx/logs/nginx.pid;
events {
worker_connections 1024;
multi_accept on;
}
mail {
auth_http 192.168.221.1:81; #Domino server with http proxy (81)
auth_http_timeout 6000;
pop3_auth "plain";
pop3_capabilities "TOP" "USER";
imap_capabilities "IMAP4rev1" "UIDPLUS";
server {
listen 110;
protocol pop3;
proxy on;
}
server {
listen 143;
protocol imap;
proxy on;
}
}
When I tried telnet from client pc to Nginx, I get this response :
C:\> telnet 192.168.221.130 110
+OK POP3 ready
C:\> telnet 192.168.221.130 143
+OK IMAP4 ready
I also can telnet from NGINX server to Domino and get this response :
[root at centostest ~]# telnet 192.168.221.1 81
Trying 192.168.221.1...
Connected to 192.168.221.1 (192.168.221.1).
Escape character is '^]'.
[root at centostest ~]# telnet 192.168.221.1 110
Trying 192.168.221.1...
Connected to 192.168.221.1 (192.168.221.1).
Escape character is '^]'.
+OK Lotus Notes POP3 server version Release 8.5.1 ready on JULMAIL/JTHE.
[root at centostest ~]# telnet 192.168.221.1 143
Trying 192.168.221.1...
Connected to 192.168.221.1 (192.168.221.1).
Escape character is '^]'.
* OK Domino IMAP4 Server Release 8.5.1 ready Sun, 26 Sep 2010 13:56:39 +1000
Does anyone can help how to configure nginx to get response like below :
When I telnet from client to 192.168.221.130 110
C:\> telnet 192.168.221.130 110
+OK Lotus Notes POP3 server version Release 8.5.1 ready on JULMAIL/JTHE.
When I telnet from client to 192.168.221.130 143
C:\> telnet 192.168.221.130 143
* OK Domino IMAP4 Server Release 8.5.1 ready Sun, 26 Sep 2010 13:56:39 +1000
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100926/40ce5ee7/attachment.html>
More information about the nginx
mailing list