diff options
author | Amin Bandali <amin@aminb.org> | 2016-12-14 22:01:01 -0500 |
---|---|---|
committer | Amin Bandali <amin@aminb.org> | 2016-12-14 22:01:01 -0500 |
commit | 871d5d225f24306ef0543f7e003205b6213a184f (patch) | |
tree | 92ea6524d1bbc4897a961567ada877a848e253ac | |
parent | ccdc4e0c2f85ad11b81c0d5260abd105754c2bd0 (diff) | |
download | configs-871d5d225f24306ef0543f7e003205b6213a184f.tar.gz configs-871d5d225f24306ef0543f7e003205b6213a184f.tar.xz configs-871d5d225f24306ef0543f7e003205b6213a184f.zip |
Rely on systemd timers for syncing mail, and re-index every 5 minutes
Also, delete mail from server when fetching pop3 with getmail
Diffstat (limited to '')
-rw-r--r-- | getmail/.config/systemd/user/getmail.timer | 2 | ||||
-rw-r--r-- | getmail/.getmail/getmailrc | 3 | ||||
-rw-r--r-- | spacemacs/.emacs.d/private/aminb/packages.el | 5 |
3 files changed, 4 insertions, 6 deletions
diff --git a/getmail/.config/systemd/user/getmail.timer b/getmail/.config/systemd/user/getmail.timer index 64036a8..7644d56 100644 --- a/getmail/.config/systemd/user/getmail.timer +++ b/getmail/.config/systemd/user/getmail.timer @@ -2,7 +2,7 @@ Description=getmail timer [Timer] -OnCalendar=0/1:00:00 +OnCalendar=*:0/30 Persistent=true Unit=getmail.service diff --git a/getmail/.getmail/getmailrc b/getmail/.getmail/getmailrc index 11e4ce4..acacba9 100644 --- a/getmail/.getmail/getmailrc +++ b/getmail/.getmail/getmailrc @@ -10,5 +10,4 @@ type = Maildir path = ~/mail/gnu/Inbox/ [options] -read_all = False -# delete = True +delete = True diff --git a/spacemacs/.emacs.d/private/aminb/packages.el b/spacemacs/.emacs.d/private/aminb/packages.el index 8e6e1ec..997de0b 100644 --- a/spacemacs/.emacs.d/private/aminb/packages.el +++ b/spacemacs/.emacs.d/private/aminb/packages.el @@ -146,8 +146,8 @@ erc-modified-channels-alist. Should be executed on window change." :config (progn (setq mu4e-maildir maildir - mu4e-get-mail-command "mbsync -a" - mu4e-update-interval nil + mu4e-get-mail-command "true" + mu4e-update-interval 300 mu4e-view-show-addresses t mu4e-headers-include-related t mu4e-enable-notifications t @@ -207,7 +207,6 @@ erc-modified-channels-alist. Should be executed on window change." (mu4e-sent-folder . "/gnu/Sent") (mu4e-drafts-folder . "/gnu/Drafts") (mu4e-trash-folder . "/gnu/Trash") - (mu4e-get-mail-command . "getmail") (mu4e-sent-messages-behavior . sent) (smtpmail-default-smtp-server . "fencepost.gnu.org") (smtpmail-smtp-server . "fencepost.gnu.org") |