Mass Subscription - setting digest as default
I see how that can be done via the command line (using separate files for digest and non-digest subscribers). However, it does not appear via the web panels - and I'd rather do it that way. I set digest as a default, did a "mass subscribe" with two people, but the digest flag wasn't set. Am I missing something?
--Warren
I'm confirming this on my installation too. Using mailman 2.1.
Set digest_is_default to digest then went to the mass-subscribe and none of the members were subscribed as digest members.
- Warren Hoffman (warren@whoffman.com) wrote:
I see how that can be done via the command line (using separate files for digest and non-digest subscribers). However, it does not appear via the web panels - and I'd rather do it that way. I set digest as a default, did a "mass subscribe" with two people, but the digest flag wasn't set. Am I missing something?
-- Matthew Davis http://dogpound.vnet.net/
I may not be perfect, but parts of me are excellent.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthew Davis wrote:
I'm confirming this on my installation too. Using mailman 2.1.
Set digest_is_default to digest then went to the mass-subscribe and none of the members were subscribed as digest members.
Let me preface this by saying that I am *not* a python hacker nor do I know Mailman all that well... but I was curious. In ~mailman/Mailman/Cgi/admin.py, there's a method, change_options, which appears to handle the mass subscribe. In that method, at line 1237, digest is set to 0. Looking at similar code in ~mailman/Mailman/Cgi/subscribe.py, digest is set to mlist.digest_is_default. That seemed like a reasonable thing to use in change_options so I tried it and it appears to work. I <sarcasm>thoroughly</sarcasm> tested this patch for all of 10 minutes. :-) - --- Mailman/Cgi/admin.py.org Sat Feb 8 00:31:14 2003 +++ Mailman/Cgi/admin.py Sat Feb 8 00:29:52 2003 @@ -1234,7 +1234,7 @@ # Default is to subscribe subscribe_or_invite = safeint('subscribe_or_invite', 0) invitation = cgidata.getvalue('invitation', '') - - digest = 0 + digest = mlist.digest_is_default if not mlist.digestable: digest = 0 if not mlist.nondigestable: I'm actually just curious to see if I'm on the right track here, so you'd be wise to wait for Barry or another knowledgeable Mailman and/or Python hacker to post a proper fix. ;) - -- Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp ============================================================================ I used to think the brain was the most advanced part of the body. Then I realized, look what's telling me that. -- Emo Phillips -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl. iD8DBQE+RJkNuv+09NZUB1oRAhoJAKC5ivyyXxkmlri5+uJ35LfWjTxnswCfdbBv jv3iRmyuwcKm1RvGgpS3Ir0= =AExL -----END PGP SIGNATURE-----
"T" == Todd <Freedom_Lover@pobox.com> writes:
T> Let me preface this by saying that I am *not* a python hacker
T> nor do I know Mailman all that well... but I was curious.
Don't underestimate yourself! Your patch was perfect; now applied to cvs.
Thanks, -Barry
P.S. Give me a full name for the ACKKNOWLEDGEMENTS file. :)
participants (4)
-
barry@python.org -
Matthew Davis -
Todd -
Warren Hoffman