dotfiles/mbsync/.mbsyncrc

229 lines
4.0 KiB
Plaintext

# Mbsync config
IMAPAccount gmail
Host imap.gmail.com
User akasroua@gmail.com
AuthMechs LOGIN
PassCmd "pass mail/gmail"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore gmail-remote
Account gmail
MaildirStore gmail-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/gmail/
Inbox ~/.mail/gmail/inbox/
Channel sync-gmail-default
Far :gmail-remote:
Near :gmail-local:
Create Both
Expunge Both
SyncState *
Channel sync-gmail-sent
Far :gmail-remote:"[Gmail]/Sent Mail"
Near :gmail-local:sent
Create Both
Expunge Both
SyncState *
Channel sync-gmail-trash
Far :gmail-remote:"[Gmail]/Bin"
Near :gmail-local:trash
Create Both
Expunge Both
SyncState *
Channel sync-gmail-junk
Far :gmail-remote:"[Gmail]/Spam"
Near :gmail-local:junk
Create Both
Expunge Both
SyncState *
Channel sync-gmail-archive
Far :gmail-remote:"[Gmail]/All Mail"
Near :gmail-local:archive
Create Both
Expunge Both
SyncState *
Group gmail
Channel sync-gmail-default
Channel sync-gmail-sent
Channel sync-gmail-trash
Channel sync-gmail-junk
Channel sync-gmail-archive
IMAPAccount ugent
Host outlook.office365.com
User amin.kasrouaouam@ugent.be
AuthMechs XOAUTH2
PassCmd "nix-shell -p python3 --command 'python /home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile'"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore ugent-remote
Account ugent
MaildirStore ugent-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/ugent/
Inbox ~/.mail/ugent/inbox/
Channel ugent-default
Far :ugent-remote:
Near :ugent-local:
Create Both
Expunge Both
SyncState *
Channel ugent-sent
Far :ugent-remote:"Sent Items"
Near :ugent-local:sent
Create Both
Expunge Both
SyncState *
Channel ugent-trash
Far :ugent-remote:"Deleted Items"
Near :ugent-local:trash
Create Both
Expunge Both
SyncState *
Channel ugent-archive
Far :ugent-remote:"Archive"
Near :ugent-local:archive
Create Both
Expunge Both
SyncState *
Channel ugent-junk
Far :ugent-remote:"Junk Email"
Near :ugent-local:junk
Create Both
Expunge Both
SyncState *
Group ugent
Channel ugent-default
Channel ugent-sent
Channel ugent-trash
Channel ugent-archive
Channel ugent-junk
IMAPAccount disroot
Host disroot.org
User akasroua@disroot.org
AuthMechs LOGIN
PassCmd "pass mail/disroot"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore disroot-remote
Account disroot
MaildirStore disroot-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/disroot/
Inbox ~/.mail/disroot/inbox/
Channel sync-disroot-default
Far :disroot-remote:
Near :disroot-local:
Create Both
Expunge Both
SyncState *
Channel sync-disroot-sent
Far :disroot-remote:"Sent"
Near :disroot-local:sent
Create Both
Expunge Both
SyncState *
Channel sync-disroot-trash
Far :disroot-remote:"Trash"
Near :disroot-local:trash
Create Both
Expunge Both
SyncState *
Channel sync-disroot-junk
Far :disroot-remote:"Junk"
Near :disroot-local:junk
Create Both
Expunge Both
SyncState *
Channel sync-disroot-archive
Far :disroot-remote:"Archive"
Near :disroot-local:archive
Create Both
Expunge Both
SyncState *
Channel sync-disroot-bookings
Far :disroot-remote:"Bookings"
Near :disroot-local:bookings
Create Both
Expunge Both
SyncState *
Channel sync-disroot-buying
Far :disroot-remote:"Buying"
Near :disroot-local:buying
Create Both
Expunge Both
SyncState *
Channel sync-disroot-services
Far :disroot-remote:"Services"
Near :disroot-local:services
Create Both
Expunge Both
SyncState *
Channel sync-disroot-smart
Far :disroot-remote:"SMART"
Near :disroot-local:smart
Create Both
Expunge Both
SyncState *
Channel sync-disroot-travel
Far :disroot-remote:"Travel"
Near :disroot-local:travel
Create Both
Expunge Both
SyncState *
Group disroot
Channel sync-disroot-default
Channel sync-disroot-sent
Channel sync-disroot-trash
Channel sync-disroot-archive
Channel sync-disroot-junk
Channel sync-disroot-bookings
Channel sync-disroot-buying
Channel sync-disroot-services
Channel sync-disroot-smart
Channel sync-disroot-travel
Channel sync-disroot-archive