]> code.delx.au - offlineimap/blobdiff - offlineimap.conf
Added docs for hooks
[offlineimap] / offlineimap.conf
index b6ed990adac85e45300e38e09a722c11feeb2d4c..6389905c4dae98e35085089cd3d2849dc8129166 100644 (file)
@@ -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
@@ -436,3 +449,13 @@ remoteuser = username@gmail.com
 #
 # See http://mail.google.com/support/bin/answer.py?answer=77657&topic=12815
 realdelete = no
+
+# The trash folder name may be different from [Gmail]/Trash
+# for example on german googlemail, this setting should be
+#
+# trashfolder = [Google Mail]/Papierkorb
+#
+# The same is valid for the spam folder
+#
+# spamfolder = [Google Mail]/Spam
+