![](https://secure.gravatar.com/avatar/c770a79aeb120124146aace2863c2eb6.jpg?s=120&d=mm&r=g)
Does anybody have a nice little tool to transfer a listproc based mailing list to mailman?
If not, I'll start with a program to transfer the user list or check, if add_members could be hacked to do that ;)
+gg
-- Gerhard.Gonter@wu-wien.ac.at Fax: +43/1/31336/702 g.gonter@ieee.org Zentrum fuer Informatikdienste, Wirtschaftsuniversitaet Wien, Austria
![](https://secure.gravatar.com/avatar/2c8c190d22516d815d1fce72874ee51c.jpg?s=120&d=mm&r=g)
At 04:58 PM 4/16/99 +0200, Gerhard Gonter wrote:
I did it all by hand on my system... here are the commands I used to transfer users, as closely as I can remember...
su su -l server cat lists/LIST1/.subscribers | grep "ACK" | cut -f1 -d" " | tr "[A-Z]" "[a-z]" > /tmp/list1.regular cat lists/LIST1/.subscribers | grep "DIGEST" | cut -f1 -d" " | tr "[A-Z]" "[a-z]" > /tmp/list1.digest exit su -l mailman add_members -n /tmp/list1.regular list1 add_members -d /tmp/list1.digest list1
Also, I had problems subbing more than 20 people at a time; all would get subbed, but only 20 or so would get welcome messages (containing their new random password). If you think you might have this problem too, use something like this instead..
su -l mailman split -15 /tmp/list1.regular /tmp/list1.regular.x split -15 /tmp/list1.digest /tmp/list1.digest.x foreach j (/tmp/list1.regular.x*) add_members -n $j sleep 40 end foreach j (/tmp/list1.digest.x*) add_members -d $j sleep 40 end
![](https://secure.gravatar.com/avatar/c770a79aeb120124146aace2863c2eb6.jpg?s=120&d=mm&r=g)
According to Greg Connor:
I did it all by hand on my system... here are the commands I used to transfer users, as closely as I can remember...
Thanks a lot, in the meantime I moved the subscribers of the first few lists (100 more to go :) using a modified add_members:
./add_members --lp6 lists/LIST1/.subscribers list1
Only one file, add_members, had to be modified. This maps
ACK, NOACK -> normal subscriptions DIGEST -> digest subscriptions
and keeps the original password. Addresses are converted to lower case.
I will offer this version to the developers, maybe it will show up in the next version.
Right now, POSTPONE'd entries are dropped and the CONCEAL flag is ignored, keeping this information requires modifications in other parts of Mailman. I'm not sure if I'll try that, maybe not...
Hmm... Thanks for the hint. The sendmail logs tell me that everyone in a list with 167 members should have received their welcome messages by now, so this might be a bug in other versions. The bug archive didn't mention anything about that. (I'm using 1.0b8, the original add_members was pulled out of CVS yesterday.)
+gg
-- Gerhard.Gonter@wu-wien.ac.at Fax: +43/1/31336/702 g.gonter@ieee.org Zentrum fuer Informatikdienste, Wirtschaftsuniversitaet Wien, Austria
![](https://secure.gravatar.com/avatar/ab1c33fc0fd591a0ea174155233a6a51.jpg?s=120&d=mm&r=g)
"GC" == Greg Connor <gconnor@nekodojo.org> writes:
GC> Also, I had problems subbing more than 20 people at a time;
GC> all would get subbed, but only 20 or so would get welcome
GC> messages (containing their new random password). If you think
GC> you might have this problem too, use something like this
GC> instead..
A while back I did a bad thing. I tried to subscribe ~200k addresses to a mailing list. I ran add_members for about 24 hours and ended up only subscribing ~39k members, so there's no question mass subscribing a huge list is SLOOOOWW.
The reason this was a bad thing was because I was randomly generating the (bogus) addresses. I know the welcome message was being sent out for them all 'cause our postmaster saw every single one of those bounces ;-} It was an accident, I swear! I meant to turn off sending the welcome message...
Yeah, we're still on speaking terms, but I had to help him upgrade from Mailman v 1.0b2 :-)
-Barry
![](https://secure.gravatar.com/avatar/2c8c190d22516d815d1fce72874ee51c.jpg?s=120&d=mm&r=g)
At 04:58 PM 4/16/99 +0200, Gerhard Gonter wrote:
I did it all by hand on my system... here are the commands I used to transfer users, as closely as I can remember...
su su -l server cat lists/LIST1/.subscribers | grep "ACK" | cut -f1 -d" " | tr "[A-Z]" "[a-z]" > /tmp/list1.regular cat lists/LIST1/.subscribers | grep "DIGEST" | cut -f1 -d" " | tr "[A-Z]" "[a-z]" > /tmp/list1.digest exit su -l mailman add_members -n /tmp/list1.regular list1 add_members -d /tmp/list1.digest list1
Also, I had problems subbing more than 20 people at a time; all would get subbed, but only 20 or so would get welcome messages (containing their new random password). If you think you might have this problem too, use something like this instead..
su -l mailman split -15 /tmp/list1.regular /tmp/list1.regular.x split -15 /tmp/list1.digest /tmp/list1.digest.x foreach j (/tmp/list1.regular.x*) add_members -n $j sleep 40 end foreach j (/tmp/list1.digest.x*) add_members -d $j sleep 40 end
![](https://secure.gravatar.com/avatar/c770a79aeb120124146aace2863c2eb6.jpg?s=120&d=mm&r=g)
According to Greg Connor:
I did it all by hand on my system... here are the commands I used to transfer users, as closely as I can remember...
Thanks a lot, in the meantime I moved the subscribers of the first few lists (100 more to go :) using a modified add_members:
./add_members --lp6 lists/LIST1/.subscribers list1
Only one file, add_members, had to be modified. This maps
ACK, NOACK -> normal subscriptions DIGEST -> digest subscriptions
and keeps the original password. Addresses are converted to lower case.
I will offer this version to the developers, maybe it will show up in the next version.
Right now, POSTPONE'd entries are dropped and the CONCEAL flag is ignored, keeping this information requires modifications in other parts of Mailman. I'm not sure if I'll try that, maybe not...
Hmm... Thanks for the hint. The sendmail logs tell me that everyone in a list with 167 members should have received their welcome messages by now, so this might be a bug in other versions. The bug archive didn't mention anything about that. (I'm using 1.0b8, the original add_members was pulled out of CVS yesterday.)
+gg
-- Gerhard.Gonter@wu-wien.ac.at Fax: +43/1/31336/702 g.gonter@ieee.org Zentrum fuer Informatikdienste, Wirtschaftsuniversitaet Wien, Austria
![](https://secure.gravatar.com/avatar/ab1c33fc0fd591a0ea174155233a6a51.jpg?s=120&d=mm&r=g)
"GC" == Greg Connor <gconnor@nekodojo.org> writes:
GC> Also, I had problems subbing more than 20 people at a time;
GC> all would get subbed, but only 20 or so would get welcome
GC> messages (containing their new random password). If you think
GC> you might have this problem too, use something like this
GC> instead..
A while back I did a bad thing. I tried to subscribe ~200k addresses to a mailing list. I ran add_members for about 24 hours and ended up only subscribing ~39k members, so there's no question mass subscribing a huge list is SLOOOOWW.
The reason this was a bad thing was because I was randomly generating the (bogus) addresses. I know the welcome message was being sent out for them all 'cause our postmaster saw every single one of those bounces ;-} It was an accident, I swear! I meant to turn off sending the welcome message...
Yeah, we're still on speaking terms, but I had to help him upgrade from Mailman v 1.0b2 :-)
-Barry
participants (3)
-
Barry A. Warsaw
-
Gerhard Gonter
-
Greg Connor