On 12/1/22 15:37, Russell Clemings wrote:
The only solution I can think of is to insert hard breaks in cronpass.txt
around the 50-character mark but I'm hoping there's a better way. (I know,
upgrade to Mailman 3. It's slowly working its way up the to-do list.)
This is Mailman 2.1.38 on cPanel.
If you have the ability to patch Mailman's cron/mailpasswds, this will
do it.
```
--- old/cron/mailpasswds 2018-06-17 23:47:34 +0000
+++ new/cron/mailpasswds 2022-12-01 23:51:14 +0000
@@ -203,7 +203,7 @@
'useraddr': addr,
'exreq' : sitereq,
'owner' : siteowner,
- }, lang=poplang)
+ }, lang=poplang, raw=True)
# Coerce everything to Unicode
text = tounicode(text, enc)
table = [tounicode(_t, enc) for _t in table]
```
Otherwise, I think inserting hard returns is it.
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/
https://mail.python.org/archives/list/[email protected]/