To add catch-all mailbox alias for a domain, use the AddCatchall
script. Before taking any actions, make sure domain is active and not suspended.
/usr/local/bin/AddCatchall
-d|--domain
-u|--user
-f|--forward
where
-d, --domain
is
domain name, mandatory.-u, --user
is the user name, should be a valid name of ftp user(mailbox) for a domain.-f, --forward
is a valid forward mailbox name, can be multiple, separated by comma without spaces.Note: Arguments mandatory for long options are mandatory for short options too.
AddCatchall -d test1.com -f test2@test2.com
or
AddCatchall --domain test1.com --forward test2@test2.com
or
AddCatchall -d test1.com -f test2@test2.com,test3@test3.com