Email on Mutt: Difference between revisions
No edit summary |
(→top: clean up) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<indicator name="Faults">[[File:Menu-email.svg|link=:Category:Email Clients|30px|Back up to the Email Clients Category]]</indicator> |
|||
== Incoming Mail == |
|||
Assuming support has been compiled in this should get you connected with IMAPS: |
Assuming support has been compiled in this should get you connected with IMAPS: |
||
Line 57: | Line 61: | ||
# always use SSL when connecting to the server |
# always use SSL when connecting to the server |
||
set ssl_force_tls=yes |
set ssl_force_tls=yes |
||
== Outgoing Mail == |
|||
Mutt uses the local host's SMTP relay, so sending is beyond the scope of this article. On most modern Linux boxes it should "just work" though. |
|||
[[Category:Email Clients|Mutt]] |
Latest revision as of 23:53, 17 August 2018
Incoming Mail
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:
$ 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="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/" set record="=Sent" set postponed="=Drafts" # always use SSL when connecting to the server set ssl_force_tls=yes
Outgoing Mail
Mutt uses the local host's SMTP relay, so sending is beyond the scope of this article. On most modern Linux boxes it should "just work" though.