Email on Mutt: Difference between revisions

From AAISP Support Site
(Created page with "There are too many settings for Mutt for us to give a comprehensive example of what will work for you, but assuming support has been compiled in this should get you connected ...")
 
No edit summary
Line 1: Line 1:
There are too many settings for Mutt for us to give a comprehensive example of what will work for you, but assuming support has been compiled in this should get you connected with IMAPS:
This is only a basic example, but assuming support has been compiled in this should get you connected with IMAPS:





Revision as of 13:39, 30 October 2012

This is only a basic example, but assuming support has been compiled in this should get you connected with IMAPS:


$ cat .muttrc

set realname="Email Test"
set from="email@testing.me.uk"
set use_from=yes
set edit_headers = yes
# Auto purge
set delete=yes
# Tidy header view
ignore *
unignore from date subject to cc
unignore organization organisation x-mailer: x-newsreader: x-mailing-list:
unignore posted-to:
# Server is sub-domain of aa.net.uk to play nice with SSL certs
# Automatically log in to this mailbox at startup
set spoolfile="imaps://email@testing.me.uk@testing.me.uk.mail.aa.net.uk/"
# Define the = shortcut, and the entry point for the folder browser (c?)
set folder="imaps://email@testing.me.uk@testing.me.uk.mail.aa.net.uk/"
set record="=Sent"
set postponed="=Drafts"
# always use SSL when connecting to a server
set ssl_force_tls=yes
# Don't wait to enter mailbox manually
unset imap_passive
# Automatically poll subscribed mailboxes for new mail (new in 1.5.11)
set imap_check_subscribed
# Reduce polling frequency to a sane level
set mail_check=60
# And poll the current mailbox more often (not needed with IDLE in post 1.5.11
set timeout=10
# keep a cache of headers for faster loading (1.5.9+?)
set header_cache=~/.hcache
# Display download progress every 5K
set net_inc=5

Replacing 'imaps' with 'pop' will enable POP3. Of course you no longer need the IMAP specific options if you're using POP3:

# Automatically log in to this mailbox at startup
set spoolfile="pop://email@testing.me.uk@testing.me.uk.mail.aa.net.uk/"
# Define the = shortcut, and the entry point for the folder browser (c?)
set folder="pop://email@testing.me.uk@testing.me.uk.mail.aa.net.uk/"