FollieHiyuki-dotfiles/home/.mbsyncrc
2021-06-11 20:14:35 +03:00

38 lines
891 B
Plaintext

# ---------------------------------- #
# Gmail #
# ---------------------------------- #
IMAPAccount gmail
Host imap.gmail.com
User example@gmail.com
PassCmd "keepassxc-cli show -s ~/pass.kdbx Emails/Gmail | grep \"Password:\" | awk '{print $2}'"
Port 993
AuthMechs LOGIN
SSLType IMAPS
#SSLVersions SSLv3
CertificateFile /etc/ssl/certs/ca-certificates.crt
# Remote
IMAPStore gmail-remote
Account gmail
# Local
MaildirStore gmail-local
Subfolders Verbatim
Path ~/Mail/Gmail/
Inbox ~/Mail/Gmail/Inbox
# Connections
Channel gmail
Far :gmail-remote:
Near :gmail-local:
Patterns ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail" "[Gmail]/Trash" "[Gmail]/Drafts" "[Gmail]/Spam" "INBOX"
Create Near
Expunge Both
SyncState *
# ---------------------------------- #
# Self-hosted mail #
# ---------------------------------- #
# Soon