From 0795e34d56a8f627348730843210cdba4071b26b Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 25 May 2011 21:30:56 -0400 Subject: * bounce_unrecognized_goes_to_list_owner -> forward_unrecognized_bounces_to * Add an additional option for unrecognized bounce disposition: send it to the site administrators. * Move maybe_forward() from src/mailman/queue/bounce.py to src/mailman/app/bounces.py, refactor and add tests. * Add a LogFileMark class to help with tests that want to check the output to a log file. * OwnerNotification gets a better signature. Instead of tomoderators, the last argument is a roster to send the notification to. If roster is None, then the notification goes to the site administrators. --- src/mailman/model/mailinglist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mailman/model/mailinglist.py') diff --git a/src/mailman/model/mailinglist.py b/src/mailman/model/mailinglist.py index 6952abcf0..e0841f6d8 100644 --- a/src/mailman/model/mailinglist.py +++ b/src/mailman/model/mailinglist.py @@ -120,9 +120,10 @@ class MailingList(Model): bounce_notify_owner_on_removal = Bool() # XXX bounce_processing = Bool() # XXX bounce_score_threshold = Int() # XXX - bounce_unrecognized_goes_to_list_owner = Bool() # XXX bounce_you_are_disabled_warnings = Int() # XXX bounce_you_are_disabled_warnings_interval = TimeDelta() # XXX + forward_unrecognized_bounces_to = Enum() + # Miscellaneous default_member_action = Enum() default_nonmember_action = Enum() description = Unicode() -- cgit v1.2.3-70-g09d2