A Man And His Mutt - Reach Out And Touch Someone (
Page 8 of 11 )
If you've compiled Mutt with POP3 and IMAP
support, you can use it to retrieve email from a POP3 server, or access
mailboxes on an IMAP server. Here's an excerpt from my POP3 configuration
section:
set pop_host="myhost" # POP3 server
set pop_delete=no # don't delete messages after download
set pop_user="vikram" # POP3 username
Now, every time I hit
G (that's Shift-G)
Mutt will connect to the specified POP3 server and retrieve
new messages from it. These messages are downloaded and stored in your local
mail spool.
IMAP works in a slightly different way. To access mail on an
IMAP server, you need to simply select a new folder, and specify the folder name
in the following format:
{imap-server}folderMutt will prompt you for an IMAP username and password, and
then connect to the IMAP server to display the messages in the selected folder.
You can preset the IMAP user name and password in the configuration file, like
this:
set imap_user="vikram" # IMAP username
set imap_pass="dunno" # IMAP password
For more information on how to use Mutt with IMAP, there's a
good link at the end of this article.