Mail servers & edge endpoints
ImpulseMail supports both shared relay pool servers (multi-tenant hosts serving Starter and Growth plans) and dedicated mail servers (single-tenant hosts with dedicated outbound IPs for high-volume plans).

1. Supported providers & outbound port 25
Section titled “1. Supported providers & outbound port 25”| Provider | Shared pools | Dedicated servers | Port 25 policy |
|---|---|---|---|
| Vultr | ✓ | ✓ | Blocked by default — open a support ticket to unblock transactional SMTP egress. |
| Linode (Akamai) | ✓ | ✓ | Blocked by default — request port 25 restriction removal via support with rDNS/abuse details. |
| Hetzner Cloud | ✓ | ✓ | Blocked on new accounts — request unblock in Hetzner Cloud Console → Limits after initial invoice aging. |
| BYO Ubuntu 24.04 server | ✓ | ✓ | Depends on upstream network; confirm outbound TCP 25 and PTR (rDNS) support. |
| DigitalOcean | — | — | Hard-blocked by provider; excluded by ImpulseMail placement guards. |
2. Provisioning & pinned-TLS Admin Proxy
Section titled “2. Provisioning & pinned-TLS Admin Proxy”When you provision a server under Infrastructure → + Provision New Server (or register an existing Ubuntu 24.04 box under + Add Existing Server):
- The provision wizard suggests clean sequential regional hostnames automatically (for example
dfw1.mail.yourbrand.example,ewr1.mail.yourbrand.example), and optionally accepts a Custom pool vanity hostname (edge_hostname, such asus1.yourbrand.example) for Mode B deployments. Cloud-init bootstraps Haraka (3.3.1or your pinned release), the loopback HTTP send gateway (127.0.0.1:9101), nginx TLS termination, and the scoped Admin Proxy. - ImpulseMail publishes the box’s forward
A/AAAArecords (plus its gateway and optional vanity hostname when inside your managed zone) in your configured DNS provider (Cloudflare, AWS Route 53, PowerDNS, Bunny DNS, DigitalOcean DNS, or Hetzner DNS) from WHMCS and requests a Let’s Encrypt certificate on the box via HTTP-01 (DNS API credentials never touch mail boxes). - On first contact, WHMCS captures the box’s self-signed Admin Proxy certificate SPKI SHA-256 pin over TLS (
:9098). Once verified, the box retires plaintext:9099permanently and accepts only pinned-TLS, per-server Bearer requests from your WHMCS IP addresses. - Tenant routes enforce a strict
X-Impulse-Service-Idscope header matching the tenant UID (t_<service_id>), and credentials use an O(1).cred-index.jsonlookup index for fast SMTP and HTTP auth under load. - Every Admin Proxy health check persists both
admin_proxy_versionand liveengine_versionback to WHMCS, displaying the running Haraka version (such asv3.3.2) and an↑ v<target> availableindicator directly on each Infrastructure server row.
Click any server name under Infrastructure to open its dedicated Server Details view — showing the metadata summary strip (hostname, gateway, optional Pool Edge, Return-Path, IPv4/IPv6, live Haraka version, pinned proxy version, and template vintage), live toolbar actions (including Apply latest template (in-place) when behind), editable Server settings (display name, max tenants, sort order, and Mode B Custom pool vanity hostname with 1-click Publish Pool Edge DNS), every attached Sending IP, hosted tenants, and lifecycle controls.

