dotfiles/conf/mbsyncrc
2023-08-08 10:47:36 +02:00

327 lines
8.4 KiB
Plaintext

#####################
# __ _ _ #
# /__| / \|_) /\ | #
# \_||_\_/|_)/--\|_ #
# #
#####################
# Attempt to keep the time-stamp based
# sorting intact
CopyArrivalDate yes
# Automatically create missing mailboxes,
# both locally and on the server
Create Near
# The per-Channel, per-direction instantaneous
# memory usage above which mbsync will refrain
# from using more memory.
BufferLimit 100M
##########################
# _ _ _ _____ #
# /\ / / / \| ||\ ||(_ #
# /--\\_\_\_/|_|| \||__) #
# #
##########################
# jeff.lance@mala.fr
#-------------------------
IMAPAccount jeff.lance@mala.fr
# Address to connect to
Host ssl0.ovh.net
User jeff.lance@mala.fr
# Get the password account through secret-tool
# I replaced it by a pass command
# PassCmd "secret-tool lookup email jeff.lance@mala.fr service imap"
PassCmd "pass ssl0.ovh.net/jeff.lance@mala.fr"
# Use SSL
# SSLType IMAPS
SSLType None
# The following line should work.
# If get certificate errors, uncomment the two
# following lines and read the "Troubleshooting" section.
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore jeff.lance@mala.fr-remote
Account jeff.lance@mala.fr
MaildirStore jeff.lance@mala.fr-local
SubFolders Verbatim
# The trailing "/" is important
Path ~/Mail/jeff.lance@mala.fr/
Inbox ~/Mail/jeff.lance@mala.fr/inbox
Channel jeff.lance@mala.fr-inbox
Far :jeff.lance@mala.fr-remote:
Near :jeff.lance@mala.fr-local:inbox
Sync PullNew PullDelete Push
SyncState *
# Remove Both
Expunge Both
Channel jeff.lance@mala.fr-sent
Far :jeff.lance@mala.fr-remote:"Sent Items"
Near :jeff.lance@mala.fr-local:sent
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Channel jeff.lance@mala.fr-trash
Far :jeff.lance@mala.fr-remote:"Deleted Items"
Near :jeff.lance@mala.fr-local:trash
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Channel jeff.lance@mala.fr-drafts
Far :jeff.lance@mala.fr-remote:"Drafts"
Near :jeff.lance@mala.fr-local:drafts
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Channel jeff.lance@mala.fr-junk
Far :jeff.lance@mala.fr-remote:"Junk Email"
Near :jeff.lance@mala.fr-local:junk
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Channel jeff.lance@mala.fr-archive
Far :jeff.lance@mala.fr-remote:"Archive"
Near :jeff.lance@mala.fr-local:archive
Pattern *
Create Near
MaxMessages 1500
Sync New Delete Push
SyncState *
Expunge Both
Group jeff.lance@mala.fr
Channel jeff.lance@mala.fr-inbox
Channel jeff.lance@mala.fr-sent
Channel jeff.lance@mala.fr-trash
Channel jeff.lance@mala.fr-drafts
Channel jeff.lance@mala.fr-junk
Channel jeff.lance@mala.fr-archive
# games@mala.fr
#-------------------------
IMAPAccount games@mala.fr
# Address to connect to
Host ssl0.ovh.net
User games@mala.fr
# Get the password account through secret-tool
# I replaced it by a pass command
# PassCmd "secret-tool lookup email games@mala.fr service imap"
PassCmd "pass ssl0.ovh.net/games@mala.fr"
# Use SSL
# SSLType IMAPS
SSLType None
# The following line should work.
# If get certificate errors, uncomment the two
# following lines and read the "Troubleshooting" section.
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore games@mala.fr-remote
Account games@mala.fr
MaildirStore games@mala.fr-local
SubFolders Verbatim
# The trailing "/" is important
Path ~/Mail/games@mala.fr/
Inbox ~/Mail/games@mala.fr/inbox
Channel games@mala.fr-inbox
Far :games@mala.fr-remote:
Near :games@mala.fr-local:inbox
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Channel games@mala.fr-sent
Far :games@mala.fr-remote:"Sent Items"
Near :games@mala.fr-local:sent
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Channel games@mala.fr-trash
Far :games@mala.fr-remote:"Deleted Items"
Near :games@mala.fr-local:trash
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Channel games@mala.fr-drafts
Far :games@mala.fr-remote:"Drafts"
Near :games@mala.fr-local:drafts
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Channel games@mala.fr-junk
Far :games@mala.fr-remote:"Junk Email"
Near :games@mala.fr-local:junk
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Group games@mala.fr
Channel games@mala.fr-inbox
Channel games@mala.fr-sent
Channel games@mala.fr-trash
Channel games@mala.fr-drafts
Channel games@mala.fr-junk
# jean-francois.lance@ac-creteil.fr
#--------------------------------------
IMAPAccount jean-francois.lance@ac-creteil.fr
# Address to connect to
Host imap.ac-creteil.fr
User jlance
# Get the password account through secret-tool
# I replaced it by a pass command
# PassCmd "secret-tool lookup email jean-francois.lance@ac-creteil.fr service imap"
PassCmd "pass ac-creteil.fr/jlance"
# Use SSL
SSLType IMAPS
# The following line should work.
# If get certificate errors, uncomment the two
# following lines and read the "Troubleshooting" section.
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore jean-francois.lance@ac-creteil.fr-remote
Account jean-francois.lance@ac-creteil.fr
MaildirStore jean-francois.lance@ac-creteil.fr-local
SubFolders Verbatim
# The trailing "/" is important
Path ~/Mail/jean-francois.lance@ac-creteil.fr/
Inbox ~/Mail/jean-francois.lance@ac-creteil.fr/inbox
Channel jean-francois.lance@ac-creteil.fr-inbox
Far :jean-francois.lance@ac-creteil.fr-remote:
Near :jean-francois.lance@ac-creteil.fr-local:
Patterns "INBOX"
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Channel jean-francois.lance@ac-creteil.fr-sent
Far :jean-francois.lance@ac-creteil.fr-remote:"Sent"
Near :jean-francois.lance@ac-creteil.fr-local:sent
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Channel jean-francois.lance@ac-creteil.fr-trash
Far :jean-francois.lance@ac-creteil.fr-remote:"Trash"
Near :jean-francois.lance@ac-creteil.fr-local:trash
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Channel jean-francois.lance@ac-creteil.fr-drafts
Far :jean-francois.lance@ac-creteil.fr-remote:"Drafts"
Near :jean-francois.lance@ac-creteil.fr-local:drafts
Sync PullNew PullDelete Push
SyncState *
Expunge Both
Group jean-francois.lance@ac-creteil.fr
Channel jean-francois.lance@ac-creteil.fr-inbox
Channel jean-francois.lance@ac-creteil.fr-sent
Channel jean-francois.lance@ac-creteil.fr-trash
Channel jean-francois.lance@ac-creteil.fr-drafts
## jean-francois.lance@ac-montpellier.fr
##--------------------------------------
#IMAPAccount jean-francois.lance@ac-montpellier.fr
## Address to connect to
#Host courrier.ac-montpellier.fr
#User jlance
#PassCmd "secret-tool lookup email jean-francois.lance@ac-montpellier.fr"
## Use SSL
#SSLType IMAPS
## The following line should work.
## If get certificate errors, uncomment the two
## following lines and read the "Troubleshooting" section.
#CertificateFile /etc/ssl/certs/ca-certificates.crt
#IMAPStore jean-francois.lance@ac-montpellier.fr-remote
#Account jean-francois.lance@ac-montpellier.fr
#MaildirStore jean-francois.lance@ac-montpellier.fr-local
#SubFolders Verbatim
## The trailing "/" is important
#Path ~/Mail/jean-francois.lance@ac-montpellier.fr/
#Inbox ~/Mail/jean-francois.lance@ac-montpellier.fr/INBOX
#Channel jean-francois.lance@ac-montpellier.fr-inbox
#Far :jean-francois.lance@ac-montpellier.fr-remote:
#Near :jean-francois.lance@ac-montpellier.fr-local:
#Patterns "INBOX"
#Expunge Both
#Channel jean-francois.lance@ac-montpellier.fr-sent
#Far :jean-francois.lance@ac-montpellier.fr-remote:"Sent"
#Near :jean-francois.lance@ac-montpellier.fr-local:SENT
#Expunge Both
#Channel jean-francois.lance@ac-montpellier.fr-trash
#Far :jean-francois.lance@ac-montpellier.fr-remote:"Trash"
#Near :jean-francois.lance@ac-montpellier.fr-local:TRASH
#Expunge Both
#Channel jean-francois.lance@ac-montpellier.fr-drafts
#Far :jean-francois.lance@ac-montpellier.fr-remote:"Drafts"
#Near :jean-francois.lance@ac-montpellier.fr-local:DRAFTS
#Expunge Both
#Channel jean-francois.lance@ac-montpellier.fr-spams
#Far :jean-francois.lance@ac-montpellier.fr-remote:"Spams"
#Near :jean-francois.lance@ac-montpellier.fr-local:SPAMS
#Expunge Both
#Channel jean-francois.lance@ac-montpellier.fr-archives
#Far :jean-francois.lance@ac-montpellier.fr-remote:"Archives"
#Near :jean-francois.lance@ac-montpellier.fr-local:ARCHIVES
#Patterns *
#Group jean-francois.lance@ac-montpellier.fr
#Channel jean-francois.lance@ac-montpellier.fr-inbox
#Channel jean-francois.lance@ac-montpellier.fr-sent
#Channel jean-francois.lance@ac-montpellier.fr-trash
#Channel jean-francois.lance@ac-montpellier.fr-drafts
#Channel jean-francois.lance@ac-montpellier.fr-spams
#Channel jean-francois.lance@ac-montpellier.fr-archives