summaryrefslogtreecommitdiff
path: root/home/dots/.mbsyncrc
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-10-22 11:07:59 +0300
committerMarc Coquand <marc@mccd.space>2024-10-22 11:07:59 +0300
commite24f418e3499afd1e9e529b8656a35376e69f52a (patch)
tree90e01f42d46dec91e3a6cace4de6d089152fad29 /home/dots/.mbsyncrc
downloadguix-e24f418e3499afd1e9e529b8656a35376e69f52a.tar.gz
guix-e24f418e3499afd1e9e529b8656a35376e69f52a.tar.bz2
guix-e24f418e3499afd1e9e529b8656a35376e69f52a.zip
initial commit
Diffstat (limited to 'home/dots/.mbsyncrc')
-rw-r--r--home/dots/.mbsyncrc60
1 files changed, 60 insertions, 0 deletions
diff --git a/home/dots/.mbsyncrc b/home/dots/.mbsyncrc
new file mode 100644
index 0000000..ca00992
--- /dev/null
+++ b/home/dots/.mbsyncrc
@@ -0,0 +1,60 @@
+CopyArrivalDate yes # Don't mess up message timestamps when moving them between folders.
+Create Near # Automatically create new folders in the local copy.
+Remove Near # Automatically remove deleted folders from the local copy.
+Expunge Near # Expunge deleted messages from the local copy.
+
+# First section: remote IMAP account
+IMAPAccount Home
+Host imap.fastmail.com
+Port 993
+User marcc@fastmail.fr
+# For simplicity, this is how to read the password from another file.
+# For better security you should use GPG https://gnupg.org/
+PassCmd "pass fastmail/marcc"
+TLSType IMAPS
+TLSVersions +1.2
+
+IMAPStore Home-remote
+Account Home
+
+# This section describes the local storage
+MaildirStore Home-local
+Path ~/mail/home/
+Inbox ~/mail/home/INBOX
+SubFolders Verbatim
+
+# This section a "channel", a connection between remote and local
+Channel Home
+Far :Home-remote:
+Near :Home-local:
+Patterns *
+Expunge None
+CopyArrivalDate yes
+Sync All
+Create Both
+SyncState *
+
+
+# WORK
+IMAPAccount Work
+Host imap.gmail.com
+User marc.coquand@sustainably.app
+PassCmd "pass sustainably/gmail"
+TLSType IMAPS
+Timeout 60
+
+IMAPStore Work-remote
+Account Work
+
+MaildirStore Work-local
+Path ~/mail/work/
+Inbox ~/mail/work/INBOX
+SubFolders Verbatim
+
+Channel Work
+Far :Work-remote:
+Near :Work-local:
+Expunge Both
+Create Both
+Patterns *
+SyncState *