Hi, I’m trying to delete multiple users in FortiMail using a script, but the command config user local doesn’t work. What’s the correct command to delete users via a media script?
Hi
Did you try this:
config domain
edit domain-name
config user mail
Ref: FortiMail 7.2.2 CLI ref
Then it should be "delete user-name".
I don't have a lab FML to test it but I believe it should be the right method.
Hope it helps
User | Count |
---|---|
2428 | |
1303 | |
778 | |
556 | |
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.