2019-08-27 01:08:54 +02:00
|
|
|
# Mbsync config
|
2019-03-24 15:03:56 +01:00
|
|
|
IMAPAccount gmail
|
|
|
|
Host imap.gmail.com
|
|
|
|
User akasroua@gmail.com
|
2021-11-14 17:47:56 +01:00
|
|
|
AuthMechs LOGIN
|
2020-05-24 02:23:06 +02:00
|
|
|
PassCmd "pass mail/gmail"
|
2019-03-24 15:03:56 +01:00
|
|
|
SSLType IMAPS
|
2019-08-27 01:08:54 +02:00
|
|
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
2019-03-24 15:03:56 +01:00
|
|
|
|
|
|
|
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
|
2021-02-08 15:29:54 +01:00
|
|
|
Far :gmail-remote:
|
|
|
|
Near :gmail-local:
|
|
|
|
Create Both
|
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
2019-03-24 15:03:56 +01:00
|
|
|
|
|
|
|
Channel sync-gmail-sent
|
2021-02-08 15:29:54 +01:00
|
|
|
Far :gmail-remote:"[Gmail]/Sent Mail"
|
|
|
|
Near :gmail-local:sent
|
|
|
|
Create Both
|
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
2019-03-24 15:03:56 +01:00
|
|
|
|
|
|
|
Channel sync-gmail-trash
|
2021-02-08 15:29:54 +01:00
|
|
|
Far :gmail-remote:"[Gmail]/Bin"
|
|
|
|
Near :gmail-local:trash
|
|
|
|
Create Both
|
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
2019-03-24 15:03:56 +01:00
|
|
|
|
|
|
|
Channel sync-gmail-junk
|
2021-02-08 15:29:54 +01:00
|
|
|
Far :gmail-remote:"[Gmail]/Spam"
|
|
|
|
Near :gmail-local:junk
|
|
|
|
Create Both
|
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
2019-03-24 15:03:56 +01:00
|
|
|
|
|
|
|
Group gmail
|
|
|
|
Channel sync-gmail-default
|
|
|
|
Channel sync-gmail-sent
|
|
|
|
Channel sync-gmail-trash
|
|
|
|
Channel sync-gmail-junk
|
|
|
|
|
2021-09-22 00:12:17 +02:00
|
|
|
IMAPAccount ugent
|
|
|
|
Host outlook.office365.com
|
|
|
|
User amin.kasrouaouam@ugent.be
|
2021-11-14 17:47:56 +01:00
|
|
|
AuthMechs XOAUTH2
|
2022-02-03 03:20:15 +01:00
|
|
|
PassCmd "python /home/coolneng/.local/share/scripts/mutt_oauth2.py /tmp/tokenfile"
|
2019-03-24 15:03:56 +01:00
|
|
|
SSLType IMAPS
|
2019-08-27 01:08:54 +02:00
|
|
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
2019-03-24 15:03:56 +01:00
|
|
|
|
2021-09-22 00:12:17 +02:00
|
|
|
IMAPStore ugent-remote
|
|
|
|
Account ugent
|
2019-03-24 15:03:56 +01:00
|
|
|
|
2021-09-22 00:12:17 +02:00
|
|
|
MaildirStore ugent-local
|
2019-03-24 15:03:56 +01:00
|
|
|
Subfolders Verbatim
|
|
|
|
# The trailing "/" is important
|
2021-09-22 00:12:17 +02:00
|
|
|
Path ~/.mail/ugent/
|
|
|
|
Inbox ~/.mail/ugent/inbox/
|
2019-03-24 15:03:56 +01:00
|
|
|
|
2021-09-22 00:12:17 +02:00
|
|
|
Channel ugent-default
|
|
|
|
Far :ugent-remote:
|
|
|
|
Near :ugent-local:
|
2021-02-08 15:29:54 +01:00
|
|
|
Create Both
|
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
2019-03-24 15:03:56 +01:00
|
|
|
|
2021-09-22 00:12:17 +02:00
|
|
|
Channel ugent-sent
|
|
|
|
Far :ugent-remote:"Sent Items"
|
|
|
|
Near :ugent-local:sent
|
2021-02-08 15:29:54 +01:00
|
|
|
Create Both
|
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
2019-03-24 15:03:56 +01:00
|
|
|
|
2021-09-22 00:12:17 +02:00
|
|
|
Channel ugent-trash
|
|
|
|
Far :ugent-remote:"Deleted Items"
|
|
|
|
Near :ugent-local:trash
|
2021-02-08 15:29:54 +01:00
|
|
|
Create Both
|
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
2019-03-24 15:03:56 +01:00
|
|
|
|
2021-09-22 00:12:17 +02:00
|
|
|
Channel ugent-archive
|
|
|
|
Far :ugent-remote:"Archive"
|
|
|
|
Near :ugent-local:archive
|
2021-02-08 15:29:54 +01:00
|
|
|
Create Both
|
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
|
|
|
|
2021-09-22 00:12:17 +02:00
|
|
|
Channel ugent-junk
|
|
|
|
Far :ugent-remote:"Junk Email"
|
|
|
|
Near :ugent-local:junk
|
|
|
|
Create Both
|
|
|
|
Expunge Both
|
|
|
|
SyncState *
|
2019-03-24 15:03:56 +01:00
|
|
|
|
2021-09-22 00:12:17 +02:00
|
|
|
Group ugent
|
|
|
|
Channel ugent-default
|
|
|
|
Channel ugent-sent
|
|
|
|
Channel ugent-trash
|
|
|
|
Channel ugent-archive
|
|
|
|
Channel ugent-junk
|