add configuration for xinyongzhong@outlook.com
This commit is contained in:
parent
c01b39d23d
commit
6d1aa5d05f
17
common/pass/outlook-xinyongzhong.gpg.asc
Normal file
17
common/pass/outlook-xinyongzhong.gpg.asc
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
-----BEGIN PGP MESSAGE-----
|
||||
|
||||
hQIMA2aMbQr8T6x3AQ/9HVcNCiYc1VcbBVB5dEBfwRC8pxsyZlrINiT+scD7tg9w
|
||||
iAeKXf5Ja50tB4kjYXQTr91JStSB6MmxpTFBcHSlYeswZSIVRDhDw5BgRBAsjq8o
|
||||
XpnDhq2Ja0ET33HClw7uQxFHOAZxyLIbkfBcqruDMH7ulCjAb74ugsIylTWWBTDy
|
||||
pUYXafaegdZJmITt7JfG3QlRdmg9+7J5WKZ4IpMVG5dqR9yz+E88ijuEjqJzMF6t
|
||||
dj3tPVtLTTbhbTKlhxM36I2HDHim6zg6yP8USR4ZhWKnGnWjMuZR5WULsORnOywX
|
||||
IOp/ywbdDzaoFtpzHFgHNhz28lk5XQaWJdM9jVqTvTNSpsuZQN/0hyviyq4ebhow
|
||||
1Oakt57hqyc3ATPx2hYJ3JCYsHg1AEyOWt5QZUA51n0Cm7wxoxC1TmZRIqgxo+ES
|
||||
5PwoQ6/MOz7coV6o5y/3FH7jXlETJ+WaRJEFF6y/naRQ9E4uJEhYRxwVhCqog2g1
|
||||
d7bAE/a3q5nAyXFvhL/iJNvn9GtEwvPukz1x2MWo3XnN9j/ryMhtIs74qBjw2QNu
|
||||
G5kJ9kFIbLMlL4kEabcFavUeO5iddoRNQK7GA+iqZdyV5vz1AmW8Rj5A5fbG9xvw
|
||||
mnLMA/oQSbkoCPmucYNgF5PLnqQ73YX0VUZ4+GoL0c5KyRc4/QEyN1N4fkbm4LTS
|
||||
SAH2Tj1dwYnLa7oU4/bgoawlUT+AM7JxeLyKamHw2HkdXPpoRBLb46n/NhAYqjz6
|
||||
CbWBhywYqMKBw8PZyGIV/hyd2VtV+q5MLQ==
|
||||
=jmup
|
||||
-----END PGP MESSAGE-----
|
||||
|
|
@ -113,3 +113,39 @@ Channel hotmail-junk
|
|||
Channel hotmail-drafts
|
||||
Channel hotmail-trash
|
||||
|
||||
#################################
|
||||
# Account outlook-xinyongzhong #
|
||||
#################################
|
||||
|
||||
IMAPAccount outlook-xinyongzhong
|
||||
Host imap-mail.outlook.com
|
||||
User xinyongzhong@outlook.com
|
||||
PassCmd "gpg -r xinyz --quiet -d ~/dotfiles/common/pass/outlook-xinyongzhong.gpg.asc"
|
||||
SSLType IMAPS
|
||||
SSLVersions TLSv1.2
|
||||
|
||||
# Remote storage
|
||||
IMAPStore outlook-xinyongzhong-remote
|
||||
Account outlook-xinyongzhong
|
||||
|
||||
# Local storage
|
||||
MaildirStore outlook-xinyongzhong-local
|
||||
Path ~/Mail/outlook-xinyongzhong/
|
||||
Inbox ~/Mail/outlook-xinyongzhong/INBOX
|
||||
|
||||
Channel outlook-xinyongzhong-inbox
|
||||
Master :outlook-xinyongzhong-remote:"Inbox"
|
||||
Slave :outlook-xinyongzhong-local:INBOX
|
||||
Create Both
|
||||
Expunge Both
|
||||
|
||||
Channel outlook-xinyongzhong-junk
|
||||
Master :outlook-xinyongzhong-remote:"Junk"
|
||||
Slave :outlook-xinyongzhong-local:junk
|
||||
Create Both
|
||||
Expunge Both
|
||||
|
||||
Group outlook-xinyongzhong
|
||||
Channel outlook-xinyongzhong-inbox
|
||||
Channel outlook-xinyongzhong-junk
|
||||
|
||||
|
|
|
|||
|
|
@ -26,3 +26,15 @@ tls on
|
|||
tls_starttls on
|
||||
tls_certcheck off
|
||||
|
||||
account outlook-xinyongzhong
|
||||
host smtp.live.com
|
||||
port 587
|
||||
protocol smtp
|
||||
auth on
|
||||
user xinyongzhong@outlook.com
|
||||
passwordeval "gpg -r xinyz --quiet -d ~/dotfiles/common/pass/outlook-xinyongzhong.gpg.asc"
|
||||
from xinyongzhong@outlook.com
|
||||
tls on
|
||||
tls_starttls on
|
||||
tls_certcheck off
|
||||
|
||||
|
|
|
|||
23
mutt/accounts/outlook-xinyongzhong
Normal file
23
mutt/accounts/outlook-xinyongzhong
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
set from = "xinyongzhong@outlook.com"
|
||||
set sendmail = "/usr/local/bin/msmtp -a outlook-xinyongzhong"
|
||||
|
||||
# Set folders
|
||||
set spoolfile = "+outlook-xinyongzhong/INBOX"
|
||||
set postponed = "+outlook-xinyongzhong/INBOX"
|
||||
set record = "+outlook-xinyongzhong/INBOX"
|
||||
set trash = "+outlook-xinyongzhong/INBOX"
|
||||
|
||||
color status cyan default
|
||||
|
||||
macro index o "<shell-escape>mbsync outlook-xinyongzhong<enter>" "run mbsync to sync mail for this account"
|
||||
|
||||
macro index,pager s \
|
||||
"<enter-command>set my_old_resolve=\$resolve noresolve<enter>\
|
||||
<tag-prefix><clear-flag>n<enter-command>set resolve=\$my_old_resolve<enter>\
|
||||
<save-message>+outlook-xinyongzhong/junk<enter>" \
|
||||
"mark as read and move to junk folder"
|
||||
|
||||
macro index,pager i \
|
||||
"<save-message>+outlook-xinyongzhong/INBOX<enter>" \
|
||||
"move message to the inbox"
|
||||
|
||||
|
|
@ -72,17 +72,19 @@ auto_view text/html
|
|||
set sidebar_visible
|
||||
set sidebar_short_path
|
||||
set sidebar_folder_indent
|
||||
set sidebar_width = 25
|
||||
set sidebar_width = 26
|
||||
set sidebar_divider_char = ' | '
|
||||
set sidebar_indent_string = ' ''
|
||||
set sidebar_format = "%B %* [%?N?%N / ?%S]"
|
||||
|
||||
# Mailboxes to show in the sidebar.
|
||||
# mailboxes =airocpss
|
||||
named-mailboxes airoccpss-INBOX =airocpss/INBOX
|
||||
named-mailboxes airoccpss =airocpss/INBOX
|
||||
mailboxes =airocpss/sent =airocpss/drafts =airocpss/junk =airocpss/trash
|
||||
named-mailboxes hotmail-INBOX =hotmail/INBOX
|
||||
named-mailboxes hotmail =hotmail/INBOX
|
||||
mailboxes =hotmail/sent =hotmail/drafts =hotmail/junk =hotmail/trash
|
||||
named-mailboxes ok-xinyz =outlook-xinyongzhong/INBOX
|
||||
mailboxes =outlook-xinyongzhong/junk
|
||||
|
||||
# source colors and keybindings
|
||||
# keeping those in one place makes it easier for my brain
|
||||
|
|
@ -100,4 +102,5 @@ source ~/.mutt/accounts/airocpss
|
|||
# when changing into other mailboxes, use different adresses etc.
|
||||
folder-hook airocpss/* source ~/.mutt/accounts/airocpss
|
||||
folder-hook hotmail/* source ~/.mutt/accounts/hotmail
|
||||
folder-hook hotmail/* source ~/.mutt/accounts/outlook-xinyongzhong
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue