Skip to content

HostZit 0.10.0

Choose a tag to compare

@stefanzeljkic stefanzeljkic released this 14 Nov 15:55
· 14 commits to main since this release

HostZit 0.10.0 — HostZit and EmailZit are linked with one pairing code, customers open EmailZit with one click, and websites send their mail through EmailZit or, without it, HostZit delivers it itself with DKIM.

New

  • Link with EmailZit by one pairing code. In EmailZit 0.10.0 or newer, Settings → HostZit → Make a pairing code; paste it under Settings → EmailZit and press Link. The two servers make each other's tokens with the least rights (EmailZit's for HostZit: customers and one-time sign-in links; HostZit's for EmailZit: only the mail records of the zones), each limited to the other server's IPv4 and IPv6 addresses. EmailZit's certificate is checked the usual way or against the fingerprint in the code. Unlink on either side revokes both tokens. Nobody copies a token by hand any more; links typed in by hand keep working until they are unlinked.
  • Several HostZit and EmailZit servers in any combination. A HostZit server can be linked with several EmailZit servers and each EmailZit with several HostZit servers. A customer's mail is on one of them; HostZit finds which and uses that one for the customer's one-click entry, DNS records and website mail. A link can serve all customers or only the customers assigned to it (an EmailZit of one client, which then learns nothing about the others). A link that stops working is shown and told; website mail waits instead of being lost.
  • Customers open EmailZit with one click from the switch in their panel (a one-time sign-in link of EmailZit). Without mail in EmailZit, or without a switched-on sign-in there, the panel says so. The OpenID Connect client part of Settings → EmailZit is gone.
  • Mail from websites without EmailZit is delivered by HostZit itself: to the mail servers of the recipients, with STARTTLS when they offer it, signed with a DKIM key per domain. Zones on the server get the DKIM record automatically; for domains whose DNS is elsewhere the customer sees the record to set. Settings → Notifications checks outgoing port 25 and the reverse DNS of the server, and the overview warns when direct sending cannot work. An SMTP server for websites stays possible.
  • Customers with mail in an EmailZit on another server send their website mail through its relay (the login comes with the pairing), signed with HostZit's DKIM key of the domain, and the default SPF record of their zones also names EmailZit's mail host. The websites of other customers can go through one EmailZit's relay too (Settings → EmailZit → For all links). EmailZit shows the mail to the customer. With EmailZit on the same server, customers without mail in EmailZit keep HostZit's own sending.
  • Only the account's own domains can send: the From address must be on a website, alias or zone of the account.
  • Customers see their website mail: under Security the queue, every sent, refused and failed message of the last 30 days and the DKIM records; undelivered mail is also a notice.
  • API tokens can be limited to addresses (IPv4 and IPv6); from any other address the token is refused.
  • Website page warnings: a name that points at a proxy (for example Cloudflare's orange cloud) instead of the server, and a domain whose mail does not go to the linked EmailZit.

Fixed

  • A panel job that ran out of time stayed "running" until the next restart.
  • The nightly panel backup failed when a certificate file was replaced while it was read.
  • Deleting a customer left an empty systemd slice of the account running.
  • web-uids were sent to an EmailZit on another server (they matter only on the same server), and every customer without mail was logged as a warning.

Updating

Settings → Updates installs 0.10.0. New servers:

curl -fsSL https://github.com/Max-Zit/hostzit/releases/latest/download/install.sh | sudo bash

After the update, website mail of servers without EmailZit and without an SMTP server for websites is delivered by HostZit itself: check Settings → Notifications → Mail from websites (outgoing port 25 and reverse DNS). Servers linked to EmailZit by hand: link again with a pairing code to get the relay and the one-click switch.

Appliance images: hostzit-appliance.ova, .qcow2, -vhdx.zip, .iso (checksums in SHA256SUMS-appliance).