fix: migrate SMTP host from mx.jeffemmett.com to mail.rmail.online

All email sending now uses mail.rmail.online as the SMTP host,
replacing the legacy mx.jeffemmett.com hostname.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-24 23:37:54 -08:00
parent 0fccf9d895
commit 95759d399e
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ services:
- PORT=3000 - PORT=3000
- DATA_DIR=/app/data - DATA_DIR=/app/data
- ADMIN_TOKEN=${ADMIN_TOKEN:-worldplay-admin-2026} - ADMIN_TOKEN=${ADMIN_TOKEN:-worldplay-admin-2026}
- SMTP_HOST=${SMTP_HOST:-mx.jeffemmett.com} - SMTP_HOST=${SMTP_HOST:-mail.rmail.online}
- SMTP_PORT=${SMTP_PORT:-587} - SMTP_PORT=${SMTP_PORT:-587}
- SMTP_USER=${SMTP_USER:-noreply@jeffemmett.com} - SMTP_USER=${SMTP_USER:-noreply@jeffemmett.com}
- SMTP_PASS=${SMTP_PASS} - SMTP_PASS=${SMTP_PASS}

View File

@ -12,7 +12,7 @@ const REGISTRATIONS_FILE = path.join(DATA_DIR, 'registrations.json');
// Initialize SMTP transport (Mailcow) // Initialize SMTP transport (Mailcow)
const smtp = process.env.SMTP_PASS ? nodemailer.createTransport({ const smtp = process.env.SMTP_PASS ? nodemailer.createTransport({
host: process.env.SMTP_HOST || 'mx.jeffemmett.com', host: process.env.SMTP_HOST || 'mail.rmail.online',
port: parseInt(process.env.SMTP_PORT || '587'), port: parseInt(process.env.SMTP_PORT || '587'),
secure: false, secure: false,
auth: { auth: {