nixos/config/emacs/.mbsyncrc

117 lines
2.4 KiB
Text
Raw Normal View History

2024-07-13 22:12:51 +04:00
IMAPAccount outlook
AuthMechs XOAUTH2
2024-07-13 22:12:51 +04:00
Host outlook.office365.com
Port 993
UserCmd "pass Microsoft | grep 'login:' | sed 's/login: //'"
PassCmd "oama access $(pass Microsoft | grep 'login:' | sed 's/login: //')"
TLSType IMAPS
2024-07-13 22:12:51 +04:00
IMAPStore outlook-remote
Account outlook
MaildirStore outlook-local
Subfolders Verbatim
Path ~/Mail/Outlook/
Inbox ~/Mail/Outlook/Inbox
Channel Outlook
Far :outlook-remote:
Near :outlook-local:
Patterns * !"Conversation History" !Calendar !Archive !Archives !Clutter !Drafts
Create Both
Expunge Both
SyncState *
2024-07-14 16:44:30 +04:00
IMAPAccount gmail-1
AuthMechs XOAUTH2
Host imap.gmail.com
Port 993
UserCmd "pass accounts.google.com/one | grep 'login:' | sed 's/login: //'"
PassCmd "oama access $(pass accounts.google.com/one | grep 'login:' | sed 's/login: //')"
TLSType IMAPS
IMAPStore gmail-1-remote
Account gmail-1
MaildirStore gmail-1-local
Subfolders Verbatim
Path ~/Mail/gmail-one/
Inbox ~/Mail/gmail-one/Inbox
Channel gmail-1
Far :gmail-1-remote:
Near :gmail-1-local:
Patterns * !"[Gmail]/All Mail" !"[Gmail]/Important" !"[Gmail]/Starred" !"[Gmail]/Bin"
Create Both
Expunge Both
SyncState *
IMAPAccount gmail-2
AuthMechs XOAUTH2
Host imap.gmail.com
Port 993
UserCmd "pass accounts.google.com/two| grep 'login:' | sed 's/login: //'"
PassCmd "oama access $(pass accounts.google.com/two | grep 'login:' | sed 's/login: //')"
TLSType IMAPS
IMAPStore gmail-2-remote
Account gmail-2
MaildirStore gmail-2-local
Subfolders Verbatim
Path ~/Mail/gmail-two/
Inbox ~/Mail/gmail-two/Inbox
Channel gmail-2
Far :gmail-2-remote:
Near :gmail-2-local:
Patterns * !"[Gmail]/All Mail" !"[Gmail]/Important" !"[Gmail]/Starred" !"[Gmail]/Bin"
Create Both
Expunge Both
SyncState *
2024-07-14 16:44:30 +04:00
IMAPAccount proton
Host 127.0.0.1
Port 1143
UserCmd "pass 'Proton Account' | grep 'login:' | sed 's/login: //'"
2024-07-14 16:44:30 +04:00
PassCmd "cat ~/.hydroxide-bridge-pass"
2024-10-14 19:28:52 +04:00
TLSType None
2024-07-14 16:44:30 +04:00
IMAPStore proton-remote
Account proton
MailDirStore proton-local
SubFolders Verbatim
2024-10-14 19:28:52 +04:00
Path ~/.mail/proton/
Inbox ~/.mail/proton/Inbox
2024-07-14 16:44:30 +04:00
Channel proton
Far :proton-remote:
Near :proton-local:
Patterns *
Create Both
Expunge Both
SyncState *
IMAPAccount li
2024-10-14 19:28:52 +04:00
AuthMechs *
UserCmd "pass show email/li | grep 'login: ' | sed 's/login: //'"
2024-10-14 19:28:52 +04:00
PassCmd "pass show email/li"
Tunnel "nc -T protocols=all -T ciphers=compat -X 5 -x <PROXY> <HOST> <PORT>"
IMAPStore li-remote
Account li
MailDirStore li-local
SubFolders Verbatim
2024-10-14 19:28:52 +04:00
Path ~/.mail/li/
Inbox ~/.mail/li/Inbox
Channel li
Far :li-remote:
Near :li-local:
Patterns *
Create Both
Expunge Both
2024-10-14 19:28:52 +04:00
SyncState *