It has been answered several times, but it's simple.
On CWP you will create the domain as mail.domain.com
It will still create a webspace, etc. But you can ignore those.
In the DNS you will create an MX record for mail.domain.com, then an A record for mail. pointing to the IP of the CWP server.
To access webmail, you will do mail.domain.com/webmail