Repository navigation
EmailZit 0.10.0
One code links EmailZit and HostZit, and the websites of a HostZit on another server send their mail through EmailZit.
Changes
- Linking HostZit with one pairing code. Settings → HostZit → Make a pairing code shows a code once; paste it into HostZit. The code works once and only for ten minutes, EmailZit keeps only its hash and never writes it to a log. The two servers then hand each other a token of their own, each with the least permissions and bound to the addresses of the other server, so nobody copies a token or an address list by hand. The page says which server is linked, since when, and from which addresses its token works; Unlink on either side revokes both tokens. A link typed in by hand keeps working.
- Mail from the websites of a HostZit on another server. Until now only websites on the same server could send through EmailZit. The pairing now also hands over a relay login, and EmailZit's own submission server takes that mail on port 2587 after STARTTLS and that sign-in. The port is open only while such a link exists and only for the addresses of that HostZit, and the login works nowhere else — not for a mailbox, the webmail or a mail program.
- Every relayed message is checked: the sender domain must be a mail domain of this server or a domain HostZit hosts for one of its customers (asked once and then remembered for ten minutes; an unknown domain is refused with 550, and while HostZit cannot be asked the answer is 451, so the website tries again later), and the From address must use that same domain. The customer's package limits count this mail together with the mailboxes. The message then goes the way of a website on this server: DKIM signature, outgoing spam check, delivery log.
- The customer sees the mail of their websites on their page — refused with the reason, taken with what the delivery log says about it — and the weekly report counts it.
- A linked HostZit no longer takes the ports 80 and 443. Only a web server installed on the same machine does, and when that web server is gone the ports come back by themselves. Before, a HostZit on another server could leave autoconfig, Autodiscover and the MTA-STS policy unanswered.
- The hint under an API token's allowed addresses now says to enter every address of the other server, IPv4 and IPv6.
- The guide describes the pairing and the relay, in all 14 languages.
Install or update
curl -fsSLO https://github.com/Max-Zit/emailzit/releases/download/v0.10.0/install.sh
sudo sh install.sh --hostname mail.example.comExisting servers update from the panel (Updates and server). Appliance images are attached below (check them against SHA256SUMS-appliance).