News groups with sneakernews
Sneakernews is a sneakernet app for news groups (i.e. message boards) loosely inspired by Usenet. You can use sneakernews to participate in public discussion boards on various topics.
Configuration
Sneakernews is built on top of the sneakermail stack and is configured similarly. First, enable sneakernews in ~/.config/sneaker/config.ini:
[org.sneakernet.news]
cmd=snprocnews
Then update ~/.config/sneaker/mail.ini to define a base maildir for news group posts:
[news]
maildir=~/.local/share/sneaker/news/
You can add your news group subscriptions to the [subscriptions] section of your mail.ini file, like so:
[subscriptions]
meta.sneakernet=
alt.test.*=
local.amsterdam.techinc=~/.local/share/sneaker/news/techinc/
The group name supports wildcards. If you don’t specify a maildir, then sneakernews will automatically create a maildir hierarchy based on the news group hiearchy, so posts to alt.test.sneakernet will be posted in your base news maildir + alt/test/sneakernet/.
If you want to subscribe to all news groups:
[subscriptions]
*=
To read the news, configure your favorite mail client to read from these maildirs. See sneakermail configuration for more details.
Posting to news groups
Posting to news groups is configured similarly to sending emails via sneakermail, with the following changes:
- For sendmail usage, replace the
snsendmailcommand withsnpostnews - For smtpd usage, run
snsmtpdwith the-nflag.snsmtpdwill then process both emails and news group postings on the same port.
To post to a news group, use your email client, thus configured, to send an email to group.name@news.alt.