telnet imap not showing existing emails thru nginx

Maxim Dounin mdounin at mdounin.ru
Mon Nov 1 11:38:45 MSK 2010


Hello!

On Mon, Nov 01, 2010 at 04:21:24AM -0400, moorthi wrote:

> Hi,
>    now the problem is on nginx server(192.168.1.1) if i do
> telnet localhost 143
> . login user1 pass1
> . OK [CAPABILITY IMAP4 User logged in
> . select inbox
> * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]  
> [b]* 0 EXISTS[/b]
> ...
> if i do telnet to actual imap host(192.168.1.2)
> telnet 192.168.1.2 143
> . login user1 pass1
> . OK [CAPABILITY IMAP4 User logged in
> . select inbox
> * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]  
> [b]* 1 EXISTS[/b]
> ...

nginx doesn't execute "select" imap command by itself, it just 
passes everything it got from client after login to backend 
server.

You may want to re-check you auth script, most likely it returned 
some other imap host to nginx.

Maxim Dounin



More information about the nginx mailing list