If Mutt was compiled with IMAP support (by running the configure script with the --enable-imap flag), it has the ability to work with folders located on a remote IMAP server.
You can access the remote inbox by selecting the folder
imapserver is the name of the
IMAP server and
INBOX is the special name for your spool mailbox on
the IMAP server. If you want to access another mail folder at the IMAP
server, you should use
path/to/folder is the path of the folder you want to access.
You can select an alternative port by specifying it with the server, ie:
You can also specify different username for each folder, ie:
If Mutt was compiled with SSL support (by running the configure
script with the --with-ssl flag), connections to IMAP servers
can be encrypted. This naturally requires that the server supports
SSL encrypted connections. To access a folder with IMAP/SSL, you should
imaps://[username@]imapserver[:port]/path/to/folder as your
Pine-compatible notation is also supported, ie
Note that not all servers use / as the hierarchy separator. Mutt should correctly notice which separator is being used by the server and convert paths accordingly.
When browsing folders on an IMAP server, you can toggle whether to look at only the folders you are subscribed to, or all folders with the toggle-subscribed command. See also the $imap_list_subscribed variable.
Polling for new mail on an IMAP server can cause noticeable delays. So, you'll want to carefully tune the $mail_check and $timeout variables. Personally I use
with relatively good results over my slow modem line.
set mail_check=90 set timeout=15
Note that if you are using mbox as the mail store on UW servers prior to v12.250, the server has been reported to disconnect a client if another client selects the same folder.