aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Gui
diff options
context:
space:
mode:
authortkikuchi <>2004-10-08 12:38:49 +0000
committertkikuchi <>2004-10-08 12:38:49 +0000
commit0d4f2ad7808f1c3a26a7d4ccc996801efdffc58c (patch)
treeb3b1a3987bc947485e6eeee2d7cad84c99c5f726 /Mailman/Gui
parent07f03ba6cc18371f18bd66d7c51fe4aacd4dae0c (diff)
downloadmailman2-0d4f2ad7808f1c3a26a7d4ccc996801efdffc58c.tar.gz
mailman2-0d4f2ad7808f1c3a26a7d4ccc996801efdffc58c.tar.xz
mailman2-0d4f2ad7808f1c3a26a7d4ccc996801efdffc58c.zip
[ 790494 ] built-in automatic discard
Diffstat (limited to 'Mailman/Gui')
-rw-r--r--Mailman/Gui/General.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mailman/Gui/General.py b/Mailman/Gui/General.py
index 7cf1ee06..4b587e05 100644
--- a/Mailman/Gui/General.py
+++ b/Mailman/Gui/General.py
@@ -409,6 +409,13 @@ class General(GUIBase):
headers.)"""))
)
+ # Discard held messages after this number of days
+ rtn.append(
+ ('max_days_to_hold', mm_cfg.Number, 7, 0,
+ _("""Discard held messages older than this number of days.
+ Use 0 for no automatic discarding."""))
+ )
+
return rtn
def _setValue(self, mlist, property, val, doc):