changeset 5632:7e18782d09b2

snippet for mail: remove only xmlrpc from actions_excluded if needed
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 19 Mar 2010 20:23:50 +0100
parents b82b3fef4c77
children ea396550d4aa
files wiki/config/more_samples/mail_wikiconfig_snippet
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/config/more_samples/mail_wikiconfig_snippet	Fri Mar 19 20:12:27 2010 +0100
+++ b/wiki/config/more_samples/mail_wikiconfig_snippet	Fri Mar 19 20:23:50 2010 +0100
@@ -23,7 +23,8 @@
     # Note: this just configures the mail importing xmlrpc functionionality
     # within moin, you need some script called by your MDA (e.g. procmail)
     # to DO the xmlrpc calls for each mail arriving for your wiki!
-    #actions_excluded = [] # it won't work if 'xmlrpc' is excluded!
+    #actions_excluded = list(multiconfig.DefaultConfig.actions_excluded)
+    #actions_excluded.remove('xmlrpc') # it won't work if 'xmlrpc' is excluded!
     #mail_import_subpage_template = u"$from-$date-$subject" # used for mail import
     #mail_import_pagename_search = ['subject', 'to', ] # where to look for target pagename (and in which order)
     #mail_import_pagename_envelope = u"%s" # use u"+ %s/" to add "+ " and "/" automatically