dotfiles/mbsync/.mbsyncrc

115 lines
2.7 KiB
Text

## Ryuslash:
IMAPAccount ryuslash
Host imap-ryuslash.alwaysdata.net
User tom@ryuslash.org
PassCmd "secret-tool lookup application mbsync account ryuslash"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore ryuslash-remote
Account ryuslash
MaildirStore ryuslash-local
Path ~/documents/mail/ryuslash/
Inbox ~/documents/mail/ryuslash/inbox
SubFolders Legacy
Channel ryuslash
Far :ryuslash-remote:
Near :ryuslash-local:
# Don't synchronize lda-dupes, it causes trouble.
Patterns INBOX ml-%
Create Both
SyncState *
## Gmail:
IMAPAccount gmail
Host imap.gmail.com
User ryuslash@gmail.com
PassCmd "secret-tool lookup application mbsync account gmail"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore gmail-remote
Account gmail
MaildirStore gmail-local
Path ~/documents/mail/gmail
Inbox ~/documents/mail/gmail/inbox
SubFolders Legacy
# Synchronize only the gmail INBOX mailbox.
Channel gmail-inbox
Far :gmail-remote:
Near :gmail-local:
Patterns INBOX
# Automatically create missing mailboxes, both locally and on the
# server.
Create Both
# Save the synchronization state files in the relevant directory.
SyncState *
# Group the INBOX and [Gmail]/Sent Mail mailboxes together so "mbsync
# gmail" can be used to synchronize both.
Group gmail
Channel gmail-inbox
# ## Picturefix:
# IMAPAccount picturefix
# Host imap.gmail.com
# User tom@picturefix.nl
# PassCmd "~/usr/bin/get-mail-password picturefix"
# SSLType IMAPS
# CertificateFile /etc/ssl/certs/ca-certificates.crt
# IMAPStore picturefix-remote
# Account picturefix
# MaildirStore picturefix-local
# Path ~/documents/mail/picturefix
# Inbox ~/documents/mail/picturefix/inbox
# SubFolders Legacy
# # Synchronize only the gmail INBOX mailbox.
# Channel picturefix-inbox
# Far :picturefix-remote:
# Near :picturefix-local:
# Patterns INBOX
# Create Both
# SyncState *
# # Synchronize only the sent mailbox.
# Channel picturefix-sent
# Far :picturefix-remote:"[Gmail]/Verzonden berichten"
# Near :picturefix-local:sent
# Create Both
# SyncState *
# # Group the picturefix channels together so that synching with the
# # command-line is easier.
# Group picturefix
# Channel picturefix-inbox
# Channel picturefix-sent
# ## Ninthfloor:
# IMAPAccount ninthfloor
# Host mail.ninthfloor.org
# User ryuslash
# PassCmd "~/usr/bin/get-mail-password ninthfloor"
# SSLType STARTTLS
# CertificateFile /etc/ssl/certs/ca-certificates.crt
# IMAPStore ninthfloor-remote
# Account ninthfloor
# MaildirStore ninthfloor-local
# Path ~/documents/mail/ninthfloor/
# Inbox ~/documents/mail/ninthfloor/inbox
# SubFolders Legacy
# Channel ninthfloor
# Far :ninthfloor-remote:
# Near :ninthfloor-local:
# Patterns *
# Create Both
# SyncState *