012-mailing-lists.txt (1113B) [raw]
1 # 012-mailing-lists 2 3 _Weds April 27, 2022_ 4 5 I surprised myself today while revisiting this site 6 to find that I had set up mailing lists months ago. 7 Or something that resembles them. 8 9 We don't have any users other than myself and ~anthony, 10 so they've gone unused, but my vision for the tilde 11 is one that uses email for collaboration (outside of 12 IRC). 13 14 I don't have any experience setting up majordomo or 15 anything like that, but since all accounts are local I 16 was able to create a "mailing list" by just updating 17 /etc/mail/aliases with the lists: 18 19 announce: alex, anthony 20 21 And rerunning `newaliases(8)`. Hacky but it works! 22 I wonder if they have a limit... 23 24 In addition, I had set up primitive HTML archives using 25 `hypermail(1)`. A dedicated user account to manage the 26 archives simply runs the following every 5m via `cron(8)`: 27 28 29 #!/bin/sh 30 # archiveit -- regular archives 31 for l in announce bugs dev misc; do 32 hypermail -d /var/www/htdocs/lists/$l -g -m /var/lists/$l 33 done 34 35 36 Pop it behind the VPN and serve it up with `httpd(8)` and 37 we have a mailing list archive so new members can see 38 the old conversations!