add configuration for xinyongzhong@qq.com
This commit is contained in:
parent
6d1aa5d05f
commit
f7ec76dc66
17
common/pass/qq.gpg.asc
Normal file
17
common/pass/qq.gpg.asc
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
-----BEGIN PGP MESSAGE-----
|
||||||
|
|
||||||
|
hQIMA2aMbQr8T6x3AQ/+Mmba9F/cuRd6LyB5BbU/xBZ8GBwjGiVBNj2CLGDn5byQ
|
||||||
|
Yvkt/rPSSPgMUKYz/oFxnbAkChG2RING5Z9jjthita5lwphROOVmXvd77EAeGCwg
|
||||||
|
O1OzIM2Wg+rycaQaX4DwLevewrAmWlvoNB5fBWjiZSQikM78SaNfoxL6sZWdceAB
|
||||||
|
LkEput9FAw3p/XCJWSK9Jg28ycX+hOI0D3HkNkyuIRS2VWAABfcjDXFcRbgnvTWz
|
||||||
|
WI42imIvbK0QhyxqmudJsW0wGu1kmZeAnBwnjrHwHI/611BDyUDRhvg+r1kgVmXg
|
||||||
|
l43rtR5Yc367y55VtdCnPA1Imejibmzc37Hggb51330ViH9vOOdq7ujbTGj1Mh7O
|
||||||
|
FXNknVpRnnDSAs5U36JvNsSkyLWPk9JghpRbm6eqgMwZwYJ+a4Ow7Z1U7MfcOEm2
|
||||||
|
dWW6VSLvCeUVK1IA6b8+ywl3BjFseZQlA/hXBNGzAd44ayGZ2GCvap++0x9HwBis
|
||||||
|
7PCFJh9uDFrLfvimBzb84L9xXFmMUwWtizSti0YA7BDhRQp2vvaRjTlgYj+VcH44
|
||||||
|
R3n31UC2MafTXWlmuNfHXSMp5Hq/4T6NVop+ZeEtVG2typgp3f2LVDrCXBwQflND
|
||||||
|
6iuZLhb93eCfBpfgbOaeBSYLqYY6kbUsSiymreP/UfmSFpFgEUI9P/sWcan5qXPS
|
||||||
|
TAG1asMnWLk/tOdnSZ/d3Fwt2CdxKBZq9yDF8Du2gO96s6qnR1smEOqGhnzb4sWl
|
||||||
|
NXibGnAY6cAi8TSGOtkpxwlNkaX0IkPdfsTp21A=
|
||||||
|
=6SSw
|
||||||
|
-----END PGP MESSAGE-----
|
||||||
|
|
@ -149,3 +149,60 @@ Group outlook-xinyongzhong
|
||||||
Channel outlook-xinyongzhong-inbox
|
Channel outlook-xinyongzhong-inbox
|
||||||
Channel outlook-xinyongzhong-junk
|
Channel outlook-xinyongzhong-junk
|
||||||
|
|
||||||
|
#################################
|
||||||
|
########## Account qq ##########
|
||||||
|
#################################
|
||||||
|
|
||||||
|
IMAPAccount qq
|
||||||
|
Host imap.qq.com
|
||||||
|
User xinyongzhong@qq.com
|
||||||
|
PassCmd "gpg -r xinyz --quiet -d ~/dotfiles/common/pass/qq.gpg.asc"
|
||||||
|
SSLType IMAPS
|
||||||
|
SSLVersions TLSv1.2
|
||||||
|
|
||||||
|
# Remote storage
|
||||||
|
IMAPStore qq-remote
|
||||||
|
Account qq
|
||||||
|
|
||||||
|
# Local storage
|
||||||
|
MaildirStore qq-local
|
||||||
|
Path ~/Mail/qq/
|
||||||
|
Inbox ~/Mail/qq/INBOX
|
||||||
|
|
||||||
|
Channel qq-inbox
|
||||||
|
Master :qq-remote:"INBOX"
|
||||||
|
Slave :qq-local:INBOX
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
|
||||||
|
Channel qq-sent
|
||||||
|
Master :qq-remote:"Sent Messages"
|
||||||
|
Slave :qq-local:sent
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
|
||||||
|
Channel qq-junk
|
||||||
|
Master :qq-remote:"Junk"
|
||||||
|
Slave :qq-local:junk
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
|
||||||
|
Channel qq-drafts
|
||||||
|
Master :qq-remote:"Drafts"
|
||||||
|
Slave :qq-local:drafts
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
|
||||||
|
Channel qq-trash
|
||||||
|
Master :qq-remote:"Deleted Messages"
|
||||||
|
Slave :qq-local:trash
|
||||||
|
Create Both
|
||||||
|
Expunge Both
|
||||||
|
|
||||||
|
Group qq
|
||||||
|
Channel qq-inbox
|
||||||
|
Channel qq-sent
|
||||||
|
Channel qq-junk
|
||||||
|
Channel qq-drafts
|
||||||
|
Channel qq-trash
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,3 +38,14 @@ tls on
|
||||||
tls_starttls on
|
tls_starttls on
|
||||||
tls_certcheck off
|
tls_certcheck off
|
||||||
|
|
||||||
|
account qq
|
||||||
|
host smtp.qq.com
|
||||||
|
port 465
|
||||||
|
protocol smtp
|
||||||
|
auth on
|
||||||
|
user xinyongzhong@qq.com
|
||||||
|
passwordeval "gpg -r xinyz --quiet -d ~/dotfiles/common/pass/qq.gpg.asc"
|
||||||
|
from xinyongzhong@qq.com
|
||||||
|
tls on
|
||||||
|
tls_starttls off
|
||||||
|
|
||||||
|
|
|
||||||
22
mutt/accounts/qq
Normal file
22
mutt/accounts/qq
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
set from = "xinyongzhong@qq.com"
|
||||||
|
set sendmail = "/usr/local/bin/msmtp -a qq"
|
||||||
|
|
||||||
|
# Set folders
|
||||||
|
set spoolfile = "+qq/INBOX"
|
||||||
|
set postponed = "+qq/drafts"
|
||||||
|
set record = "+qq/sent"
|
||||||
|
set trash = "+qq/trash"
|
||||||
|
|
||||||
|
color status cyan default
|
||||||
|
|
||||||
|
macro index o "<shell-escape>mbsync qq<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>+qq/junk<enter>" \
|
||||||
|
"mark as read and move to junk folder"
|
||||||
|
|
||||||
|
macro index,pager i \
|
||||||
|
"<save-message>+qq/INBOX<enter>" \
|
||||||
|
"move message to the inbox"
|
||||||
|
|
@ -83,6 +83,8 @@ named-mailboxes airoccpss =airocpss/INBOX
|
||||||
mailboxes =airocpss/sent =airocpss/drafts =airocpss/junk =airocpss/trash
|
mailboxes =airocpss/sent =airocpss/drafts =airocpss/junk =airocpss/trash
|
||||||
named-mailboxes hotmail =hotmail/INBOX
|
named-mailboxes hotmail =hotmail/INBOX
|
||||||
mailboxes =hotmail/sent =hotmail/drafts =hotmail/junk =hotmail/trash
|
mailboxes =hotmail/sent =hotmail/drafts =hotmail/junk =hotmail/trash
|
||||||
|
named-mailboxes QQ =qq/INBOX
|
||||||
|
mailboxes =qq/sent =qq/drafts =qq/junk =qq/trash
|
||||||
named-mailboxes ok-xinyz =outlook-xinyongzhong/INBOX
|
named-mailboxes ok-xinyz =outlook-xinyongzhong/INBOX
|
||||||
mailboxes =outlook-xinyongzhong/junk
|
mailboxes =outlook-xinyongzhong/junk
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue