berth

Mail

Mailing lists

Berth's built-in list server: one address that reaches all members, with confirmed sign-up, one-click unsubscribe, four posting policies, moderation, an archive, bounce handling and DMARC-safe sending.

Updated 5 min readmailing list · newsletter · list server · moderation · unsubscribe · mailman alternativeView as Markdown

On this page
  1. Creating a list
  2. The list's addresses
  3. Members
  4. Moderation
  5. Archive
  6. How sending works
  7. Removing a list

A mailing list is one address that delivers to all its members: a newsletter, a club, a project team. Berth has a small list server of its own, built into the panel, so you don't need Mailman or an outside service for the common cases. Members sign up and leave by themselves, owners approve what needs approving, and every message is sent in a way that receivers' DMARC checks accept.

Lists belong to a mail domain, so mail must be switched on for the domain first (see Mailboxes).

Creating a list

  1. Open the domain, go to the Mail tab and then Mailing lists.
  2. Under Create list, enter the name: the part before the @, such as club or news.
  3. Fill in the settings below and create the list.
berth lists create --domain example.com --name club --owner anna@example.com \
  --description "Tennis club" --policy members --prefix "[club]"
berth lists show --domain example.com
berth lists show --domain example.com --name club

Settings

SettingMeaning
DescriptionThe list's display name. A message arrives as "Anna via Tennis club", from the list address.
OwnersOne or more addresses. Owners may always post and get a notification when a message waits for approval.
Who may postSee the four policies below.
PrefixText before the subject, such as [club]; empty for none.
Replies go toThe author or the whole list.
Largest messageSize limit in KB, 5120 by default.
Keep sent messagesKeep an archive, readable in the panel only.

berth lists update sets all settings at once and needs --owner.

Posting policies

PolicyCLIWho can post
MembersmembersMembers post directly; messages from others wait for approval.
Everyone, after approvalmoderatedEverything waits for approval, except from owners.
Owners onlyannounceA newsletter: only owners post.
EveryoneopenAnyone may post; messages that look like spam wait for approval.

The list's addresses

Each list has a set of addresses you can put on a website or in a message. Signing up and leaving work without the panel:

AddressWhat it does
club@example.comPost to the list, according to its policy.
club-join@example.comSign up. The sender gets a confirmation mail and becomes a member only after confirming.
club-leave@example.comLeave. Also with confirmation.
club-owner@example.comReaches the owners.

Every message to a member carries List-Id, List-Unsubscribe and List-Unsubscribe-Post headers, so Gmail, Outlook and Apple Mail show an unsubscribe button. That button uses one-click unsubscribe as described in RFC 8058: a signed link to a public page of the panel, which needs no login. Confirmation links for signing up and leaving also open a public page with a single button.

Members

On the list's page you see its members and can search, add and remove them.

  • Add members: one per line, as an address or Name <address>. Keep Send a confirmation mail first on: each new member then confirms, which also gives you the consent the GDPR asks for. Customers can add a modest number of members directly to move an existing list over; beyond that every new member gets a confirmation mail, so a list cannot be turned into a way to mail thousands of strangers.
  • Remove takes a member off the list.
berth lists add --domain example.com --name club --invite anna@example.nl "Bob <bob@example.org>"
berth lists add --domain example.com --name club --invite --file members.txt
berth lists members --domain example.com --name club
berth lists remove-member --domain example.com --name club --email bob@example.org

Moderation

Messages that need approval appear under Awaiting approval on the list's page. Open one to read it, then Send or Discard. Discarding sends nothing back to the author, because the sender of spam is usually forged. A message that nobody handles expires after 14 days.

berth lists held --domain example.com --name club
berth lists approve --domain example.com --name club --id 41
berth lists reject --domain example.com --name club --id 42

Archive

With Keep sent messages on, sent messages are kept in the list's archive, readable on the list page in the panel. The archive is not published on the web.

berth lists archive --domain example.com --name club
berth lists archive --domain example.com --name club --id 17

How sending works

  • DMARC-safe From. Receivers check DMARC against the From address. Forwarding a member's message with their own From would fail at Gmail or Microsoft when their domain has a strict policy. Berth therefore rewrites the sender to "Name via List" at the list address, sets Reply-To to the author when replies go to the author, and signs the message with the list domain's DKIM key.
  • One envelope sender per member (VERP). Each copy goes out with its own bounce address, so a delivery failure is attributed to exactly the right member. After repeated permanent failures a member is paused; the count starts again after a quiet period without failures.
  • Loops and auto-replies. Automatic replies (out-of-office messages and the like) and the list's own messages coming back are recognised and dropped, so two systems never answer each other in a loop.
  • The outbound budget. Lists count towards the subscription's outbound budget. Before sending, the panel checks there is room for all members. If not, the message waits with that reason, and approving it is only possible once there is room again.

The list server runs inside the panel: Postfix hands mail for the list addresses to the panel, which processes it within seconds and sends the copies through the local Postfix.

Removing a list

Danger zone → Delete list on the list's page removes the list with its members, waiting messages and archive; you confirm by typing the list address.

berth lists remove --domain example.com --name club