Docs / Postwerk

Installation (Plesk / Docker)Installation (Plesk / Docker)

Postwerk is a single Docker container (Node.js, SQLite). Requirements: a Linux server with Docker, 1 GB RAM, a (sub)domain with HTTPS.

Plesk

  1. Download the ZIP in your Weblogy account (Shop → Licenses) and unpack it on the server, e.g. to /opt/postwerk.
  2. Plesk → Add Subdomain (e.g. mail.yourcompany.de) and enable Let's Encrypt.
  3. Configuration: cd /opt/postwerk/deploy && cp .env.example .env, set PUBLIC_URL and MASTER_KEY (openssl rand -base64 32). Optional: SETUP_TOKEN protects the first-run page.
  4. Start: docker compose -p postwerk up -d --build – Postwerk listens on 127.0.0.1:8030.
  5. Plesk → subdomain → Apache & nginx Settings → additional directives for HTTP and HTTPS:
    ProxyPass /.well-known/acme-challenge !
    ProxyPass / http://127.0.0.1:8030/ retry=0 flushpackets=on timeout=3600
    ProxyPassReverse / http://127.0.0.1:8030/
  6. Open the address – the first visit creates the administrator account.
  7. Settings → Licence: enter your key (add user packs as additional keys).

Other Docker hosts

Use deploy/docker-compose.yml behind any reverse proxy with HTTPS (nginx, Caddy, Traefik). Turn off response buffering for /api/v1/stream (live updates) and allow uploads of 30 MB.

Backup & updates

  • Back up deploy/data/ (database) together with deploy/.env – the master key decrypts the stored mailbox passwords.
  • Update: download the new ZIP, replace the files (keep deploy/.env and deploy/data), run docker compose -p postwerk up -d --build. Database updates run automatically.

Postwerk ist ein einzelner Docker-Container (Node.js, SQLite). Voraussetzungen: Linux-Server mit Docker, 1 GB RAM, eine (Sub-)Domain mit HTTPS.

Plesk

  1. ZIP im Weblogy-Kundenkonto herunterladen (Shop → Lizenzen) und auf dem Server entpacken, z. B. nach /opt/postwerk.
  2. Plesk → Subdomain hinzufügen (z. B. mail.deinefirma.de) und Let's Encrypt aktivieren.
  3. Konfiguration: cd /opt/postwerk/deploy && cp .env.example .env, PUBLIC_URL und MASTER_KEY setzen (openssl rand -base64 32). Optional: SETUP_TOKEN schützt die Ersteinrichtung.
  4. Starten: docker compose -p postwerk up -d --build – Postwerk lauscht auf 127.0.0.1:8030.
  5. Plesk → Subdomain → Apache- & nginx-Einstellungen → zusätzliche Anweisungen für HTTP und HTTPS:
    ProxyPass /.well-known/acme-challenge !
    ProxyPass / http://127.0.0.1:8030/ retry=0 flushpackets=on timeout=3600
    ProxyPassReverse / http://127.0.0.1:8030/
  6. Adresse öffnen – beim ersten Aufruf legst du das Administrator-Konto an.
  7. Einstellungen → Lizenz: Schlüssel eintragen (Benutzerpakete als weitere Schlüssel).

Andere Docker-Hosts

deploy/docker-compose.yml hinter einem beliebigen Reverse-Proxy mit HTTPS (nginx, Caddy, Traefik) betreiben. Für /api/v1/stream (Live-Updates) das Puffern abschalten und Uploads bis 30 MB erlauben.

Sicherung & Updates

  • deploy/data/ (Datenbank) zusammen mit deploy/.env sichern – der Master-Schlüssel entschlüsselt die gespeicherten Postfach-Passwörter.
  • Update: neue ZIP herunterladen, Dateien ersetzen (deploy/.env und deploy/data behalten), docker compose -p postwerk up -d --build. Datenbank-Updates laufen automatisch.

Something missing or unclear? Write to info@weblogy.eu. Fehlt etwas oder ist unklar? Schreib an info@weblogy.eu.

Vertrag widerrufenWithdraw from contract Bestellung oder Abo widerrufen – ohne Login, mit sofortiger Eingangsbestätigung.Withdraw from an order or subscription – no login, instant acknowledgement.