Setup guidance
Connect a self-hosted deployment
What a real installation will require, in the order it will matter. This page performs no checks, opens no ports and contacts no server.
Deployment readiness
Checklist state is local to this page.
Install the container runtime, create a service account and set a stable hostname.
Generate database, session and DKIM material into a local secret store.
Bring up web, API, PostgreSQL, Redis and the mail services from Compose.
Apply the schema and create the first administrative identity.
Add MX, SPF, DKIM and DMARC records; wait for propagation.
Verify outbound and inbound delivery with a controlled mailbox.
Current environment
Facts from project status, not a live probe.
- Docker Desktop
- Not installed
- WSL2
- Enabled · restart pending
- PostgreSQL / Redis
- Never started
- Migrations
- Never executed
- Readiness probe
- Never successful
M1 remains incomplete
Need the developer view?
API authentication and sender verification are documented separately.
Illustrative configuration
Copyable examples. None has been executed.
services:
web:
image: ghcr.io/cognova/mail-web:0.1.0
ports: ["443:443"]
depends_on: [api]
api:
image: ghcr.io/cognova/mail-api:0.1.0
environment:
DATABASE_URL: postgres://cognova:${DB_PASSWORD}@postgres:5432/cognova
REDIS_URL: redis://redis:6379
depends_on: [postgres, redis]
postgres:
image: postgres:17
volumes: [pgdata:/var/lib/postgresql/data]
redis:
image: redis:7
postfix:
image: ghcr.io/cognova/postfix:0.1.0
dovecot:
image: ghcr.io/cognova/dovecot:0.1.0
rspamd:
image: ghcr.io/cognova/rspamd:0.1.0
volumes:
pgdata:Service names, images and environment variables are placeholders. The project Compose files have never been executed on this host.
Host requirements
CPU
4 vCPU recommended for mail + web + database
2 vCPU minimum
Memory
8 GB recommended; PostgreSQL and mail services are co-resident
4 GB minimum
Disk
Mail storage grows with retained messages and backups
40 GB minimum
OS
Docker Engine on Linux; Windows uses Docker Desktop + WSL2 per ADR-004
Linux host
Network
25, 465, 587, 993, 443 and a reverse proxy
Public IP + ports
DNS
Records must be published before sending is meaningful
MX, SPF, DKIM, DMARC
What this page will never do
Run a shell command on your computer or a remote server.
Open a port, start a container or modify a Compose file.
Generate or reveal a password, key or certificate.
Contact the Debian host or any DNS resolver.
Report a health, backup or delivery success it has not measured.
For the official production procedure, consult the repository deployment notes once M9 exists. Until then, treat this as an interface preview of setup guidance.
Windows note: the project records Docker Desktop + WSL2 for local runtime validation. Installation and restart have not been completed.
Unused placeholder: COGNOVA_HOSTNAME is shown for illustration and is not read by this page.