aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authortkikuchi <>2005-01-22 06:55:29 +0000
committertkikuchi <>2005-01-22 06:55:29 +0000
commit86cf0b3c4c231d9cd7ec56b1e8274cccaf45c418 (patch)
treec585d18205c0a2192ab7e9c7327ed5f2c48fc809 /Mailman/Defaults.py.in
parent4ce659dbfb43724e8b794df0878639fdd6e1a2d9 (diff)
downloadmailman2-86cf0b3c4c231d9cd7ec56b1e8274cccaf45c418.tar.gz
mailman2-86cf0b3c4c231d9cd7ec56b1e8274cccaf45c418.tar.xz
mailman2-86cf0b3c4c231d9cd7ec56b1e8274cccaf45c418.zip
Introduce old_style in CookHeaders.py and OLD_STYLE_PREFIXING in Defaults.py.
Now the default behavior of prefixing is "Re: [prefix] subject". Variations like "Re[2]:" and German style "AW:" is now replaced by "Re:".
Diffstat (limited to '')
-rw-r--r--Mailman/Defaults.py.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index ca1fcd65..f4493dca 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -820,6 +820,7 @@ DEFAULT_MAX_MESSAGE_SIZE = 40 # KB
# These format strings will be expanded w.r.t. the dictionary for the
# mailing list instance.
DEFAULT_SUBJECT_PREFIX = "[%(real_name)s] "
+# DEFAULT_SUBJECT_PREFIX = "[%(real_name)s %%d]" # for numbering
DEFAULT_MSG_HEADER = ""
DEFAULT_MSG_FOOTER = """_______________________________________________
%(real_name)s mailing list
@@ -827,6 +828,15 @@ DEFAULT_MSG_FOOTER = """_______________________________________________
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
"""
+# Where to put subject prefix for 'Re:' messages:
+# old style: Re: [prefix] test
+# new style: [prefix 123] Re: test ... (number is optional)
+# Old style is default for backward compatibility. New style is forced if
+# a list owner set %d (numbering) in prefix. If the site owner had applied
+# new style patch (from SF patch area) before, he/she may want to set this
+# No in mm_cfg.py.
+OLD_STYLE_PREFIXING = Yes
+
# Scrub regular delivery
DEFAULT_SCRUB_NONDIGEST = False