maddy-admin/README.md

1.7 KiB

Maddy Admin Panel

A front-end for Maddy, allowing users to manage their account and administrators to manage the server.

Screenshots

Self-Service account management

Administration

Aliases

Users

Audit Log

Features

  • Password management - Users can easily update their account password
  • Aliases - Users can create and manage their own aliases
    • Normal aliases allow the user to freely choose their alias address from a list of domains. An administrator needs to approve the alias before it can be used.
    • Temporary aliases are randomly generated and can be created by users without administrator approval. It's like a tempmail service, but cooler!
  • Administration - Admins can easily perform common tasks
    • Creating users, deleting users and resetting their password (todo)
    • Creating and deleting aliases for any user

Authentication is handled using the same database that Maddy uses, so users can use the same password to access their email and the Admin Panel.

notes to add later

CREATE TABLE aliases (id INTEGER PRIMARY KEY AUTOINCREMENT, address TEXT NOT NULL, alias TEXT NOT NULL, pending INTEGER DEFAULT 0, temporary INTEGER DEFAULT 0);
CREATE TABLE temp_alias_requests (key TEXT PRIMARY KEY, address TEXT NOT NULL, alias TEXT NOT NULL, expires INTEGER NOT NULL);

CREATE TABLE api_keys (id INTEGER PRIMARY KEY AUTOINCREMENT, address TEXT NOT NULL, label TEXT NOT NULL, token TEXT NOT NULL);