From d4c38ce55eb5d6d6ac9327b1ce898886f71ac8de Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 22 Sep 2021 15:41:05 +0200 Subject: Finally add uoc.edu address into mu, mbsync and msmtp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was a long time coming... Signed-off-by: Miquel Sabaté Solà --- .mbsyncrc | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) (limited to '.mbsyncrc') 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 -- cgit v1.2.3