3. In-place script updates & template sync (no VPS rebuild)
Section titled “3. In-place script updates & template sync (no VPS rebuild)”When you upgrade ImpulseMail in WHMCS, existing mail servers do not need to be destroyed or reprovisioned — preserving warmed IPs, customer tenants, DKIM keys, suppressions, Let’s Encrypt certificates, and the Admin Proxy TLS pin:
- One-click Update on-box scripts (
host-update-scripts): pushes the 10 allowlisted managed scripts (admin-proxy.py,impulsemail-gateway.py,outbound_ip.py, and all 7 Haraka plugins includingimpulse_smtp_auth.js,impulse_smarthost.js,impulse_events.js, andimpulse_dsn_intake.js) over pinned TLS, verifies SHA-256 checksums and syntax before swapping, backs up the previous copies, reloads affected services, and verifies post-restart health. - In-place template sync without VPS rebuild (
Apply latest template (in-place)): when a module upgrade also updates root-owned host wrapper configuration (such as/usr/local/sbin/impulsemail-control,box.env,outbound.ini, or nginx templates), Infrastructure flags the box witholder template. Open Server Details and click Apply latest template (in-place) to mint a single-use, SHA-256-verified root console/SSH command. Running it executes the idempotent bootstrap template in-place (preserving IP, tenants, DKIM keys, suppressions, TLS certificates, and the Admin Proxy TOFU pin), restarts Haraka, gateway, and Admin Proxy cleanly, and stamps/etc/impulsemail/template-hashonce complete. Clicking Test admin proxy (or waiting for the next health poll) reads the box-verified hash and clearsolder templateautomatically. - Automatic drift detection highlights drifted boxes on both Infrastructure and Operations → Security.
4. Atomic side-by-side Haraka upgrades & rollback
Section titled “4. Atomic side-by-side Haraka upgrades & rollback”Because Haraka is a Node.js application, mutating its global install directory on a live mail server risks breaking mail delivery if an install fails mid-way. ImpulseMail instead manages Haraka in isolated versioned directories under /usr/local/lib/impulsemail/haraka/versions/<version>/ behind a current symlink:
- Curated release pin: Under Settings → General & Access, set Haraka version pin (
default_haraka_version) to a vetted 3.x release (such as3.3.1,3.3.2, or3.4.0). Unvetted or arbitrary npm specifiers (latest) are refused. - Offline staging & plugin verification: From Infrastructure → Manage Servers (or Server Details), click Upgrade Haraka (
engine-upgrade, type-to-confirm). The box installs the target release into a fresh staging directory, verifies the Node runtime floor, checksharaka --version, and runs syntax verification across allimpulse_*.jsplugins before touching the running MTA. - Atomic cutover with automatic rollback: Once verified, the box flips the
currentsymlink atomically, restartsimpulsemail-haraka, and verifies both systemd status and a live SMTP220greeting within 15 seconds. If post-restart health fails, the previous version is automatically rolled back and restarted. - One-click manual rollback: The previous version remains on disk behind the
previoussymlink, so you can revert at any time via Roll back Haraka (engine-rollback).
5. Shared pool endpoint architecture (Mode A vs. Mode B)
Section titled “5. Shared pool endpoint architecture (Mode A vs. Mode B)”Under Settings → DNS & TLS → Step 1 (Operator DNS & Zone), ImpulseMail gives operators a clear choice between two multi-pool endpoint architectures for shared-plan customers (dedicated-IP servers always use their own dedicated gateway hostname):
| Mode | Customer SMTP & API hostname | Extra server needed? | Best for |
|---|---|---|---|
Mode A — Global Edge Hostname (global_edge) |
One global hostname across all shared pools (e.g. send.yourbrand.example) |
None with 1 shared pool; one lightweight Edge Router VPS when scaling to 2+ pools | Operators who want a single branded endpoint for every shared customer and 100% transparent shared→shared migrations |
Mode B — Per-Pool Hostnames (per_pool) |
Clean regional name (send.dfw1.mail.yourbrand.example) or optional per-pool vanity name (us1.yourbrand.example, eu1.yourbrand.example) |
Zero extra servers at any pool count | Operators who want regional endpoints or zero extra routing infrastructure |
Mode A: Global Edge Hostname (mail_edge_hostname + ImpulseMail Edge Router)
Section titled “Mode A: Global Edge Hostname (mail_edge_hostname + ImpulseMail Edge Router)”- Open Settings → DNS & TLS, set Customer endpoint mode (
mail_edge_mode) to Mode A — Global Edge Hostname, and enter your Global edge hostname (mail_edge_hostname, for examplesend.yourbrand.example). - While running 1 shared pool: no extra VPS is required. Click Publish Edge DNS (or let provisioning publish it automatically) to point
send.yourbrand.exampledirectly to Pool #1 (A/AAAADNS-only) and include it as a Let’s Encrypt SAN on the pool’s TLS certificate. - When scaling to 2+ shared pools: deploy the included stateless Python 3 ImpulseMail Edge Router (
modules/servers/impulsemail/edge-router/impulsemail-edge-router.py+install-edge-router.sh, zero pip dependencies) on a lightweight Ubuntu 24.04 VPS using the ready-to-paste install command inside Settings → DNS & TLS → Deploy ImpulseMail Edge Router VPS:- Point
send.yourbrand.exampleA/AAAArecords to the Edge Router VPS. - Enter the Edge Router control URL (
https://send.yourbrand.example:9443, firewall-restricted to your WHMCS server IP(s)), click Generate for the encrypted Edge Router Bearer secret, save, and click Test & Sync Edge Routes. - Zero customer secrets touch the Edge Router: WHMCS pushes only a secret-free routing table (
pools,t_<service_id>tenants, 12-character API key prefixes, and SMTP usernames) automatically whenever tenants are placed/migrated or credentials are minted, renamed, or revoked. Real SHA-256 API key, HMAC link, and SMTP password verification stays strictly on the owning pool box. - Handles both HTTPS (
/v1/*,/u/*,/t/o/*,/t/c/*,/t/bimi/*) and SMTP submission (587,2525,8025,8465STARTTLS and465SSL/TLS) transparently.
- Point
Mode B: Per-Pool Hostnames (per_pool, zero extra servers)
Section titled “Mode B: Per-Pool Hostnames (per_pool, zero extra servers)”- Set Customer endpoint mode to Mode B — Per-Pool Hostnames (default for fresh installs).
- Each shared pool automatically receives a clean sequential regional hostname (for example
dfw1.mail.yourbrand.example→send.dfw1.mail.yourbrand.example). - Optionally assign any shared pool a shorter custom vanity hostname (such as
us1.yourbrand.exampleoreu1.yourbrand.example) via Custom pool vanity hostname (edge_hostname) during + Provision New Server or anytime under Infrastructure → Server Details (with 1-click Publish Pool Edge DNS). When migrating a tenant between two pools in Mode B, ImpulseMail automatically emails the customer their updated endpoint via WHMCSSendEmail.
6. Domain Connect 1-click customer DNS setup
Section titled “6. Domain Connect 1-click customer DNS setup”ImpulseMail ships native Domain Connect v2 (Sync UX) support at zero ongoing cost. Domain Connect is the open standard supported natively by GoDaddy, Cloudflare, IONOS, Porkbun, Squarespace, Name.com, Hostinger, and WordPress.com. Once enabled for your brand, customers can apply their DKIM (im._domainkey), Return-Path (imbounces), and optional DMARC (_dmarc) records in a single click — without copying DNS records or handing over API keys.
Open Addons → ImpulseMail → Settings → DNS & TLS and follow the built-in 4-step white-label walkthrough (each step badge flips to a live green ✓ as you complete it):
- Step 1 — Brand & domains: enter your Provider ID (your brand domain, matching your template filename
<providerId>.<serviceId>.json), Provider display name (shown inside your customers’ DNS consent prompt), Service ID (defaulttransactional-mail), Public key host prefix (default_dck1), Public key domain (syncPubKeyDomain), and comma-separated Allowed redirect domain(s) (syncRedirectDomain, your WHMCS client-area hostname(s)). Check Enable Domain Connect 1-click setup in Client Area and click Save Domain Connect settings. - Step 2 — Generate RSA-2048 keypair: click Generate RSA-2048 keypair. Your private signing key stays encrypted inside your WHMCS database and is never sent to mail servers.
- Step 3 — Publish public key TXT & verify live DNS:
- If your
syncPubKeyDomainlives in your configured operator DNS zone (Cloudflare, AWS Route 53, PowerDNS, Bunny DNS, DigitalOcean DNS, or Hetzner DNS), click the 1-click Publish Public Key TXT button to publish the chunked TXT records at_dck1.<yourdomain.com>automatically. Otherwise, use Copy TXT records to add them at your DNS host. - Click Verify live DNS TXT to confirm all chunks resolve in public DNS. Once verified, Step 3 automatically turns green
✓(and resets automatically if you later regenerate your keypair or change the public key host or domain).
- If your
- Step 4 — Test & submit your free template PR (
templates/<providerId>.<serviceId>.json):- Click Download
.json(or Copy JSON) and open the Online Editor (https://domainconnect.paulonet.eu/dc/free/templateedit). Paste your JSON, enter sample variable values, and generate both required Markdown test links:- Test 1 (apex): leave
Hostempty /@→ click Test apply template → click Copy as Markdown link (GitHub), then paste into Online Editor link 1 — Apex in WHMCS. - Test 2 (subdomain): set
Hosttomail→ click Test apply template → click Copy as Markdown link (GitHub), then paste into Online Editor link 2 — Subdomain in WHMCS.
- Test 1 (apex): leave
- As you paste both links into the GitHub Pull Request — Ready-to-Paste Title & Description card in Step 4, WHMCS automatically splices them into the pre-filled PR description and flips the status to Ready.
- Browser-only GitHub upload (no Git CLI required): open Domain-Connect/Templates → click Fork → Create fork → open the
templates/folder → click Add file → Upload files → drop<providerId>.<serviceId>.json→ click Commit changes. On your fork’s main page, click Contribute → Open pull request, paste the copied PR title and PR description (replacing GitHub’s default template text), and click Create pull request. - Once your PR is merged, click Check template sync in Step 4. ImpulseMail probes both
Domain-Connect/Templates(master) and GoDaddy’s public template API and turns Step 4 green✓. Supported DNS providers sync newly merged templates automatically (typically within 24–72 hours), lighting up the 1-click Connect button on customer Domains tabs automatically.
- Click Download

7. Operator DNS provider setup
Section titled “7. Operator DNS provider setup”ImpulseMail manages your operator mail zone automatically from WHMCS so server provisioning, IP rotation, customer DKIM key rotation, and teardown require zero manual DNS edits. Customers can still host their own sending domains at any DNS provider — only your operator mail zone needs API access.

What ImpulseMail manages in your operator DNS zone
Section titled “What ImpulseMail manages in your operator DNS zone”| Record pattern | Type | Managed when | Purpose |
|---|---|---|---|
<server_uid>.<mail_base_domain> |
A / AAAA |
Provision, IP rotation, teardown | Mail server gateway hostname and FCrDNS forward mapping |
spf.<mail_base_domain> |
TXT |
Provision, IP rotation, teardown | Shared pool SPF include (include:spf.<mail_base_domain>) updated automatically with active sending IPs |
rp-<server_uid>.<mail_base_domain> |
TXT + MX 10 |
Provision, teardown | Per-server Return-Path target for customer imbounces CNAMEs, bounce intake, ARF feedback loops, and DMARC rua reports |
dk-<uid>.dkim.<mail_base_domain> |
TXT |
Customer adds domain or clicks Rotate DKIM key | Managed DKIM public-key target for customer im._domainkey CNAMEs (enables zero-downtime customer DKIM rotation) |
_dck1.<pubkey_domain> |
TXT |
Optional Domain Connect Step 3 | Chunked RSA-2048 public key for Domain Connect Sync UX request signing |
Supported operator DNS providers
Section titled “Supported operator DNS providers”| Provider | Auth method | Zone ID required? | Key notes |
|---|---|---|---|
| Cloudflare | API Token (Authorization: Bearer) |
Required (auto-detectable) | Free Cloudflare DNS plan works; default provider |
| AWS Route 53 | IAM Access Key ID + Secret Key (SigV4) | Optional (auto-detectable) | Pure-PHP SigV4 signing; splits long RSA-2048 DKIM TXT records into RFC 1035 255-byte chunks automatically |
| PowerDNS (HTTP API) | X-API-Key header + API URL |
No (uses zone name) | Ideal for hosting companies running self-hosted ns1/ns2 clusters; requires PowerDNS Authoritative HTTP API (api=yes) |
| Bunny DNS | Account API Key (AccessKey) |
Optional (auto-detectable) | Uses Bunny’s DNS Zone REST API (api.bunny.net) |
| DigitalOcean DNS | Personal Access Token (Bearer) |
No (uses zone name) | Free DNS hosting even without Droplets (DigitalOcean is supported for DNS, while DigitalOcean Droplets remain excluded for mail servers due to port 25) |
| Hetzner DNS | DNS API Token (Auth-API-Token) |
Optional (auto-detectable) | Free DNS via Hetzner DNS Console (dns.hetzner.com) |
Important: Mail base domain vs. DNS zone name
Section titled “Important: Mail base domain vs. DNS zone name”Always distinguish these two fields under Settings → DNS & TLS:
- Mail base domain (
mail_base_domain) — the subdomain your mail fleet lives under, for examplemail.yourbrand.com. - DNS zone name (
dns_zone_name, required) — the authoritative zone domain hosted in your DNS provider, for exampleyourbrand.com(not themail.subdomain, unless you explicitly delegatedmail.yourbrand.comas its own separate authoritative zone).
Provider-by-provider setup
Section titled “Provider-by-provider setup”Cloudflare
Section titled “Cloudflare”- In the Cloudflare dashboard, open My Profile → API Tokens → Create Token → Create Custom Token.
- Grant two permissions scoped to your operator mail zone:
- Zone → Zone → Read (required for Auto-detect zone & ID)
- Zone → DNS → Edit (required to publish and clean up records)
- Copy the display-once token.
- In WHMCS, open Addons → ImpulseMail → Settings → DNS & TLS, select Cloudflare, enter your Mail base domain, paste the token into Cloudflare API token, and click Auto-detect zone & ID (or paste the Zone ID from your Cloudflare zone Overview sidebar). Click Save DNS settings.
AWS Route 53
Section titled “AWS Route 53”- In the AWS IAM console, create an IAM user for WHMCS and attach a least-privilege inline policy scoped to your Hosted Zone (replace
Z0123456789ABCDEFwith your real Hosted Zone ID):
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": ["route53:ListHostedZones"], "Resource": "*" }, { "Effect": "Allow", "Action": [ "route53:GetHostedZone", "route53:ListResourceRecordSets", "route53:ChangeResourceRecordSets" ], "Resource": "arn:aws:route53:::hostedzone/Z0123456789ABCDEF" } ]}- Create an Access Key for that IAM user and copy the Access Key ID and Secret Access Key.
- In WHMCS (Settings → DNS & TLS), select AWS Route 53, enter your Mail base domain, AWS Access Key ID, and AWS Secret Access Key, then click Auto-detect zone & ID (if you omitted
route53:ListHostedZonesfor an even tighter IAM policy, enter your DNS zone name and Route 53 Hosted Zone ID manually). Click Save DNS settings.
PowerDNS (Authoritative HTTP API)
Section titled “PowerDNS (Authoritative HTTP API)”- On your PowerDNS Authoritative primary server, enable the built-in HTTP API in
/etc/powerdns/pdns.confand restartpdns:
api=yesapi-key=YOUR_STRONG_RANDOM_API_KEYwebserver=yeswebserver-address=0.0.0.0webserver-port=8081webserver-allow-from=YOUR_WHMCS_SERVER_IP/32- Restrict port
8081(or your HTTPS reverse proxy in front of it) in your firewall so only your WHMCS server IP can reach the PowerDNS API. Ensure your operator zone (for exampleyourbrand.com) already exists in PowerDNS. - In WHMCS (Settings → DNS & TLS), select PowerDNS (HTTP API), enter your PowerDNS API base URL (for example
https://ns1.yourbrand.com:8081—/api/v1is appended automatically if omitted), PowerDNS API key, and PowerDNS server ID (defaultlocalhost). Click Auto-detect zone & ID and Save DNS settings.
Bunny DNS
Section titled “Bunny DNS”- Add your operator mail zone in the Bunny Dashboard under DNS.
- Open Account Settings → API and copy your Account API Key.
- In WHMCS (Settings → DNS & TLS), select Bunny DNS, enter your Mail base domain and Bunny DNS API key, click Auto-detect zone & ID (to fill your zone name and numeric Zone ID automatically), and click Save DNS settings.
DigitalOcean DNS
Section titled “DigitalOcean DNS”- Add your operator mail domain under Networking → Domains in DigitalOcean (DNS hosting is free even if you run zero Droplets).
- Open API → Personal Access Tokens → Generate New Token with read and write scopes on Domains (
domain:read,domain:create,domain:update,domain:delete). - In WHMCS (Settings → DNS & TLS), select DigitalOcean DNS, enter your Mail base domain and DigitalOcean Personal Access Token, click Auto-detect zone & ID (no separate Zone ID is required), and click Save DNS settings.
Hetzner DNS
Section titled “Hetzner DNS”- Add your operator mail zone in the Hetzner DNS Console (
dns.hetzner.com). - Open API Tokens in the Hetzner DNS Console and create a new token.
- In WHMCS (Settings → DNS & TLS), select Hetzner DNS, enter your Mail base domain and Hetzner DNS API token, click Auto-detect zone & ID, and click Save DNS settings.
Verify your DNS setup end-to-end
Section titled “Verify your DNS setup end-to-end”After clicking Save DNS settings, always click Test DNS credentials & permissions in the panel directly below. ImpulseMail runs three live checks against your selected provider:
- Credentials active — confirms the token/key authenticates cleanly.
- Zone:Read — confirms your authoritative zone resolves (and matches your configured Zone ID, if set).
- DNS:Edit — creates one temporary throwaway TXT record (
_impulsemail-permcheck-...) and immediately deletes it to prove end-to-end write and teardown permissions before you provision your first mail server.
Operator domain hygiene (MX, postmaster@ & abuse@)
Section titled “Operator domain hygiene (MX, postmaster@ & abuse@)”Directly below the DNS permission test, the Operator domain hygiene (MX, postmaster & abuse) panel runs a live MX check against your root operator domain (dns_zone_name, for example yourbrand.com):
- Publish an
MXrecord on your root domain and configure mailboxes or aliases forpostmaster@<yourdomain>andabuse@<yourdomain>(for example via Microsoft 365, Google Workspace, or Cloudflare Email Routing). RFC 5321 and major receiving filters (Apple iCloud / Proofpoint, Microsoft 365, Gmail, Yahoo/AOL) expect the sending infrastructure’s root domain to accept postmaster and abuse mail. - Zero conflict with ImpulseMail: ImpulseMail publishes all relay hostnames, DKIM targets, Return-Path
MX/TXTrecords, and shared SPF records strictly under your subdomain (*.<mail_base_domain>, such as*.mail.yourbrand.com). Connecting Microsoft 365 (MX,autodiscover,selector1._domainkey,selector2._domainkey, apex SPFTXT) or Google Workspace to your apex domain coexists cleanly with ImpulseMail. - Run a live deliverability audit after provisioning: once your first mail server is live and a test domain is verified, verify your score with Mail-Tester and EasyDMARC Email Deliverability Test (both linked directly from the panel).