[Mailman-Developers] Re: [Mailman-Users] cascaded lists -- any tips?

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Thu Feb 19 08:02:54 EST 2004


martin f krafft wrote:
> also sprach Tokio Kikuchi <tkikuchi at is.kochi-u.ac.jp> [2004.02.19.0036 +0100]:
> 
>>>This works okay until someone posts a message to A, which is to be
>>>moderated. I accept the message for A, and then am asked to do the
>>>same for B and C, then for D, E, F and then for G, H. Thus, I have
>>>to visit the moderation interface 8 times for a single message.
>>
>>You can register A address in acceptable_aliases from
>>admin/(B|C|D|E|F|G|H)/privacy/recipient.
> 
> 
> that's not my problem. i already have the above in place. but now,
> when e.g. a nonmember posts to A and I let it through. i already
> decided in A's interface that the message may pass. however, i have
> to tell all the other lists that it may pass as well. that's mildly
> annoying.

Oops. You have to open the child lists by setting generic_member_action
as 'accept' which may not be acceptable to you. :-<

Or, .... Hmm... You may hack SpamDetect.py's last line as

--- SpamDetect.py.orig  Thu Feb 19 21:40:56 2004
+++ SpamDetect.py       Thu Feb 19 21:43:14 2004
@@ -122,4 +122,4 @@
                 if action == mm_cfg.HOLD:
                     hold_for_approval(mlist, msg, msgdata, HeaderMatchHold)
                 if action == mm_cfg.ACCEPT:
-                    return
+                    msgdata['approved'] = 1

and put the A list address in privacy/spam / accept header
reg-expression.

Hey! developers. 'return' in the last line may be a bug. If you have
an 'accept' rule on top of the sapm filter list, the rest of the rules
may be skipped.

-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/




More information about the Mailman-Developers mailing list