mailing lists - the unix way
nanolist is a lightweight mailing list manager written in Go. It's easy to deploy, and easy to manage. It was written as an antithesis of the experience of setting up other mailing list software.
nanolist is controlled by emailing nanolist with a command in the subject.
The following commands are available:
help - Reply with a list of valid commandslists - Reply with a list of available mailing listssubscribe list-id - Subscribe to receive mail sent to the given listunsubscribe list-id - Unsubscribe from receiving mail sent to the given listNo. If you'd like an online browsable archive of emails, I recommend looking into tools such as hypermail, which generate HTML archives from a list of emails.
If you'd like to advertise the lists on your website, it's recommended to do
that manually, in whatever way looks best. Subscribe buttons can be achieved
with a mailto: link.
I'm only familiar with postfix, for which there are instructions below. The
gist of it is: have your mail server pipe emails for any mailing list addresses
to nanolist message. nanolist will handle any messages sent to it this way,
and reply using the configured SMTP server.
Some people prefer mailing lists for patch submission and review, some people want to play mailing-list based games such as nomic, and some people are just nostalgic.
First, you'll need to build and install the nanolist binary:
go get github.com/eXeC64/nanolist
Second, you'll need to write a config to either /etc/nanolist.ini
or /usr/local/etc/nanolist.ini as follows:
You can also specify a custom config file location by invoking nanolist
with the -config flag: -config=/path/to/config.ini
…Lastly, you need to hook the desired incoming addresses to nanolist:
In /etc/aliases:
nanolist: "| /path/to/bin/nanolist message"And run newaliases for the change to take effect.
This creates an alias that pipes messages sent to the nanolist alias to the
nanolist command.
The final step is telling your preferred MTA to route mail to this address when needed.
For postfix edit /etc/postfix/aliases and add:
[email protected] nanolist
[email protected] nanolist
[email protected] nanolist
[email protected] nanolistand restart postfix.
Congratulations, you've now set up 3 mailing lists of your own!
nanolist is made available under the BSD-3-Clause license.
No open issues yet, or sync has not completed.