[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-help-public] [sr #105465] Mailing list moderation should send
From: |
Sylvain Beucler |
Subject: |
[Savannah-help-public] [sr #105465] Mailing list moderation should send default rejection notice. |
Date: |
Sat, 22 Jul 2006 15:11:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1) |
Update of sr #105465 (project administration):
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
OK, according to the code, it's used when you _reject_ the mail automatically
- although there's a suggestion to use it when holding the message as well:
./Handlers/Moderate.py:
# If the member's moderation flag is on, then perform the moderation
# action.
if mlist.getMemberOption(sender, mm_cfg.Moderate):
# Note that for member_moderation_action, 0==Hold, 1=Reject,
# 2==Discard
if mlist.member_moderation_action == 0:
# Hold. BAW: WIBNI we could add the
member_moderation_notice
# to the notice sent back to the sender?
msgdata['sender'] = sender
Hold.hold_for_approval(mlist, msg, msgdata,
ModeratedMemberPost)
elif mlist.member_moderation_action == 1:
# Reject
text = mlist.member_moderation_notice
if text:
text = Utils.wrap(text)
else:
# Use the default RejectMessage notice string
text = None
raise Errors.RejectMessage, text
Maybe that's already the case in newer version of Mailman, else you prolly
should bug report this.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?func=detailitem&item_id=105465>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/