aboutsummaryrefslogtreecommitdiff
path: root/.mbsyncrc
diff options
context:
space:
mode:
Diffstat (limited to '.mbsyncrc')
-rw-r--r--.mbsyncrc55
1 files changed, 54 insertions, 1 deletions
diff --git a/.mbsyncrc b/.mbsyncrc
index ee53d69..1ce574d 100644
--- a/.mbsyncrc
+++ b/.mbsyncrc
@@ -174,4 +174,57 @@ Patterns * !Calendar
Create Both
Sync All
Expunge Both
-SyncState * \ No newline at end of file
+SyncState *
+
+##
+# uoc.edu
+
+IMAPAccount uoc
+Host imap.gmail.com
+User mssola@uoc.edu
+PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mbsyncpassuoc.gpg"
+SSLType IMAPS
+AuthMechs Login
+CertificateFile /etc/ssl/ca-bundle.pem
+
+# Use the account specified above as the remote storage.
+IMAPStore uoc-remote
+Account uoc
+
+# Let's use ~/.mail as the prefix for the local storage.
+MaildirStore uoc-local
+Path ~/.mail/uoc/
+Inbox ~/.mail/uoc/inbox
+SubFolders Verbatim
+
+Channel uoc-inbox
+Master :uoc-remote:
+Slave :uoc-local:
+Patterns "INBOX"
+Create Both
+Expunge Both
+Sync All
+SyncState *
+
+Channel uoc-all
+Master :uoc-remote:"[Gmail]/Tot el correu"
+Slave :uoc-local:"All"
+Create Both
+Expunge Both
+Sync All
+SyncState *
+
+Channel uoc-sent
+Master :uoc-remote:"[Gmail]/Enviats"
+Slave :uoc-local:"Sent"
+Create Both
+Expunge Both
+Sync All
+SyncState *
+
+# And finally group everything here.
+
+Group uoc
+Channel uoc-inbox
+Channel uoc-all
+Channel uoc-sent \ No newline at end of file