{"id":205,"date":"2011-04-17T00:33:47","date_gmt":"2011-04-17T07:33:47","guid":{"rendered":"http:\/\/www.dreness.com\/blog\/?p=205"},"modified":"2019-12-07T17:10:19","modified_gmt":"2019-12-08T00:10:19","slug":"mailman-members-only","status":"publish","type":"post","link":"https:\/\/dreness.com\/blog\/archives\/205","title":{"rendered":"Mailman members only"},"content":{"rendered":"<p>Recently I had occasion to cook up some glue for a <a href=\"http:\/\/www.gnu.org\/software\/mailman\/index.html\">Mailman<\/a> deployment that wanted a privacy and membership management policy that would not be facilitated by the Mailman mailing list software in its current form. We wanted to host a private list (disabling web subscriptions), and we wanted to allow any member to invite new members.<\/p>\n<p>The solution comes in a few pieces:<\/p>\n<ul>\n<li>a python script to synchronize the Mailman username \/ password credentials to an AuthUserFile that can be used by Apache to authorize access to a cgi that wraps the mailman add_member cli tool.\u00a0Find the source here: <a href=\"https:\/\/dreness.com\/bits\/tech\/mailman_cred_export.py.txt\">mailman_cred_export.py<\/a>. Put this in root&#8217;s crontab at some reasonable interval.<\/li>\n<li>the aforementioned script that wraps the add_member tool. Find the source here: <a href=\"https:\/\/dreness.com\/bits\/tech\/addmember.py.txt\">addmember.py<\/a>.<\/li>\n<li><a href=\"http:\/\/www.trubble.com\/about\/\">this guy&#8217;s<\/a> <a href=\"http:\/\/www.linkedin.com\/in\/renbucholzmiscellaneous\/new_add_members.txt\">modified add_members cli tool<\/a>. The add_members tool supplied by Mailman bypasses confirmation, but we want invitees to respond to a confirmation message before being added. This script makes that happen.<\/li>\n<li>Disable web subscriptions by deleting stuff from \/etc\/mailman\/en\/listinfo.html<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Recently I had occasion to cook up some glue for a Mailman deployment that wanted a privacy and membership management policy that would not be facilitated by the Mailman mailing list software in its current form. We wanted to host &hellip; <a href=\"https:\/\/dreness.com\/blog\/archives\/205\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-205","post","type-post","status-publish","format-standard","hentry","category-development","category-scripts"],"_links":{"self":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/comments?post=205"}],"version-history":[{"count":7,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/205\/revisions"}],"predecessor-version":[{"id":1618,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/posts\/205\/revisions\/1618"}],"wp:attachment":[{"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/media?parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/categories?post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dreness.com\/blog\/wp-json\/wp\/v2\/tags?post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}