Anonymous mailman lists
Posted by ark, ,
I have a need for an anonymous mailman list and here is how I set it up.
  1. create the list (for me I had to run /usr/lib/mailman/bin/newlist the web ui didn't work for me). In this example I'm going to use the name "privatelist".
  2. In the web ui, on the general options page, under "Hide the sender of a message, replacing it with the list address (Removes From, Sender and Reply-To fields)" select Yes
  3. In the web ui under "Archiving Options" just say NO to "Archive Messages?
  4. In the web ui under "Digest options" select NO to "Can list members choose to receive list traffic bunched in digests?"
  5. modify /usr/lib/mailman/Mailman/Handlers/ to add the following underneath if mlist.anonymous_list:

    del msg['received-spf']
    del msg['authentication-results']
    del msg['domainkey-signature']
    del msg['dkim-signature']
  6. rm[oc]
  7. python -O -c 'import py_compile; py_compile.compile("")'
  8. python -c 'import py_compile; py_compile.compile("")'
  9. cd /var/lib/mailman/lists/privatelist; rm digest.mbox; ln -s /dev/null digest.mbox
  10. remove /var/lib/mailman/archices/*/privatelist
  11. replace /var/lib/mailman/archives/private/privatelist.mbox/privatelist.mbox with a link to /dev/null
  12. restart mailman
That's what I did, post to your list with a different email address as a member and then view the message in your recipient's account. Make sure to view all headers and see if there is anything in there that might indicate the original sender. There may be something I missed, if so let me know!