clear mailboxes and display current email address

pull/10/head
gotbletu 8 years ago
parent e423357fc8
commit 4b5fc5e1bd

@ -13,8 +13,8 @@ Mutt is a small but very powerful text based program for reading and sending el
### add email accounts
- create the text files for each account you want to use
- replace gotbletu with your username
- edit PASSWORD
- replace **gotbletu** with your username and **realname** to whatever you want to showup
- edit **PASSWORD**
GMAIL
@ -34,45 +34,61 @@ GMAIL
vim ~/.mutt/account.com.gmail.gotbletu
set imap_user = "gotbletu@gmail.com"
set imap_pass = "PASSWORD"
set smtp_url = "smtp://gotbletu@smtp.gmail.com:587/"
set smtp_pass = "PASSWORD"
set from = "gotbletu@gmail.com"
set realname = "Lord Mizukage"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts"
set header_cache = ~/.mutt/com.gmail.gotbletu/cache/headers
set message_cachedir = ~/.mutt/com.gmail.gotbletu/cache/bodies
set certificate_file = ~/.mutt/com.gmail.gotbletu/certificates
unmailboxes *
set imap_user = "gotbletu@gmail.com"
set imap_pass = "PASSWORD"
set smtp_url = "smtp://gotbletu@smtp.gmail.com:587/"
set smtp_pass = "PASSWORD"
set from = "gotbletu@gmail.com"
set realname = "Lord Mizukage"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts"
set header_cache = ~/.mutt/com.gmail.gotbletu/cache/headers
set message_cachedir = ~/.mutt/com.gmail.gotbletu/cache/bodies
set certificate_file = ~/.mutt/com.gmail.gotbletu/certificates
set ssl_starttls = yes
set ssl_force_tls = yes
set status_format = "$from -%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"
YAHOO
> Make sure to "Allow apps that use less secure sign in" so mutt can work with yahoo
> https://login.yahoo.com/account/security#other-apps
> Hit Skip password change ...etc until you get to "Account security"
> Allow apps that use less secure sign in: ON
> Some non-Yahoo apps and devices use less secure sign-in technology, which could leave your account vulnerable. You can turn off access (which we recommend) or choose to use them despite the risks.
vim ~/.mutt/account.com.yahoo.gotbletu
unmailboxes *
set imap_user = "gotbletu@yahoo.com"
set imap_pass = "PASSWORD"
set smtp_url = "smtps://gotbletu@smtp.mail.yahoo.com:465"
set smtp_pass = "PASSWORD"
set from = "gotbletu@yahoo.com"
set realname = "Lord Raikage"
set smtp_url = "smtps://gotbletu@smtp.mail.yahoo.com:465"
set smtp_pass = "PASSWORD"
set from = "gotbletu@yahoo.com"
set realname = "Lord Raikage"
set folder = "imaps://imap.mail.yahoo.com:993"
set spoolfile = "+INBOX"
set postponed = "+[Yahoo]/Drafts"
set header_cache = ~/.mutt/com.yahoo.gotbletu/cache/headers
set message_cachedir = ~/.mutt/com.yahoo.gotbletu/cache/bodies
set certificate_file = ~/.mutt/com.yahoo.gotbletu/certificates
set postponed = "+[Yahoo]/Drafts"
set header_cache = ~/.mutt/com.yahoo.gotbletu/cache/headers
set message_cachedir = ~/.mutt/com.yahoo.gotbletu/cache/bodies
set certificate_file = ~/.mutt/com.yahoo.gotbletu/certificates
set status_format = "$from -%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"
LIVE/msn/hotmail/outlook
vim ~/.mutt/account.com.live.gotbletu
unmailboxes *
set imap_user = "gotbletu@live.com"
set imap_pass = "PASSWORD"
set smtp_url = "smtp://gotbletu@live.com@smtp.live.com:587/"
@ -82,16 +98,18 @@ LIVE/msn/hotmail/outlook
set folder = "imaps://imap-mail.outlook.com:993"
set spoolfile = "+INBOX"
set postponed = "+[Live]/Drafts"
set header_cache = ~/.mutt/com.live.gotbletu/cache/headers
set message_cachedir = ~/.mutt/com.live.gotbletu/cache/bodies
set certificate_file = ~/.mutt/com.live.gotbletu/certificates
set header_cache = ~/.mutt/com.live.gotbletu/cache/headers
set message_cachedir = ~/.mutt/com.live.gotbletu/cache/bodies
set certificate_file = ~/.mutt/com.live.gotbletu/certificates
set ssl_force_tls = yes
set status_format = "$from -%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"
Hotmail example
vim ~/.mutt/account.com.hotmail.gotbletu
unmailboxes *
set imap_user = "gotbletu@hotmail.com"
set imap_pass = "PASSWORD"
set smtp_url = "smtp://gotbletu@hotmail.com@smtp.live.com:587/"
@ -101,17 +119,19 @@ Hotmail example
set folder = "imaps://imap-mail.outlook.com:993"
set spoolfile = "+INBOX"
set postponed = "+[Hotmail]/Drafts"
set header_cache = ~/.mutt/com.hotmail.gotbletu/cache/headers
set message_cachedir = ~/.mutt/com.hotmail.gotbletu/cache/bodies
set certificate_file = ~/.mutt/com.hotmail.gotbletu/certificates
set header_cache = ~/.mutt/com.hotmail.gotbletu/cache/headers
set message_cachedir = ~/.mutt/com.hotmail.gotbletu/cache/bodies
set certificate_file = ~/.mutt/com.hotmail.gotbletu/certificates
set ssl_force_tls = yes
set status_format = "$from -%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"
Openmailbox https://www.openmailbox.org/
vim ~/.mutt/account.org.openmailbox.gotbletu
# imaps
unmailboxes *
set spoolfile = "imaps://imap.openmailbox.org:993/INBOX"
set folder = "imaps://imap.openmailbox.org:993"
set imap_user = "gotbletu@openmailbox.org"
@ -121,7 +141,7 @@ Openmailbox https://www.openmailbox.org/
set imap_check_subscribed = "yes"
set imap_list_subscribed = "yes"
set mail_check = 60
#smtps
set smtp_url = "smtps://user@openmailbox.org@openmailbox.org:465"
set smtp_pass = "XXX"
@ -131,17 +151,18 @@ Openmailbox https://www.openmailbox.org/
set charset = "utf-8"
set assumed_charset = "utf-8"
set send_charset = "utf-8:iso-8859-15:us-ascii"
set status_format = "$from -%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"
# force SSL
set ssl_starttls = "yes"
set ssl_force_tls = "yes"
### configuration
set your folder hooks, macros hotkey, default account and text editor
vim ~/.muttrc
@ -151,20 +172,20 @@ set your folder hooks, macros hotkey, default account and text editor
folder-hook 'account.com.yahoo.gotbletu' 'source ~/.mutt/account.com.yahoo.gotbletu'
folder-hook 'account.com.live.gotbletu' 'source ~/.mutt/account.com.live.gotbletu'
folder-hook 'account.com.hotmail.gotbletu' 'source ~/.mutt/account.com.hotmail.gotbletu'
# Default account
source ~/.mutt/account.com.gmail.gotbletu
# Macros for switching accounts
macro index <F12> '<sync-mailbox><enter-command>source ~/.mutt/account.com.gmail.gotbletu<enter><change-folder>!<enter>'
macro index <F11> '<sync-mailbox><enter-command>source ~/.mutt/account.com.yahoo.gotbletu<enter><change-folder>!<enter>'
macro index <F10> '<sync-mailbox><enter-command>source ~/.mutt/account.com.live.gotbletu<enter><change-folder>!<enter>'
macro index <F9> '<sync-mailbox><enter-command>source ~/.mutt/account.com.hotmail.gotbletu<enter><change-folder>!<enter>'
# Set default text editor
set editor = "$EDITOR"
#-------- Basic Config {{{
#------------------------------------------------------
set ssl_starttls = yes
@ -188,23 +209,23 @@ set your folder hooks, macros hotkey, default account and text editor
auto_view text/html
bind editor <Tab> complete-query
bind editor ^T complete
bind editor <space> noop
bind editor <space> noop
# }}}
#-------- Color Theme {{{
#------------------------------------------------------
color hdrdefault cyan default
color attachment yellow default
color header brightyellow default "From: "
color header brightyellow default "Subject: "
color header brightyellow default "Date: "
color quoted green default
color quoted1 cyan default
color quoted2 green default
color quoted3 cyan default
color error red default # error messages
color message white default # message informational messages
color indicator white red # indicator for the "current message"
@ -212,12 +233,12 @@ set your folder hooks, macros hotkey, default account and text editor
color tree red default # the "tree" display of threads within the folder index
color search white blue # search matches found with search within the internal pager
color markers red default # The markers indicate a wrapped line hen showing messages with looong lines
color index yellow default '~O'
color index yellow default '~N'
color index brightred default '~F' # Flagged Messages are important!
color index blue default '~D' # Deleted Mails - use dark color as these are already "dealt with"
# }}}
# }}}
### hotkeys to remember
@ -231,16 +252,16 @@ set your folder hooks, macros hotkey, default account and text editor
- https://github.com/narkoleptik/dotfiles/blob/master/.mutt/account.yahoo
- http://profectium.blogspot.com/2013/12/how-to-set-up-hotmail-in-mutt.html
- http://lifehacker.com/5574557/how-to-use-the-fast-and-powerful-mutt-email-client-with-gmail
### contact
_ _ _ _
__ _ ___ | |_| |__ | | ___| |_ _ _
_ _ _ _
__ _ ___ | |_| |__ | | ___| |_ _ _
/ _` |/ _ \| __| '_ \| |/ _ \ __| | | |
| (_| | (_) | |_| |_) | | __/ |_| |_| |
\__, |\___/ \__|_.__/|_|\___|\__|\__,_|
|___/
|___/
- http://www.youtube.com/user/gotbletu
- https://twitter.com/gotbletu

Loading…
Cancel
Save