From: martin f. krafft Date: Thu, 22 Dec 2011 14:13:24 +0000 (+0100) Subject: remove logcheck polling X-Git-Url: https://git.madduck.net/etc/offlineimap.git/commitdiff_plain/d6533cdd1e4f42895b2569e979ad9987ba8d7454?ds=inline;hp=5cecd9d4f8fa6e865e29b31235b575665b261540 remove logcheck polling --- diff --git a/.crontab.d/offlineimap b/.crontab.d/offlineimap index 4d7db65..c368e4b 100644 --- a/.crontab.d/offlineimap +++ b/.crontab.d/offlineimap @@ -1,3 +1,2 @@ */30 * * * * sleep $((900 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -q -ou quiet -38 */4 * * * sleep $((60 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -q -ou quiet -a logcheck 55 */8 * * * sleep $((300 * $RANDOM / 32768)) && ip r | grep -q via && $HOME/.bin/offlineimap -q -ou quiet -a madduck.net-bulk diff --git a/.offlineimaprc b/.offlineimaprc index 9a32b91..92757fa 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -55,25 +55,3 @@ preauthtunnel = SSH_AUTH_SOCK= ssh -TCaxS ~/.var/offlineimap/ssh_ctl_sock -o "Co expunge = yes folderfilter = py_folderfilter_bulk foldersort = py_foldersort_main - -[Account logcheck] -localrepository = local-logcheck -remoterepository = logcheck -autorefresh = 15 -quick = 16 - -[Repository local-logcheck] -type = Maildir -localfolders = ~/mail/debian/logcheck -sep = / - -[Repository logcheck] -type = IMAP -remotehost = imap.madduck.net -ssl = yes -maxconnections = 1 -holdconnectionopen = yes -remoteuser = logcheck-todo@madduck.net -remotepass = logcheck -expunge = yes -nametrans = lambda folder: re.sub('^INBOX', 'todo', folder)