How to setup a domain only for mail?

,

Hi,

I want split the mail and webservice to different servers. Yunohost is for the mail and an external server is for the web. Is this easy possible or are there some troubles? Is it only part from dns? (A record to external server and mx record to yunohost) What have I to do / to configure / to respect on yunohost?

Thanks for your hints