From 936fe1f43e9ded5ae66b59cb39e6c8d188e637a4 Mon Sep 17 00:00:00 2001 From: John Goerzen Date: Wed, 1 Oct 2008 00:04:14 -0500 Subject: [PATCH 1/1] Added docs for hooks Patch from Sias Mey fixes #71 --- offlineimap.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/offlineimap.conf b/offlineimap.conf index 6e12296..6389905 100644 --- a/offlineimap.conf +++ b/offlineimap.conf @@ -183,6 +183,19 @@ remoterepository = RemoteExample # quick = 10 +# You can specify a pre and post sync hook to execute a external command. +# in this case a call to imapfilter to filter mail before the sync process +# starts and a custom shell script after the sync completes. +# The pre sync script has to complete before a sync to the account will +# start. + +# presynchook = imapfilter +# postsynchook = notifysync.sh + +# You can also specify parameters to the commands +# presynchook = imapfilter -c someotherconfig.lua + + [Repository LocalExample] # This is one of the two repositories that you'll work with given the -- 2.39.2