gmail
# My settings for using Gmail with mutt
 
# Username & password:
set imap_user="YOUR USERNAME HERE@gmail.com"
set imap_pass="YOUR PASSWORD HERE"
 
# Set the various folder variables:
set spoolfile="imaps://imap.gmail.com:993/INBOX"
set folder="imaps://imap.gmail.com:993"
set mbox="=[Gmail]/All Mail"
# 'record' should be set to "" if you're using Gmail's SMTP server
set record="=[Gmail]/Sent Mail"
set postponed="=[Gmail]/Drafts"
set imap_delim_chars="/"
# Don't move read messages to the mbox (They should be manually deleted instead)
set move=no
 
set ssl_starttls=yes
set ssl_force_tls=yes
 
# 'From:' address:
set from="YOUR NAME HERE <YOUR ADDRESS HERE@gmail.com>"
 
# Cache messages & clean out the directory when synchronizing:
set message_cachedir="~/.muttcache"
set message_cache_clean=yes
 
# Recognize e-mails to me using plus-addressing or my SourceForge address:
alternates "^USERNAME(\\+[^@ >]*)?@(gmail\\.com|users\\.(sourceforge|sf)\\.net)$"
 
# I'm currently subscribed to these mailing lists:
subscribe lojban-list@lojban.org lojban-beginners@lojban.org
subscribe oracle-list@cs.indiana.edu
 
# I used to be subscribed to this list, and I still have the emails:
lists openssl-users@openssl.org
 
# Set default values for composing a message
send-hook . 'set &attribution &post_indent_string signature="fortune ~/share/sigs/sigfile |"'
 
# Use Lojbanic signatures & attributions on the Lojban mailing lists
send-hook lojban.org$ 'set attribution="de\'i li %{%d pi\'e %m pi\'e %Y} la\'o fy. %n .fy. cusku zoi skamyxatra."'
send-hook lojban.org$ 'set post_indent_string=".skamyxatra" signature="fortune ~/share/sigs/jboselsku |"'
 
# Don't use a signature when communicating with the Internet Oracle
send-hook ^oracle.*@cs.indiana.edu$ 'unset signature'