Member postings are held for moderation if their + moderation flag is turned on. You can control whether + member postings are moderated by default or not. + +
Non-member postings can be automatically + accepted, + held for + moderation, + rejected (bounced), or + discarded, + either individually or as a group. Any + posting from a non-member who is not explicitly accepted, + rejected, or discarded, will have their posting filtered by the + general + non-member rules."""), + + _("General sender filters"), + + ('default_member_moderation', mm_cfg.Radio, (_('No'), _('Yes')), + 0, _('By default, should list member postings be moderated?'), + + _("""Each list member has a moderation flag which says + whether messages from the list member can be posted directly to + the list, or must first be approved by the list moderator. When + the moderation flag is turned on, list member postings must be + approved first. You, the list administrator can decide whether a + specific individual's postings will be moderated or not. + +
This option specifies the default state of the member + moderation flag. Turn this option off to accept member postings + by default. Turn this option on to, by default, moderate member + postings first.""")), + + ('accept_these_nonmembers', mm_cfg.EmailList, (10, WIDTH), 1, + _("""List of non-member addresses whose postings should be + automatically accepted."""), + + _("""Postings from any of these non-members will be automatically + accepted with no further moderation applied.""")), + + ('hold_these_nonmembers', mm_cfg.EmailList, (10, WIDTH), 1, + _("""List of non-member addresses whose postings will be + immediately held for moderation."""), + + _("""Postings from any of these non-members will be immediately + and automatically held for moderation by the list moderators. + The sender will receive a notification message which will allow + them to cancel their held message.""")), + + ('reject_these_nonmembers', mm_cfg.EmailList, (10, WIDTH), 1, + _("""List of non-member addresses whose postings will be + automatically rejected."""), + + _("""Postings from any of these non-members will be automatically + rejected. In other words, their messages will be bounced back to + the sender with a notification of automatic rejection. This + option is not appropriate for known spam senders; their messages + should be + automatically discarded.""")), + + ('discard_these_nonmembers', mm_cfg.EmailList, (10, WIDTH), 1, + _("""List of non-member addresses whose postings will be + automatically discarded."""), + + _("""Postings from any of these non-members will be automatically + discarded. That is, the message will be thrown away with no + further processing or notification. The sender will not receive + a notification or a bounce, however the list moderators can + optionally receive copies of auto-discarded messages..""")), + + ('generic_nonmember_action', mm_cfg.Radio, + (_('Accept'), _('Hold'), _('Reject'), _('Discard')), 0, + _("""Action to take for postings from non-members for which no + explicit action is defined."""), + + _("""When a post from a non-member is received, the message's + sender is matched against the list of explicitly + accepted, + held, + rejected (bounced), and + discarded addresses. If no match is found, then this action + is taken.""")), + + ('forward_auto_discards', mm_cfg.Radio, (_('No'), _('Yes')), 0, + _("""Should messages from non-members, which are automatically + discarded, be forwarded to the list moderator?""")), + + ] + + spam_rtn = [ + _("""This section allows you to configure various anti-spam + filters posting filters, which can help reduce the amount of spam + your list members end up receiving. + """), + + _("Anti-Spam filters"), ('require_explicit_destination', mm_cfg.Radio, (_('No'), _('Yes')), 0, @@ -192,13 +281,6 @@ class Privacy: _('''If a posting has this number, or more, of recipients, it is held for admin approval. Use 0 for no ceiling.''')), - ('forbidden_posters', mm_cfg.EmailList, (5, WIDTH), 1, - _('Addresses whose postings are always held for approval.'), - _('''Email addresses whose posts should always be held for - approval, no matter what other options you have set. See also - the subsequent option which applies to arbitrary content of - arbitrary headers.''')), - ('bounce_matching_headers', mm_cfg.Text, (6, WIDTH), 0, _('Hold posts with header value matching a specified regexp.'), _("""Use this option to prohibit posts according to specific @@ -223,3 +305,10 @@ class Privacy: address (Removes From, Sender and Reply-To fields)""")), ] + if subcat == 'sender': + return sender_rtn + elif subcat == 'spam': + return spam_rtn + else: + return subscribing_rtn + -- cgit v1.3.1