Checking the operation of an IMAP server
Here is an example on how to debug:
telnet imap_server 143
1 login mailbox_number mailbox_password
1 select inbox
1 idle
Once a new message is received, you will see the screen getting an update.
EX:
(1)lab-a> telnet localhost 143
Trying 192.168.1.201…
Connected to lab-a.
Escape character is ‘^]’.
* OK [CAPABILITY IMAP4REV1 AUTH=LOGIN AUTH=PLAIN] lab-a IMAP4rev1 at Wed, 7 Mar 2007 22:02:56 -0500 (EST)
1 login 1000 1000
1 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN] User 1000 authenticated
1 select inbox
* 13 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1170894635] UID validity status
* OK [UIDNEXT 63] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS (\Deleted \Seen)] Permanent flags
* OK [READ-WRITE] Mailbox status
1 OK [READ-WRITE] SELECT completed
1 idle
+ Waiting for DONE
You can see that when I do the 1 select inbox it says that I have 13 messages already.
If this works, then go and change your client
Comments are closed.