From 946b7425dec6b3a97abdd631f1c00f7f4ca79a4f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 14 Aug 2019 23:45:13 -0700 Subject: Fix (automatic) syncing of email - Load the necessary environment variables from ‘gnome-keyring-daemon’ when loading fish. - Don’t sync the Archive directory from ryuslash.org, it’s too big and mbsync seems to get really confused about it. - Disable old email accounts from syncing with mbsync. - Fix the ‘get-mail-password’ and ‘set-mail-password’ scripts. - Use ‘secretstorage’ instead of ‘keyring’, this appears to be newer and easier to use. --- mbsync/.mbsyncrc | 120 +++++++++++++++++++++++++++---------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) (limited to 'mbsync/.mbsyncrc') diff --git a/mbsync/.mbsyncrc b/mbsync/.mbsyncrc index a06d4c2..a9ec9c2 100644 --- a/mbsync/.mbsyncrc +++ b/mbsync/.mbsyncrc @@ -18,7 +18,7 @@ Channel ryuslash Master :ryuslash-remote: Slave :ryuslash-local: # Don't synchronize lda-dupes, it causes trouble. -Patterns * !dovecot/lda-dupes +Patterns * !Archive !dovecot/lda-dupes Create Both SyncState * @@ -62,62 +62,62 @@ Group gmail Channel gmail-inbox Channel gmail-sent -## Picturefix: -IMAPAccount picturefix -Host imap.gmail.com -User tom@picturefix.nl -PassCmd "~/usr/bin/get-mail-password picturefix" -SSLType IMAPS -CertificateFile /etc/ssl/certs/ca-certificates.crt - -IMAPStore picturefix-remote -Account picturefix - -MaildirStore picturefix-local -Path ~/documents/mail/picturefix -Inbox ~/documents/mail/picturefix/inbox -SubFolders Legacy - -# Synchronize only the gmail INBOX mailbox. -Channel picturefix-inbox -Master :picturefix-remote: -Slave :picturefix-local: -Patterns INBOX -Create Both -SyncState * - -# Synchronize only the sent mailbox. -Channel picturefix-sent -Master :picturefix-remote:"[Gmail]/Verzonden berichten" -Slave :picturefix-local:sent -Create Both -SyncState * - -# Group the picturefix channels together so that synching with the -# command-line is easier. -Group picturefix -Channel picturefix-inbox -Channel picturefix-sent - -## Ninthfloor: -IMAPAccount ninthfloor -Host mail.ninthfloor.org -User ryuslash -PassCmd "~/usr/bin/get-mail-password ninthfloor" -SSLType STARTTLS -CertificateFile /etc/ssl/certs/ca-certificates.crt - -IMAPStore ninthfloor-remote -Account ninthfloor - -MaildirStore ninthfloor-local -Path ~/documents/mail/ninthfloor/ -Inbox ~/documents/mail/ninthfloor/inbox -SubFolders Legacy - -Channel ninthfloor -Master :ninthfloor-remote: -Slave :ninthfloor-local: -Patterns * -Create Both -SyncState * +# ## Picturefix: +# IMAPAccount picturefix +# Host imap.gmail.com +# User tom@picturefix.nl +# PassCmd "~/usr/bin/get-mail-password picturefix" +# SSLType IMAPS +# CertificateFile /etc/ssl/certs/ca-certificates.crt + +# IMAPStore picturefix-remote +# Account picturefix + +# MaildirStore picturefix-local +# Path ~/documents/mail/picturefix +# Inbox ~/documents/mail/picturefix/inbox +# SubFolders Legacy + +# # Synchronize only the gmail INBOX mailbox. +# Channel picturefix-inbox +# Master :picturefix-remote: +# Slave :picturefix-local: +# Patterns INBOX +# Create Both +# SyncState * + +# # Synchronize only the sent mailbox. +# Channel picturefix-sent +# Master :picturefix-remote:"[Gmail]/Verzonden berichten" +# Slave :picturefix-local:sent +# Create Both +# SyncState * + +# # Group the picturefix channels together so that synching with the +# # command-line is easier. +# Group picturefix +# Channel picturefix-inbox +# Channel picturefix-sent + +# ## Ninthfloor: +# IMAPAccount ninthfloor +# Host mail.ninthfloor.org +# User ryuslash +# PassCmd "~/usr/bin/get-mail-password ninthfloor" +# SSLType STARTTLS +# CertificateFile /etc/ssl/certs/ca-certificates.crt + +# IMAPStore ninthfloor-remote +# Account ninthfloor + +# MaildirStore ninthfloor-local +# Path ~/documents/mail/ninthfloor/ +# Inbox ~/documents/mail/ninthfloor/inbox +# SubFolders Legacy + +# Channel ninthfloor +# Master :ninthfloor-remote: +# Slave :ninthfloor-local: +# Patterns * +# Create Both +# SyncState * -- cgit v1.2.3-54-g00ecf