From 871d5d225f24306ef0543f7e003205b6213a184f Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 14 Dec 2016 22:01:01 -0500 Subject: Rely on systemd timers for syncing mail, and re-index every 5 minutes Also, delete mail from server when fetching pop3 with getmail --- getmail/.config/systemd/user/getmail.timer | 2 +- getmail/.getmail/getmailrc | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'getmail') 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 -- cgit v1.2.3-60-g2f50