diff -ruP --exclude=.DS_Store mailman-2.1.7/Mailman/Defaults.py.in mailman-2.1.7-modinc/Mailman/Defaults.py.in --- mailman-2.1.7/Mailman/Defaults.py.in 2005-12-30 18:50:07.000000000 +0000 +++ mailman-2.1.7-modinc/Mailman/Defaults.py.in 2006-03-01 22:18:04.000000000 +0000 @@ -1006,7 +1006,9 @@ # Check for administrivia in messages sent to the main list? DEFAULT_ADMINISTRIVIA = Yes - +# Should the body of a message requiring moderation be included in the +# request to the moderator(s) +DEFAULT_MODERATE_INC_BODY = Yes ##### # Digestification defaults. Same caveat applies here as with list defaults. diff -ruP --exclude=.DS_Store mailman-2.1.7/Mailman/Gui/General.py mailman-2.1.7-modinc/Mailman/Gui/General.py --- mailman-2.1.7/Mailman/Gui/General.py 2005-10-23 09:10:22.000000000 +0100 +++ mailman-2.1.7-modinc/Mailman/Gui/General.py 2006-03-01 22:18:04.000000000 +0000 @@ -154,6 +154,10 @@ _("""Hide the sender of a message, replacing it with the list address (Removes From, Sender and Reply-To fields)""")), + ('moderate_inc_body', mm_cfg.Radio, (_('No'), _('Yes')), 0, + _("""Should the body of a message requiring moderation be + included in the request to the moderator(s))""")), + _('''Reply-To: header munging'''), ('first_strip_reply_to', mm_cfg.Radio, (_('No'), _('Yes')), 0, diff -ruP --exclude=.DS_Store mailman-2.1.7/Mailman/Handlers/Hold.py mailman-2.1.7-modinc/Mailman/Handlers/Hold.py --- mailman-2.1.7/Mailman/Handlers/Hold.py 2005-09-19 04:08:57.000000000 +0100 +++ mailman-2.1.7-modinc/Mailman/Handlers/Hold.py 2006-03-01 22:18:04.000000000 +0000 @@ -278,7 +278,8 @@ dmsg['Sender'] = requestaddr dmsg['From'] = requestaddr nmsg.attach(text) - nmsg.attach(MIMEMessage(msg)) + if mlist.moderate_inc_body: + nmsg.attach(MIMEMessage(msg)) nmsg.attach(MIMEMessage(dmsg)) nmsg.send(mlist, **{'tomoderators': 1}) finally: diff -ruP --exclude=.DS_Store mailman-2.1.7/Mailman/MailList.py mailman-2.1.7-modinc/Mailman/MailList.py --- mailman-2.1.7/Mailman/MailList.py 2005-12-30 18:50:07.000000000 +0000 +++ mailman-2.1.7-modinc/Mailman/MailList.py 2006-03-01 22:18:04.000000000 +0000 @@ -354,6 +354,7 @@ self.obscure_addresses = mm_cfg.DEFAULT_OBSCURE_ADDRESSES self.admin_member_chunksize = mm_cfg.DEFAULT_ADMIN_MEMBER_CHUNKSIZE self.administrivia = mm_cfg.DEFAULT_ADMINISTRIVIA + self.moderate_inc_body = mm_cfg.DEFAULT_MODERATE_INC_BODY self.preferred_language = mm_cfg.DEFAULT_SERVER_LANGUAGE self.available_languages = [] self.include_rfc2369_headers = 1 diff -ruP --exclude=.DS_Store mailman-2.1.7/Mailman/Version.py mailman-2.1.7-modinc/Mailman/Version.py --- mailman-2.1.7/Mailman/Version.py 2005-12-31 11:43:56.000000000 +0000 +++ mailman-2.1.7-modinc/Mailman/Version.py 2006-03-01 22:47:38.000000000 +0000 @@ -36,7 +36,9 @@ (REL_LEVEL << 4) | (REL_SERIAL << 0)) # config.pck schema version number -DATA_FILE_VERSION = 96 +# DATA_FILE_VERSION = 96 +# 96.1 to take account of extra moderate_inc_body list attribute +DATA_FILE_VERSION = 96.1 # qfile/*.db schema version number QFILE_SCHEMA_VERSION = 3