madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

remove logcheck polling
authormartin f. krafft <madduck@madduck.net>
Thu, 22 Dec 2011 14:13:24 +0000 (15:13 +0100)
committermartin f. krafft <madduck@madduck.net>
Thu, 22 Dec 2011 14:13:24 +0000 (15:13 +0100)
.crontab.d/offlineimap
.offlineimaprc

index 4d7db65568a152adec7cc3930c85701d7fd20c67..c368e4be1dadcede3668a796216d6a1f7e5fc1dd 100644 (file)
@@ -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
index 9a32b91ef1b0820b2654c5fc554b239f320f7079..92757fa640a9125737efb876dc87da929889d03b 100644 (file)
@@ -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)