Any thoughts as to why the mailman interface "sync_members" works and yet the 
cli does not work when the email addresses have that added text - shouldn't  
they both have the same issue ?

> On Jan 14, 2026, at 1:25 PM, Mark Sapiro <[email protected]> wrote:
> 
> On 1/14/26 10:33 AM, jerry.barnabee--- via Mailman-Users wrote:
>> 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')
> 
> And the exception is?
> 
> This is another cPanel issue. It's another manifestation of Python 3's 
> differentiation between strings and bytes.
> 
> -- 
> 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]/
> Member address: [email protected]

------------------------------------------------------
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]

Reply via email to