Skip to content

Mail Server Plugin

Overview

The Mail Server plugin installs and manages a complete mail server stack (Postfix + Dovecot) on the server.

Plugin ID: mail-server

All endpoints require superuser.

Status

GET /api/mail-server/status

Install / Uninstall

POST /api/mail-server/install
POST /api/mail-server/uninstall

Mail Relay / Smarthost Settings

Configure outgoing mail relay:

GET /api/settings/mail
POST /api/settings/mail
{
  "smarthost": "smtp.sendgrid.net",
  "smarthost_port": 587,
  "smarthost_user": "apikey",
  "smarthost_password": "..."
}