#################################
####### Account airocpss  #######
#################################

IMAPAccount airocpss
Host imap.exmail.qq.com
User xinyz@airocpss.com
PassCmd "gpg -r xinyz --quiet -d ~/dotfiles/common/pass/airocpss.gpg.asc"
SSLType IMAPS
SSLVersions TLSv1.2

# Remote storage
IMAPStore airocpss-remote
Account airocpss

# Local storage
MaildirStore airocpss-local
Path ~/Mail/airocpss/
Inbox ~/Mail/airocpss/INBOX

Channel airocpss-inbox
Master :airocpss-remote:"INBOX"
Slave :airocpss-local:INBOX
Create Both
Expunge Both

Channel airocpss-sent
Master :airocpss-remote:"Sent Messages"
Slave :airocpss-local:sent
Create Both
Expunge Both

Channel airocpss-junk
Master :airocpss-remote:"Junk"
Slave :airocpss-local:junk
Create Both
Expunge Both

Channel airocpss-drafts
Master :airocpss-remote:"Drafts"
Slave :airocpss-local:drafts
Create Both
Expunge Both

Channel airocpss-trash
Master :airocpss-remote:"Deleted Messages"
Slave :airocpss-local:trash
Create Both
Expunge Both

Group airocpss
Channel airocpss-inbox
Channel airocpss-sent
Channel airocpss-junk
Channel airocpss-drafts
Channel airocpss-trash


#################################
######## Account hotmail ########
#################################

IMAPAccount hotmail
Host imap-mail.outlook.com
User yzxin@hotmail.com
PassCmd "gpg -r xinyz --quiet -d ~/dotfiles/common/pass/hotmail.gpg.asc"
SSLType IMAPS
SSLVersions TLSv1.2

# Remote storage
IMAPStore hotmail-remote
Account hotmail

# Local storage
MaildirStore hotmail-local
Path ~/Mail/hotmail/
Inbox ~/Mail/hotmail/INBOX

Channel hotmail-inbox
Master :hotmail-remote:"Inbox"
Slave :hotmail-local:INBOX
Create Both
Expunge Both

Channel hotmail-sent
Master :hotmail-remote:"Sent"
Slave :hotmail-local:sent
Create Both
Expunge Both

Channel hotmail-junk
Master :hotmail-remote:"Junk"
Slave :hotmail-local:junk
Create Both
Expunge Both

Channel hotmail-drafts
Master :hotmail-remote:"Drafts"
Slave :hotmail-local:drafts
Create Both
Expunge Both

Channel hotmail-trash
Master :hotmail-remote:"Deleted"
Slave :hotmail-local:trash
Create Both
Expunge Both

Group hotmail
Channel hotmail-inbox
Channel hotmail-sent
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

#################################
########## 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

