Suspension & Lifecycle
EmBoux lets you freeze a domain’s mail delivery without deleting any data. This is useful for:
- Customers who haven’t paid
- Grace period enforcement
- Temporary service holds
Suspend Domain
Section titled “Suspend Domain”PUT /domains/{domain_name}/suspendFreezes inbound mail delivery. Existing emails and configuration are preserved. The domain remains registered but EmBoux will reject new incoming mail.
Example
Section titled “Example”curl -X PUT https://api.emboux.com/domains/mycompany.com/suspend \ -H "Authorization: Bearer YOUR_API_KEY"Response 200 OK
Section titled “Response 200 OK”{ "name": "mycompany.com", "suspended": true, "message": "Domain suspended"}Activate Domain
Section titled “Activate Domain”PUT /domains/{domain_name}/activateRestores mail delivery for a suspended domain.
Example
Section titled “Example”curl -X PUT https://api.emboux.com/domains/mycompany.com/activate \ -H "Authorization: Bearer YOUR_API_KEY"Response 200 OK
Section titled “Response 200 OK”{ "name": "mycompany.com", "suspended": false, "message": "Domain activated"}How It Works
Section titled “How It Works”When you suspend a domain:
- EmBoux marks the domain as suspended
- Incoming SMTP connections for the domain are rejected
- IMAP/POP3 login attempts are blocked
- No data is deleted — mailboxes, aliases, and stored emails remain intact
When you activate:
- The suspension is lifted
- Mail delivery and client access resume immediately
Automated Suspension (Odoo Integration)
Section titled “Automated Suspension (Odoo Integration)”If you’re using the EmBoux Odoo module, suspension is managed automatically:
- Quota exceeded — Customer uses more domains than their plan allows
- Grace period — 30-day window to regularize (with email reminders at days 7, 15, 22)
- Auto-suspend — After grace period, excess domains are suspended (most recent first)
- Auto-reactivate — When the customer pays or upgrades, domains are reactivated automatically
This entire flow is hands-free. See the Odoo Integration guide for details.