Re: [Mailman-Users] cascaded lists -- any tips?
martin f krafft wrote:
also sprach Tokio Kikuchi <tkikuchi@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/
also sprach Tokio Kikuchi <tkikuchi@is.kochi-u.ac.jp> [2004.02.19.1402 +0100]:
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.
This is a hack, right? Essentially, I am using the spam whitelist to circumvent all moderation for certain recipients. Albeit rather dirty, this may be my best call for now, since the spam regexps are otherwise not used. It would be great to have two whitelists for sender and receiver for each list, which cause approval without moderation checks. -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver! all information contained in the above is false, for reasons of military security.
Folks,
Never mind this. I was confused. There is no bug.
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/
participants (2)
-
martin f krafft
-
Tokio Kikuchi