Hello everyone,
Is there a way to create a domain in Fortimail but disable it without deleting it ?
Kind regards,
Hi CL1
It seems there is no switch in GUI or CLI to disable/enable a domain.
Nevertheless if you mean by disabling it not to send/receive a mail from or to yourdomain.com, then you should be able to achieve it by adding 2 access control rules as follow:
1- Deny outbound from yourdomain.com:
2- Deny inbound to yourdomain.com:
An put those 2 rules at top.
Didn't test it but I think it should work.
When you want to enable the domain you just need to disable/delete those 2 rules.
Hi AEK,
I just want to create the domain and perform the necessary configurations in preparation for a future migration. Thatâs why Iâd like to keep it disabled for now. Thank you for the suggestion, however, in my case, it wouldnât be helpful as it would block legitimate emails.
Kind regards,
Hi CL1
Which legitimate e-mails you mean? If the domain is not in production yet then e-mails from or to yourdomain.com should all be considered as illegitimate and should be blocked. And that's exactly what perform the above rules. Or did I misunderstand your requirement?
Hi AEK,
The domain is currently running on an external mail server and will soon be migrated to FortiMail. I just want to set up the necessary configurations in FortiMail ahead of time, so when the migration happens, everything is ready. Thatâs why Iâd like to create the domain now and keep it disabled until it goes live. After the migration, Fortimail will handle two domains, one thatâs already in production in Fortimail and the other being moved from the external server to Fortimail.
Kind regards,
Hi CL1
One other possible solution is the following:
The above should be done during off hours.
And once the domain is migrated to the internal server then you just restore to restore backup_new.conf
Hope it helps.
Hi AEK,
That is actually a good alternative, I like the idea. Thanks for the help.
Kind regards,
| User | Count |
|---|---|
| 2792 | |
| 1423 | |
| 812 | |
| 748 | |
| 455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.