diff options
| author | bwarsaw | 2001-07-19 06:28:54 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-07-19 06:28:54 +0000 |
| commit | 9bc05f949e59ad9cf18c2498f782a4b2308e4638 (patch) | |
| tree | 10f6aa2589ebdd819fdbdcd2aa1f5c8597e31680 /Mailman/Gui/Bounce.py | |
| parent | 682de59eda6ccc5f2e0268d5be36e93731d77cf1 (diff) | |
| download | mailman-9bc05f949e59ad9cf18c2498f782a4b2308e4638.tar.gz mailman-9bc05f949e59ad9cf18c2498f782a4b2308e4638.tar.zst mailman-9bc05f949e59ad9cf18c2498f782a4b2308e4638.zip | |
Diffstat (limited to 'Mailman/Gui/Bounce.py')
| -rw-r--r-- | Mailman/Gui/Bounce.py | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/Mailman/Gui/Bounce.py b/Mailman/Gui/Bounce.py new file mode 100644 index 000000000..54d56647c --- /dev/null +++ b/Mailman/Gui/Bounce.py @@ -0,0 +1,54 @@ +# Copyright (C) 2001 by the Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +from Mailman import mm_cfg +from Mailman.i18n import _ + + + +class Bounce: + def GetConfigCategory(self): + return 'bounce', _('Bounce detection') + + def GetConfigInfo(self, mlist): + return [ + _('''Policies regarding systematic processing of bounce messages, + to help automate recognition and handling of defunct + addresses.'''), + + ('bounce_processing', mm_cfg.Toggle, (_('No'), _('Yes')), 0, + _('Try to figure out error messages automatically?')), + + ('minimum_removal_date', mm_cfg.Number, 3, 0, + _('''Minimum number of days an address has been non-fatally bad + before we take action''')), + + ('minimum_post_count_before_bounce_action', mm_cfg.Number, 3, 0, + _('''Minimum number of posts to the list since members first + bounce before we consider removing them from the list''')), + + ('max_posts_between_bounces', mm_cfg.Number, 3, 0, + _('''Maximum number of messages your list gets in an hour. (Yes, + bounce detection finds this info useful)''')), + + ('automatic_bounce_action', mm_cfg.Radio, + (_("Do nothing"), + _("Disable and notify me"), + _("Disable and DON'T notify me"), + _("Remove and notify me")), + 0, + _("Action when critical or excessive bounces are detected.")) + ] |
