Email on Mutt: Difference between revisions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
# Automatically log in to this mailbox at startup |
# Automatically log in to this mailbox at startup |
||
set spoolfile="imaps://email@testing.me.uk@testing.me.uk.mail.aa.net.uk/" |
set spoolfile="imaps://email@testing.me.uk@testing.me.uk.mail.aa.net.uk/" |
||
# Set INBOX ('=' folder) at startup |
|||
# 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 folder="imaps://email@testing.me.uk@testing.me.uk.mail.aa.net.uk/" |
||
set record="=Sent" |
set record="=Sent" |
||
set postponed="=Drafts" |
set postponed="=Drafts" |
||
# always use SSL when connecting to |
# always use SSL when connecting to the server |
||
set ssl_force_tls=yes |
set ssl_force_tls=yes |
||
# |
# Automatically enter mailbox |
||
unset imap_passive |
unset imap_passive |
||
# |
# Poll subscribed mailboxes for new mail |
||
set imap_check_subscribed |
set imap_check_subscribed |
||
# Reduce polling frequency |
# Reduce polling frequency |
||
set mail_check=60 |
set mail_check=60 |
||
# |
# Poll the current mailbox more often |
||
set timeout=10 |
set timeout=10 |
||
# |
# Cache of message headers |
||
set header_cache=~/.hcache |
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: |
Replacing 'imaps' with 'pop' will enable POP3. Of course you no longer need the IMAP specific options if you're using POP3: |
||
Line 40: | Line 38: | ||
# Automatically log in to this mailbox at startup |
# Automatically log in to this mailbox at startup |
||
set spoolfile="pop://email@testing.me.uk@testing.me.uk.mail.aa.net.uk/" |
set spoolfile="pop://email@testing.me.uk@testing.me.uk.mail.aa.net.uk/" |
||
# Set INBOX ('=' folder) at startup |
|||
# 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/" |
set folder="pop://email@testing.me.uk@testing.me.uk.mail.aa.net.uk/" |
Revision as of 13:44, 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/" # Set INBOX ('=' folder) at startup 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 the server set ssl_force_tls=yes # Automatically enter mailbox unset imap_passive # Poll subscribed mailboxes for new mail set imap_check_subscribed # Reduce polling frequency set mail_check=60 # Poll the current mailbox more often set timeout=10 # Cache of message headers set header_cache=~/.hcache
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/" # Set INBOX ('=' folder) at startup set folder="pop://email@testing.me.uk@testing.me.uk.mail.aa.net.uk/"