Enable ImprovMX forwarding for a server domain
Configures ImprovMX for inbound forwarding on the provided domain. Check getServerMailManagement before enabling: repeated enablement of a configured/pending integration is rejected, and a DNS failure after remote creation may leave partial setup requiring review before any fresh attempt. This requires a premium-eligible server profile (normally profile value above EUR 5.99 equivalent). Pass domain only for manual DNS setup, or include cfZoneId and cfAccountId for automatic DNS records. Automatic setup is rejected before creating a provider domain if an SPF TXT or MX record already exists; review existing mail routing, and use manual mode to merge the ImprovMX include into an existing SPF record rather than adding a second SPF record. After either mode, read getServerMailManagement.improvmx.dnsRecords: if Cloudflare DNS was selected Webdock writes those records automatically; otherwise have the operator add them at their DNS provider. Poll improvmx.mxVerified for live readiness (the status field updates later via a validation job); the TXT SPF record is for outbound forwarding.
Body
Webdock Cloudflare credential id from getServerMailCloudflareOptions.accounts[].id; required with cfZoneId, not a native Cloudflare account id
1 <= xOptional Cloudflare zone ID for automatic DNS setup; domain must be this zone or a subdomain of it
Response
Updated mail-management state after enabling ImprovMX
Still need help? Share an idea