Ran into an issue today, setting up courier-imap service on Plesk 9 Linux/CentOS. The docs said to access via SSH (root secure shell), and I use Putty in Windows.
Testing the IMAP was easy,
Code:
telnet localhost 143
and if successful, you'll get this long server response code:
Code:
Trying 127.0.0.1...
Connected to localhost.domains.com (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
Now, I already have POP+IMAP email accounts set up in Plesk, for my domain. So I'm skipping this step in this forum post. Obviously you have to have an email account setup before you're allowed to log in to one!
For account login, it said to use this
Code:
login test@domains.com password
...but that's not correct. You'll get this:
Code:
login NO Error in IMAP command received by server.
It's not "no errors" but
NO as in
DENIED LOGIN and the error is "Error in IMAP command received by server"
You need to add a number in front of it. Example:
Code:
1 login test@domains.com password
and then you'll get a successful login:
Code:
[root@fh ~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.
1 login test@domains.com password
1 OK LOGIN Ok.
Easy enough.
Sources:
- mediatemple has a doc on this, too, for more in-depth troubleshooting (if needed): http://kb.mediatemple.net/questions/...ny+problems%3F
- Qmail forums at http://forum.qmailrocks.org/showthre...?t=1405&page=2