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

martin f krafft madduck at madduck.net
Thu Feb 19 08:18:49 EST 2004


also sprach Tokio Kikuchi <tkikuchi at 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 at madduck
 
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
 
all information contained in the above is false,
for reasons of military security.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.python.org/pipermail/mailman-developers/attachments/20040219/2f5c7784/attachment.bin


More information about the Mailman-Developers mailing list