aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2008-06-06 11:13:09 -0700
committerMark Sapiro <mark@msapiro.net>2008-06-06 11:13:09 -0700
commit72bb6de0ca937f387812ebae2955dd7be867902a (patch)
tree367aa1c0ea83e059e08bd247c22e6f2ecd306d23 /Mailman
parent1f5bb73a37207e5491130b788db39330492f625f (diff)
parent17b4a1bc0a85320f46357cffde8232220a113e11 (diff)
downloadmailman2-72bb6de0ca937f387812ebae2955dd7be867902a.tar.gz
mailman2-72bb6de0ca937f387812ebae2955dd7be867902a.tar.xz
mailman2-72bb6de0ca937f387812ebae2955dd7be867902a.zip
Merged the cull_bad_shunt branch.
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Defaults.py.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 8f8c64f0..1631a714 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -725,6 +725,26 @@ QRUNNER_SLEEP_TIME = seconds(1)
# them in qfiles/bad subdirectory.
QRUNNER_SAVE_BAD_MESSAGES = Yes
+# Depending on the above setting, the queue entries with messages which can't
+# be parsed may be saved in qfiles/bad. Certain other exceptions which occur
+# during unpickling of a queue entry also cause the entry to be saved in
+# qfiles/bad. Various exceptions which occur during message processing cause
+# the message to be shunted (saved in qfiles/shunt) where they can be
+# reprocessed with bin/unshunt after the underlying problem is fixed. The
+# cull_bad_shunt cron job normally runs daily to remove and possibly archive
+# stale entries in qfiles/bad and qfiles/shunt. The following settings
+# control this.
+
+# The length of time after which a qfiles/bad or qfiles/shunt file is
+# considered to be stale. Set to zero to disable culling of qfiles/bad and
+# qfiles/shunt entries.
+BAD_SHUNT_STALE_AFTER = days(7)
+
+# The pathname of a directory (searchable and writable by the Mailman cron
+# user) to which the culled qfiles/bad and qfiles/shunt entries will be
+# moved. Set to None to simply delete the culled entries.
+BAD_SHUNT_ARCHIVE_DIRECTORY = None
+
# This flag causes Mailman to fsync() its data files after writing and
# flushing its contents. While this ensures the data is written to disk,
# avoiding data loss, it may be a performance killer. Note that this flag