Skip to content

RAST 0.9.24

Choose a tag to compare

@github-actions github-actions released this 30 Nov 05:40

Added

  • Mail: every way in and out (migration 0028, docs/MAIL.md).
    Receiving now also works through RAST's own SMTP server on port 25
    (STARTTLS with your certificate or one RAST makes, SPF/DKIM/DMARC checks,
    never a relay), mailboxes elsewhere fetched over IMAP every two minutes
    (Gmail, Outlook, hosting providers, …), and a webhook for Mailgun,
    SendGrid, Postmark or anything that posts the raw message: side by side
    with Cloudflare Email Routing. Sending goes through Cloudflare, any SMTP
    service (with presets), or straight from this server to the recipients'
    servers, signed with a DKIM key RAST makes: a public IP address is enough.
    Mail to other domains waits in a queue and is tried again for up to three
    days. Control Panel → Mail → DNS records lists and checks MX, A, SPF,
    DKIM, DMARC and PTR. Allow ports below 1024 adds the systemd drop-in
    for port 25 through the terminal helper.

  • Mail (new app, migration 0027, docs/MAIL.md): email
    on the server's domain in a Gmail-like window. Every account gets
    username@domain by itself; administrators make shared addresses
    (dev@domain) for accounts and groups, and one account may hold many.
    Inbox, Starred, Sent, Drafts, All mail, Spam and Trash per address or all
    together; conversations; Gmail-style search (from:, has:attachment,
    is:unread, …); compose with Cc/Bcc, attachments, formatting and drafts
    kept while typing; replies, reply all and forwards; HTML mail in a
    sandboxed frame without scripts and with web pictures on request; a
    notification for new mail. Mail between the server's addresses stays on
    the server; mail from outside arrives through a Cloudflare Email Worker
    that signs what it posts to POST /api/mail/inbound; mail to outside
    leaves through Cloudflare Email Sending or any SMTP server.
    Control Panel → Mail sets the domain, receiving (secret, Worker code,
    steps), sending (Cloudflare token or SMTP, Test) and the addresses.
    users-scope backups include the messages (users/mail/).

  • Control Panel → Update. RAST looks for a new release on GitHub
    (90 s after it starts, then every 6 hours, or on Check now), and
    tells administrators once per version in Notification Center. The page
    shows this version, the new one and its notes. Update now backs up
    the database, installs the new release through the root terminal helper
    (rast update --version <new> as root) and restarts RAST. The page
    follows the restart, and the outcome arrives as a notification. Without
    the helper the page shows sudo rast update. Restart helper brings
    the root helper onto the installed version. API: GET /api/system/update, POST /api/system/update/check, .../install and
    .../helper-restart (administrators).

  • Shared workspace for a group (Control Panel → Groups → edit a group,
    migration 0026). One switch gives the group a shared folder named like
    it (/shared/<group>, made when missing; a shared folder of that name is
    taken over), Read & Write for every member whatever the folder rules
    say, first in each member's File Station with a group icon. Members keep
    their own home. Turning it off, or deleting the group, keeps the folder
    and its files. Audited group.workspace_update.

  • Host API 6: commands on /v1/terminal/run take environment variables
    (env), kept out of the command's text; an older terminal helper runs
    them without and says envDropped.

  • Host API 7: GET /v1/groups tells each group's shared workspace folder
    (AI Agent gives such a group a space of its own).

Fixed

  • The terminal helper's environment test reads the shell's command line
    with ps where /proc is missing, so the macOS build passes again.

Security

  • cargo audit in CI ignores RUSTSEC-2023-0071 (Marvin timing side
    channel in rsa 0.9, pulled in by mail-auth for the DKIM signing key)
    until mail-auth moves to the patched rsa 0.10. The key signs outgoing
    mail in the queue, so no per-signature timing is visible from outside.

Installation

curl -fsSL https://github.com/Enricko/rast/releases/download/v0.9.24/install.sh | sudo sh

Pin this exact release:

curl -fsSL https://github.com/Enricko/rast/releases/download/v0.9.24/install.sh | sudo sh -s -- --version 0.9.24

Upgrading an existing installation preserves /etc/rast, /var/lib/rast and /srv/rast.

Release assets

Asset Description
rast-linux-x86_64 Static frontend embedded; x86_64 Linux (glibc >= 2.35)
rast-linux-aarch64 Static frontend embedded; aarch64 Linux (glibc >= 2.39)
SHA256SUMS SHA-256 checksums for every asset
install.sh Installer (POSIX sh, pinned to this release)
uninstall.sh Uninstaller
rast.toml.example Fully commented configuration reference

Verification

sha256sum -c SHA256SUMS
sh install.sh --help

Runtime verification

Both binaries were smoke-tested on their native build runners
(GitHub-hosted x86_64 and arm64): the server started with a temporary
config, answered /healthz, accepted CLI administrator creation and a
JSON API login. The installer itself is exercised on Ubuntu 24.04 in a
disposable systemd container.

Provenance

Both binaries and SHA256SUMS carry GitHub artifact attestations
(Sigstore keyless build provenance). Verify them after downloading:

gh attestation verify rast-linux-x86_64 --repo Enricko/rast
gh attestation verify rast-linux-aarch64 --repo Enricko/rast
gh attestation verify SHA256SUMS --repo Enricko/rast

Provenance proves the files were built by this repository's release
workflow for the tagged commit; it is not a reproduction or code-review
guarantee. The installer can enforce it with --verify-attestation.