DeadmanDAO Mailman Attempt

From Traxel Wiki
Revision as of 19:55, 12 June 2022 by RobertBushman (talk | contribs) (Created page with " === install === <pre> sudo apt install mailman </pre> === init list === <pre> sudo newlist > roundtable </pre> It tells me that I should put the following in aliases: <p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

install

sudo apt install mailman

init list

sudo newlist
> roundtable

It tells me that I should put the following in aliases:

## roundtable mailing list
roundtable:              "|/var/lib/mailman/mail/mailman post roundtable"
roundtable-admin:        "|/var/lib/mailman/mail/mailman admin roundtable"
roundtable-bounces:      "|/var/lib/mailman/mail/mailman bounces roundtable"
roundtable-confirm:      "|/var/lib/mailman/mail/mailman confirm roundtable"
roundtable-join:         "|/var/lib/mailman/mail/mailman join roundtable"
roundtable-leave:        "|/var/lib/mailman/mail/mailman leave roundtable"
roundtable-owner:        "|/var/lib/mailman/mail/mailman owner roundtable"
roundtable-request:      "|/var/lib/mailman/mail/mailman request roundtable"
roundtable-subscribe:    "|/var/lib/mailman/mail/mailman subscribe roundtable"
roundtable-unsubscribe:  "|/var/lib/mailman/mail/mailman unsubscribe roundtable"
Enter the name of the list: test
Enter the email of the person running the list: bob@traxel.com
Initial test password: 
To finish creating your mailing list, you must edit your /etc/aliases (or
equivalent) file by adding the following lines, and possibly running the
`newaliases' program:

## test mailing list
test:              "|/var/lib/mailman/mail/mailman post test"
test-admin:        "|/var/lib/mailman/mail/mailman admin test"
test-bounces:      "|/var/lib/mailman/mail/mailman bounces test"
test-confirm:      "|/var/lib/mailman/mail/mailman confirm test"
test-join:         "|/var/lib/mailman/mail/mailman join test"
test-leave:        "|/var/lib/mailman/mail/mailman leave test"
test-owner:        "|/var/lib/mailman/mail/mailman owner test"
test-request:      "|/var/lib/mailman/mail/mailman request test"
test-subscribe:    "|/var/lib/mailman/mail/mailman subscribe test"
test-unsubscribe:  "|/var/lib/mailman/mail/mailman unsubscribe test"

Version 2 Instructions for Mailman

Install PIP

sudo apt install python3-pip

Lots of dependencies

Side Note: Django Command Reference

Run the dev webserver

cd /path/to/project
sudo python manage.py runserver

Pull all the static files to a single location (for serving via Apache, for example)

python manage.py collectstatic

Install Mailman3 Full Suite

Lots of dependencies here.

sudo apt install mailman3-full

Webserver Install

sudo apt install apache2

Enable UWSGI, Link Mailman

Something Like

sudo apt install libapache2-mod-uwsgi
sudo a2enmod proxy_uwsgi
sudo ln -s /etc/mailman3/apache.conf /etc/apache2/sites-available/100-mailman.conf
sudo a2ensite 100-mailman
sudo service apache2 restart


Add TLS/SSL

https://certbot.eff.org/instructions?ws=apache&os=debianbuster

Add Snapd

sudo apt update
sudo apt install snapd
sudo snap install core
sudo snap refresh core

Snap Install Certbot

sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot

Get a Cert for Apache

sudo certbot --apache -d deadmandao.com -d www.deadmandao.com

Verified to here.

Mailman Core Configuration

https://docs.mailman3.org/en/latest/config-core.html


Short Term Solution

Using interserver.systemicbias.com

Enter the name of the list: crypto
Enter the email of the person running the list: bob@traxel.com
Initial crypto password: 
To finish creating your mailing list, you must edit your /etc/aliases (or
equivalent) file by adding the following lines, and possibly running the
`newaliases' program:

## crypto mailing list
crypto:              "|/var/lib/mailman/mail/mailman post crypto"
crypto-admin:        "|/var/lib/mailman/mail/mailman admin crypto"
crypto-bounces:      "|/var/lib/mailman/mail/mailman bounces crypto"
crypto-confirm:      "|/var/lib/mailman/mail/mailman confirm crypto"
crypto-join:         "|/var/lib/mailman/mail/mailman join crypto"
crypto-leave:        "|/var/lib/mailman/mail/mailman leave crypto"
crypto-owner:        "|/var/lib/mailman/mail/mailman owner crypto"
crypto-request:      "|/var/lib/mailman/mail/mailman request crypto"
crypto-subscribe:    "|/var/lib/mailman/mail/mailman subscribe crypto"
crypto-unsubscribe:  "|/var/lib/mailman/mail/mailman unsubscribe crypto"