From cd73a3653a1b9ccd4be39e3513cfad9887d9a4e1 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sun, 21 Jul 2019 22:35:15 -0400 Subject: [PATCH] Fix IMAP checking with gmail account --- mail/.mbsyncrc | 23 ++++++++++++++++---- systemd/.config/systemd/user/checkmail.timer | 6 ++--- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/mail/.mbsyncrc b/mail/.mbsyncrc index c2ccd67..38b024d 100644 --- a/mail/.mbsyncrc +++ b/mail/.mbsyncrc @@ -145,16 +145,31 @@ IMAPStore 15five-remote Account 15five MaildirStore 15five-local +SubFolders Legacy Path ~/Mail/colin.powell@15five.com Inbox ~/Mail/colin.powell@15five.com/Inbox -Channel 15five-folders +Channel 15five-default Master :15five-remote: Slave :15five-local: -Patterns "\[Google Mail\]/All Mail" "\[Google Mail\]/Drafts" "\[Google Mail\]/Sent Mail" +Patterns * ![Gmail]* Create Both -Expunge Both SyncState * +Sync All + +Channel 15five-sent +Master :15five-remote:"[Gmail]/Sent Mail" +Slave :15five-local:sent +Create Slave +Sync Pull + +Channel 15five-trash +Master :15five-remote:"[Gmail]/Trash" +Slave :15five-local:trash +Create Slave +Sync Pull Group 15five -Channel 15five-folders +Channel 15five-default +Channel 15five-sent +Channel 15five-trash diff --git a/systemd/.config/systemd/user/checkmail.timer b/systemd/.config/systemd/user/checkmail.timer index 613bcd2..e83b0e3 100644 --- a/systemd/.config/systemd/user/checkmail.timer +++ b/systemd/.config/systemd/user/checkmail.timer @@ -5,9 +5,9 @@ RefuseManualStop=no [Timer] Persistent=false -OnBootSec=5min -OnUnitActiveSec=5min -Unite=checkmail.service +OnBootSec=3min +OnUnitActiveSec=3min +Unit=checkmail.service [Install] WantedBy=default.target