aboutsummaryrefslogtreecommitdiff
path: root/.mbsyncrc
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2021-09-22 15:41:05 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2021-09-22 15:41:05 +0200
commitd4c38ce55eb5d6d6ac9327b1ce898886f71ac8de (patch)
tree63fcc0666d187e57efc73909fb0c589a0124e03c /.mbsyncrc
parenta0a009892e716a3cd85839a28469b6341a85ac40 (diff)
downloaddotfiles-d4c38ce55eb5d6d6ac9327b1ce898886f71ac8de.tar.gz
dotfiles-d4c38ce55eb5d6d6ac9327b1ce898886f71ac8de.zip
Finally add uoc.edu address into mu, mbsync and msmtp
This was a long time coming... Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
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