Home > Computers > mail > IMAP > imaptelnetcommands | About

All commands should be prefixed with an arbitrary label. I think this only helps to match your queries with the server's answers (Or is it ?). Anyway, I totally ignored that and used the same label all over again (a or A).

Check that the imap port is open
ychaouche@ychaouche-PC ~ $ telnet 10.10.10.20 imap
Trying 10.10.10.20...
Connected to 10.10.10.20.
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-2010 Double Precision, Inc.  See COPYING for distribution information.
Try to authenticate
a login ali.mellah@xxx ALIMELLAH
a OK LOGIN Ok.
List your folders
A list "" "INBOX"
* LIST (\Unmarked \HasChildren) "." "INBOX"
A OK LIST completed


Notice that you should add a wildcard to list all the children of INBOX


A list "" "INBOX.*"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\HasNoChildren) "." "INBOX.Drafts"
* LIST (\HasNoChildren) "." "INBOX.FILTRE1"
* LIST (\HasNoChildren) "." "INBOX.Junk"
* LIST (\HasNoChildren) "." "INBOX.Trash"
A OK LIST completed
A list "" "#shared.*" 
A OK LIST completed
Check your permissions on a [shared] folder

This is from another session

b list "" "INBOX.*"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\HasNoChildren) "." "INBOX.Drafts"
* LIST (\HasNoChildren) "." "INBOX.PRTG"
* LIST (\HasNoChildren) "." "INBOX.TEST"
* LIST (\HasNoChildren) "." "INBOX.Junk"
* LIST (\HasNoChildren) "." "INBOX.Flux audio"
* LIST (\HasNoChildren) "." "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.Coupures Streaming"
* LIST (\HasNoChildren) "." "INBOX.notifs"
b OK LIST completed
c getacl "INBOX.Flux audio"
* ACL "INBOX.Flux audio" "owner" "acdilrsw" "administrators" "acdilrsw" "ali.mellah@xxx" "lr"
c OK 

contact : @ychaouche yacinechaouche at yahoocom


QR Code
QR Code Check that the imap port is open (generated for current page)