Mark, I have discovered another issue with sync_members when run from a command line. I have added this to my cpanel ticket but was wondering if the normal version of Mailman 2 also has this issue.
The original fix did fix that issue: that the sync_members process would not work at all when executed via the command line But when I started using sync_members I discovered that there is a second issue: 1) if the mailing list has entries that have added text in them - e.g. This Name <[email protected]> then the sync_members errored out if it tried to remove that address 2) if the file to be sync'd has entries that have added text in them - e.g. This Name <[email protected]> then sync_members errored out if it tried to add that address As long as the mailing list and the file to be synced only had just the actual email address in them - e.g. [email protected] then sync_members works as it should (once I added the patch that you gave me to run) This is the error I now get when the addresses have that "added text" to them. Traceback (most recent call last): File "/usr/local/cpanel/3rdparty/mailman/bin/sync_members", line 291, in <module> main() File "/usr/local/cpanel/3rdparty/mailman/bin/sync_members", line 282, in main s = email.utils.formataddr((name, addr)).encode(enc, 'replace') File "/usr/lib64/python3.9/email/utils.py", line 135, in formataddr name.encode('ascii') ------------------------------------------------------ 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]/ Member address: [email protected]
