After much frustration, I finally figured out how to get the emails + names from a Mailman account using WGET. Here’s the script with the changes I had to make to get it to work:
wget -O - --post-data 'adminpw=yourpassword' http://lists.yourdomain.com/mailman/admin/yourlist/members?showall=1 | egrep "_realname" | sed 's/^.*value="\([^"]*\)".*value="\([^"]*\)".*$/\1,\2/' | sed 's/%40/@/' > maillist.csv
One comment on “Using WGET to export Mailman emails and names”
Thank you so incredibly much! I can breathe again!
I had no luck with the ‘showall=1’ query though. But I iteratede through the alphabet and concatenated the files to one.
(adding fluteplayer to my rss-reader)