Difference between revisions of "Mutt"

From Noah.org
Jump to navigationJump to search
Line 2: Line 2:
  
 
This is my .muttrc. This is nothing fancy.
 
This is my .muttrc. This is nothing fancy.
This seems to be the minimum I need to get Mutt working.  
+
This seems to be the minimum to get Mutt working with IMAP.  
 
For more documentation go to [http://www.mutt.org/#doc Mutt documentation].
 
For more documentation go to [http://www.mutt.org/#doc Mutt documentation].
  
Line 29: Line 29:
 
# remote server the full URL might be something like:
 
# remote server the full URL might be something like:
 
#    imap://username@example.com@example.com
 
#    imap://username@example.com@example.com
#set folder="imaps://username@example.com@localhost"
+
set folder="imaps://username@example.com@localhost"
#set spoolfile="imaps://username@example.com@localhost/INBOX"
+
set spoolfile="imaps://username@example.com@localhost/INBOX"
#set imap_pass="my_stupid_password"
+
set imap_pass="my_stupid_password"
#set certificate_file=".mutt_known_hosts"
+
set certificate_file=".mutt_known_hosts"
 
</pre>
 
</pre>
 +
 +
I actually use a more complicated ~/.mutt/muttrc file that tweaks usability
 +
to make it more Vim-like. Mutt key bindings are already pretty close to Vim.
 +
See my [[dotfiles]] page.
 +
 +
<include url="http://www.noah.org/engineering/dotfiles/.mutt/muttrc" />

Revision as of 16:00, 31 May 2007


This is my .muttrc. This is nothing fancy. This seems to be the minimum to get Mutt working with IMAP. For more documentation go to Mutt documentation.

set mbox_type=maildir
set editor="vim"
# I like to see all my mail headers in my editor:
set edit_headers=yes
# don't wait for sendmail to finish (this runs sendmail in the background)
set sendmail_wait=-1
# this prevents Mutt from endlessly asking when you quit:
#     "Move read messages to ~/mbox? ([no]/yes):"
set move=no
# this prevents Mutt from endlessly asking:
#     "~/Mail does not exist. Create it? ([yes]/no):"
set folder=""
# if you use virtual mail hosts then Maildir might not
# be in the default location.
set spoolfile=~/Maildir/

# IMAP
# For IMAP connections use the following settings.
# Some settings replace those use above for folder and spoolfile.
# Note that the full mail username is "username@example.com" and
# the server name is "localhost". If you wanted to connect to a
# remote server the full URL might be something like:
#     imap://username@example.com@example.com
set folder="imaps://username@example.com@localhost"
set spoolfile="imaps://username@example.com@localhost/INBOX"
set imap_pass="my_stupid_password"
set certificate_file=".mutt_known_hosts"

I actually use a more complicated ~/.mutt/muttrc file that tweaks usability to make it more Vim-like. Mutt key bindings are already pretty close to Vim. See my dotfiles page.

<include url="http://www.noah.org/engineering/dotfiles/.mutt/muttrc" />