[Mailman-Users] Re: How to wrap text in archived messages

2022-05-29 Thread David Andrews

At 11:12 PM 5/25/2022, Mark Sapiro wrote:

On 5/25/22 19:32, Mark Dale via Mailman-Users wrote:
That got me Googling for How-to's on integrating MHonArc with 
Mailman. There's a fair bit of conversation around this from days 
long ago, and a patch for using MHonArc written by Mark S. back in 2014.



I didn't write that patch. It's from Richard Barrett who also 
created a patch for HtDig integration for archive searches. There 
are three branches at 
https://code.launchpad.net/~msapiro/mailman/mhonarc, 
https://code.launchpad.net/~msapiro/mailman/htdig and 
https://code.launchpad.net/~msapiro/mailman/htdig_mhonarc which are 
up to date with 
https://code.launchpad.net/~mailman-coders/mailman/2.1 with the 
mhonarc, htdig and both patches applied respectively. I never used 
the mhonarc or htdig_mhonarc branches, but I did use the htdig 
branch for a production Mailman 2.1 installation.



For what it is worth, a number of years ago I installed the HtTDIG 
patch, and it worked. I must say, also, that I have a cPanel 
installation. Search worked, and users liked it, but I had another 
problem with cPanel, don't even remember what. The cPanel folks said 
they would not give me technical support as long as I used HTDIG, so 
now I have no search, a problem with a system with over 300 lists.


Dave


--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: detecting pending subscriptions across many lists?

2022-05-29 Thread Mark Sapiro

On 5/29/22 15:45, Karl Berry wrote:

On lists.gnu.org, we have some 3300 mailman lists. Is there any way to
know, or even probabilistically guess, which have pending subscriptions,
short of running list_requests on every one?



By list_requests, do you mean 
https://www.msapiro.net/scripts/list_requests? If so, just running it 
with no arguments will process all lists.




For pending messages, we can look for the presence of heldmsg-* files in
the mailman data dir (/var/lib/mailman/data for us), but I've been
unable to discern the existence of pending subscriptions anywhere except
in config.pck.



They are not in config.pck. They are in pending.pck. See 
Mailman/Pending.py for more info.



--
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] detecting pending subscriptions across many lists?

2022-05-29 Thread Karl Berry
On lists.gnu.org, we have some 3300 mailman lists. Is there any way to
know, or even probabilistically guess, which have pending subscriptions,
short of running list_requests on every one? 

For pending messages, we can look for the presence of heldmsg-* files in
the mailman data dir (/var/lib/mailman/data for us), but I've been
unable to discern the existence of pending subscriptions anywhere except
in config.pck.

I also couldn't discern a way to grep in config.pck (which would be much
faster than list_requests). Is there some sequence that will only appear
with pending subscriptions? Looking at one list with a pending
subscription now, I see the byte string e64d 4b07 4b05 741d 014b 5574 4110
occuring before the address that wants to subscribe, but not sure if
that, or any part of it, would be a reliable thing to look for.

We appear to be running mailman 2.1.29. Not sure if it is the distro
version (Trisquel GNU/Linux 9.0.2) or installed from the original
source, but guessing that probably doesn't matter for this.

Any info greatly appreciated. --thanks, karl.
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/