Using WGET to export Mailman emails and names

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' | egrep "_realname" | sed 's/^.*value="\([^"]*\)".*value="\([^"]*\)".*$/\1,\2/' | sed 's/%40/@/' > maillist.csv

One comment on “Using WGET to export Mailman emails and names”

  1. 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)

Leave a Reply

Your email address will not be published. Required fields are marked *