To delete catch-all mailbox alias for a domain or for all domains in the system, use the DelCatchall
script. Before taking any actions, make sure domain is active and not suspended.
/usr/local/bin/DelCatchall
-d|--domain
-l|--all
where
-d, --domain
is a single domain name or list of domain names or. Mandatory if no --all
or -l
parameter is specified. The list should be separated by comma and should not have spaces between domain names.-l, --all
deletes catch-all mailbox aliases for all domains in the system.Note: Arguments mandatory for long options are mandatory for short options too.
DelCatchall -d test1.com
or
DelCatchall --domain test1.com
or
DelCatchall -d test1.com,test2.com,test3.com
or
DelCatchall --all