Routing by CNAME possible?

I have several subnetted servers (ie ssh, web, NAS, Windows, etc.). My router/firewall already port forwards all 80/443 web traffic to my web server. I would like to now have all mail traffic (including the webmail interface on 443) routed to mail.domain.net.

​Can I route to a subnetted server by the connected CNAME somehow?

Thanks,
-T

In principle, a http proxy by SNI (or even by URL, I think). Routing is on the level of IP addresses and ports; CNAME is a way to use the same address and port.