![](https://secure.gravatar.com/avatar/e57dee36c463f645d50ef19a99931abb.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi
I have several mailing lists on a Mailman server which are synchronized with a database via a cronjob.
Now my question: is it possible to not only synchronize the e-mail adresses but also the names?
BR Marco -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/
iQIcBAEBAgAGBQJVE9tLAAoJEC1y3OsA+e10PJIQAJaFxuLSFHjy7NJObs9B4U5i v/Yv2OdqR/RRN+5yRq9sUfOu8PUyXuXpdS7g67OgUID9PAueAEasnVQOHSjAgxD2 +ChRTp3wh8Aomfzr4UTqiflEcmW6BGE+I1xFxNd6KzdR24ampf2Vz7ogzkzM2HGB IK0tvTk9t9/IUKqedzf4lzsMFs4rTEIyuCUMje9IRwwIZVn/dCpjIfd+cbk0W6b1 tl1Mdd83vajzanf3ncLUG2/Sk8Cjm4kdHVYFQbT92jcR4wV+esjHBNClCDO41rJO JXb9/2bKd4C9XcRVP3Vz18mm3ogyn+C126TQLi1y+GauitqZqa+Yypjr76+C415D e4O2AVDbyRAkBSz/pSw07T4Og4pGjxUmGIM3WJZPDY01b9wSg8y5J7LaLbTZHS7F MbaPiZ6tQNQEmP6zxp40GRp//ZuWI6TBVhNAYnj3MuKROz0+pNjGprV83maYOCtp 9LX52d5Bkyc7WuAW8lFJ9OnxUWsTD0YcmNM3JXaEe5KAdJL1TI1rV7iMmQQy411a iXVWez1Q2OgQ7cnbw67kMOlkbtI9X5BRygDXO3TnvbiYV/tn//Rrzf9gKVUvc9Qt HK4vpINMF+0eBlg2lQGEh/b/C05UH5zVhK4t3fXNLSJ+8thxsLJz10S91ehuxgTH Plblbk7bIHBvT7OPxuXu =lpm4 -----END PGP SIGNATURE-----
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 03/26/2015 03:11 AM, Marco Stoecker wrote:
Just provide the name along with the email address in the list you're syncing with. E.g.,
John Doe <j.doe@example.com>
See <http://wiki.list.org/x/4030562> for other acceptable formats. Note that this will add new members along with their real names, but real names for existing members will not be changed even if the existing real name is empty.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/e57dee36c463f645d50ef19a99931abb.jpg?s=120&d=mm&r=g)
On 03/26/2015 03:27 PM, Mark Sapiro wrote:
Just provide the name along with the email address in the list you're syncing with. E.g.,
John Doe <j.doe@example.com>
Hi Mark, Thx for the answer. I just found the time to give it a try, but it seems that sync_members does only understand standard ascii. As I'm from Germany and the names, provided to the list members e-mail addresses, containing German "Umlaute" like ö or ü, the script seems to fail. Is there a solution for that?
BR Marco
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 04/16/2015 03:15 PM, Marco Stoecker wrote:
How does it fail? Does it throw an exception? If so, please provide a traceback. If not, what does it do?
What is the list's preferred_language?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/e57dee36c463f645d50ef19a99931abb.jpg?s=120&d=mm&r=g)
On 04/17/2015 04:57 PM, Mark Sapiro wrote:
Hi Mark
late answer, my laptop crashed.
the default language for this list is German: preferred_language = 'de'
indeed it throws an exception:
user@machine:~# ./mailinglist_sync.sh Traceback (most recent call last): File "/usr/sbin/sync_members", line 288, in <module> main() File "/usr/sbin/sync_members", line 259, in main s = email.Utils.formataddr((name, addr)).encode(enc, 'replace') UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 8: ordinal not in range(128)
any glue?
BR Marco
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 04/21/2015 06:59 AM, Marco Stoecker wrote:
This looks like <https://bugs.launchpad.net/mailman/+bug/1243343> which was initially addressed in Mailman 2.1.17 and further fixed in 2.1.18. Your's appears to be a pre 2.1.17 version. A patch is attached.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 03/26/2015 03:11 AM, Marco Stoecker wrote:
Just provide the name along with the email address in the list you're syncing with. E.g.,
John Doe <j.doe@example.com>
See <http://wiki.list.org/x/4030562> for other acceptable formats. Note that this will add new members along with their real names, but real names for existing members will not be changed even if the existing real name is empty.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/e57dee36c463f645d50ef19a99931abb.jpg?s=120&d=mm&r=g)
On 03/26/2015 03:27 PM, Mark Sapiro wrote:
Just provide the name along with the email address in the list you're syncing with. E.g.,
John Doe <j.doe@example.com>
Hi Mark, Thx for the answer. I just found the time to give it a try, but it seems that sync_members does only understand standard ascii. As I'm from Germany and the names, provided to the list members e-mail addresses, containing German "Umlaute" like ö or ü, the script seems to fail. Is there a solution for that?
BR Marco
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 04/16/2015 03:15 PM, Marco Stoecker wrote:
How does it fail? Does it throw an exception? If so, please provide a traceback. If not, what does it do?
What is the list's preferred_language?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/e57dee36c463f645d50ef19a99931abb.jpg?s=120&d=mm&r=g)
On 04/17/2015 04:57 PM, Mark Sapiro wrote:
Hi Mark
late answer, my laptop crashed.
the default language for this list is German: preferred_language = 'de'
indeed it throws an exception:
user@machine:~# ./mailinglist_sync.sh Traceback (most recent call last): File "/usr/sbin/sync_members", line 288, in <module> main() File "/usr/sbin/sync_members", line 259, in main s = email.Utils.formataddr((name, addr)).encode(enc, 'replace') UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 8: ordinal not in range(128)
any glue?
BR Marco
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 04/21/2015 06:59 AM, Marco Stoecker wrote:
This looks like <https://bugs.launchpad.net/mailman/+bug/1243343> which was initially addressed in Mailman 2.1.17 and further fixed in 2.1.18. Your's appears to be a pre 2.1.17 version. A patch is attached.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Marco Stoecker
-
Mark Sapiro