BlowfishCMS
A small content management system for OpenBSD
version 0.45.6 · ISC · 2026-12-03 · releases
74 lines · 4.0 KB · view it drawn · download this file
# Newsletter
A newsletter for your site: a **sign-up** block (visitors confirm from their
inbox), your **subscriber list** kept on your own server, and **issues** you
write and send from the admin through your site's Postmark connection. Every
issue has an unsubscribe link, and mail apps get a one-click unsubscribe.
| | |
|---|---|
| Version | 1.1.1 |
| Needs | BlowfishCMS 0.40.3 or newer; Postmark set up on the Mail screen, with a Broadcast message stream |
| Connects to | nothing itself (mail goes through the site's Postmark connection) |
| Runs as | its own service, `blowfish_xnewsletter` (account `_bfxnewsletter`) |
| Keeps | subscribers and issues in its own private folder |
## Switching it on
Install it on **Site → Add-ons**. The server sets up its service within a
minute or two; a **Newsletter** tab then appears. Switching it on also makes
a **Newsletter** page at `/newsletter/` with a sign-up form. It starts off:
turn it on in **Pages**. A **Newsletter sign-up** block can go on any other
page too.
## Setting it up
1. **In Postmark**, newsletters must go on a *broadcast* stream, not the
transactional one your contact form uses: your server → **Message
streams** → **Create message stream** → *Broadcasts*, with the ID
`broadcast`. (Another ID? Put it under **settings** on the Newsletter tab.)
2. **Settings** on the Newsletter tab:
- **From**: the name issues come from (the site's name if empty).
- **Footer**: optional words at the end of every issue, such as a postal
address (some countries' laws ask for one).
## Day to day
- **Subscribers**: visitors sign up with the block and confirm with the link
emailed to them; until then they're listed as *not confirmed yet* and get
nothing. **remove** takes an address off the list. **add an address** is for
people who asked you directly (tick *They asked to get it*).
**download the list (CSV)** gives the confirmed subscribers.
- **Writing an issue**: a subject and the issue in Markdown, with the toolbar (bold, links, lists, headings…) and its **?** help. **save draft**
keeps it; **send a test to me** emails it to you (your alerts address, or
else where contact messages go). To send it, tick **Yes, send it now** and
press **send to subscribers**. Messages go out over the next few minutes
(about 300 a minute). Sent issues are listed with their date and how many
received them.
- **Unsubscribing**: the link in every issue asks the reader to confirm with
a button (so mail scanners opening links can't unsubscribe anyone); mail
apps' own *unsubscribe* buttons work in one click.
- Nothing tells a visitor whether an address is already subscribed; asking to
sign up again sends at most one more confirmation an hour.
## Troubleshooting
| What you see | Cause and fix |
|---|---|
| "That isn't an email address." | The address was mistyped. |
| "Too many sign-ups from here in the last hour." | The limit for one place (five an hour); it clears within the hour. |
| "Link expired" | The confirmation was replaced by a newer one, or the address was removed. Sign up again. |
| "Give the issue a subject." / "Write something in the issue." | Both are needed. |
| "To send it, tick “Yes, send it now”." | The tick guards against sending by accident. |
| "There's no one to send it to yet." | No confirmed subscribers. |
| "That issue was already sent; start a new one." / "…already being sent." | Each issue is sent once. |
| "Tick “They asked to get it”…" | Only add people who asked. |
| "… is already subscribed." | That address is on the list. |
| "Message stream: letters, numbers and dashes…" | Use the stream's ID from Postmark, such as `broadcast`. |
| Issues don't arrive | Postmark refuses messages for a stream that doesn't exist: check the stream's ID, and `/var/www/var/db/blowfishcms-contact/contact.log`. Confirmation emails use the usual stream, so they can work while issues don't. |
## Limits
One list, plain Markdown issues (no templates or pictures uploaded with the
issue; link to pictures on your site instead), and no open or click
tracking.