chore(email): decommission SMTP2GO references — local MTA only

SMTP2GO is no longer used: Listmonk relays through the local Postfix MTA
(172.18.0.1:25 from the Docker network), which DKIM-signs and delivers
direct-to-recipient-MX; transactional mail goes through Carbonio. Verified
zero smtp2go in any live container env + postfix has no external relayhost.

Removed the stale references so a rebuild/new dev can't re-introduce it:
- api/src/config.ts: SMTP_HOST default mail.smtp2go.com -> co.carrierone.com
- scripts/workers/crypto_payment_worker.py: same default fix
- infra/ansible all.yml: listmonk_smtp_* now 172.18.0.1:25, no auth (+comment)
- app.env.j2 / email.ts / crm.md / go-live-todo.md / architecture.svg: docs
This commit is contained in:
justin 2026-06-17 22:46:59 -05:00
parent eba525f83f
commit a04ecf7df3
8 changed files with 18 additions and 14 deletions

View file

@ -80,13 +80,17 @@ smtp_pass: "{{ vault_smtp_pass }}"
smtp_from: "Performance West <noreply@performancewest.net>"
smtp_admin_email: ops@performancewest.net
# ── Listmonk (mass-mail via SMTP2GO) ─────────────────────────────────────────
# Listmonk SMTP is configured via its web admin UI, not env vars.
# These vars are kept here for documentation and manual reference.
listmonk_smtp_host: mail.smtp2go.com
listmonk_smtp_port: 587
listmonk_smtp_user: "{{ vault_listmonk_smtp_user | default(smtp_user) }}"
listmonk_smtp_pass: "{{ vault_listmonk_smtp_pass }}"
# ── Listmonk (mass-mail via the LOCAL MTA) ───────────────────────────────────
# Listmonk SMTP is configured via its web admin UI, not env vars. Listmonk relays
# through the host Postfix (172.18.0.1:25 from inside the Docker network), which
# DKIM-signs and delivers direct-to-recipient-MX. We no longer use any external
# relay (SMTP2GO was decommissioned). These vars are kept here for documentation
# and manual reference.
listmonk_smtp_host: 172.18.0.1
listmonk_smtp_port: 25
# The local Postfix relay requires no auth (auth_protocol: none, tls_type: none).
listmonk_smtp_user: ""
listmonk_smtp_pass: ""
listmonk_admin_user: "{{ vault_listmonk_admin_user }}"
listmonk_admin_password: "{{ vault_listmonk_admin_password }}"

View file

@ -54,7 +54,7 @@ WORKER_URL=http://workers:8090
# ── Transactional email — Carbonio (co.carrierone.com) ───────────────────────
# All transactional mail: order confirmations, worker notifications, ERPNext alerts.
# Listmonk mass-mail uses SMTP2GO — configured separately in the Listmonk admin UI.
# Listmonk mass-mail relays through the local Postfix MTA — configured separately in the Listmonk admin UI.
SMTP_HOST={{ smtp_host }}
SMTP_PORT={{ smtp_port }}
SMTP_USER={{ smtp_user }}