garbash-www

archive of ~alex garbash.com page
git clone git://git.alexkarle.com.com/garbash-www
Log | Files | Refs | README | LICENSE

012-mailing-lists.md (1145B) [raw]


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