3.5 KiB
Migrating mail platform DNS to gentic.email
This guide covers DNS changes when moving from getall.help to gentic.email.
Architecture (unchanged concept)
| Hostname | Purpose |
|---|---|
gentic.email |
Platform domain + primary Agmail web UI (Caddy HTTPS) |
email.getall.help |
Legacy alternate URL to the same web UI |
mail.gentic.email |
Postfix SMTP (inbound :25 + outbound) |
_spf.gentic.email |
Platform SPF include target (TXT on gentic.email, host _spf) |
Company/custom domains still point their MX/SPF/DKIM/DMARC at your shared mail host.
1. Update server environment
Copy and edit .env from .env.example:
PLATFORM_DOMAIN=gentic.email
PLATFORM_SPF_INCLUDE=_spf.gentic.email
APP_PUBLIC_HOST=gentic.email
CADDY_ALT_HOST=email.getall.help
CADDY_ACME_EMAIL=admin@gentic.email
SMTP_PUBLIC_HOST=mail.gentic.email
MAIL_HOSTNAME=mail.gentic.email
MAIL_DOMAIN=gentic.email
INBOUND_DOMAINS=gentic.email,getall.help
CORS_ORIGINS=["https://gentic.email","https://email.getall.help"]
Redeploy app + SMTP + Caddy stacks after updating env.
2. DNS at your registrar (gentic.email zone)
Add or update these records at the gentic.email DNS provider:
Inbound mail + web
| Type | Host | Value | Notes |
|---|---|---|---|
| A | @ |
<VPS_PUBLIC_IP> |
Agmail web UI (primary) |
| A | mail |
<VPS_PUBLIC_IP> |
Mail server |
| MX | @ |
10 mail.gentic.email |
Platform inbox delivery |
Outbound authentication (platform domain)
| Type | Host | Value |
|---|---|---|
| TXT | _spf |
v=spf1 ip4:<VPS_PUBLIC_IP> ~all |
| TXT | @ |
v=spf1 mx a ip4:<VPS_PUBLIC_IP> ~all |
| TXT | agmail._domainkey |
(from /smtp-credentials page after domain register) |
| TXT | _dmarc |
v=DMARC1; p=quarantine; rua=mailto:dmarc@gentic.email |
Generate exact DKIM/SPF rows from https://gentic.email/smtp-credentials once DNS resolves.
In the getall.help zone, add email → <VPS_PUBLIC_IP> for the legacy web entry.
Reverse DNS (PTR)
Ask your VPS provider to set PTR for <VPS_PUBLIC_IP> → mail.gentic.email.
3. Company domain onboarding (new checks)
Each company domain must now publish five customer records:
- Ownership —
TXT_agmail-verify=agmail-verify=<token>(unique per domain, shown in setup UI) - MX →
mail.gentic.email - SPF →
v=spf1 include:_spf.gentic.email ~all - DKIM →
agmail._domainkeywith your generated public key - DMARC — must match the exact value in setup (not any pre-existing DMARC)
Blocked domains (google.com, etc.) cannot be registered as company domains.
4. Cutover checklist
- Lower TTL on old
getall.helprecords 24h before (optional). - Publish new
gentic.emailA/MX/TXT records. - Update
.envand redeploy Docker stacks. - Verify TLS:
curl -fsSI https://gentic.email/healthandcurl -fsSI https://email.getall.help/health - Verify SMTP banner:
nc mail.gentic.email 25 - Send test mail to
user@gentic.emailand from the app. - Re-verify any active company domains (ownership TXT may be added on next verify).
5. Old getall.help records
After cutover you can remove or repoint:
mail.getall.helpA record (if no longer used)getall.helpMX if it pointed at the mail VPS and you've moved all mail to@gentic.email_spf.getall.helpif no longer used
Keep email.getall.help while you want the legacy web URL. Remove it once all users use https://gentic.email.