How to use mail without website

Is it possible with cyberpanel to use following configuration:
web access: webmail.mycomany,com
imap: imap.mycompany,com
smtp: smtp.mycomany,com
email address: person@mycompany,com
And don’t use mycompany,com in cyberpanel. mycomany,com is hosted on different machine.
How to achieve it?

Just point mail dns on server that handle mail and website on other server.

Would you explain me in more detail?

Do you mean that I need to set mycompany,com domain to cyberpanel server, than in its dns settings redirect it to another server?
if yes, than I want to use only mail. No websites and no dns. Without any excessive redirections.

How to change these parameters?

and delete this root domain without deleting child mail domain?