I have a domain name example.com, for which I'd like mail to be routed to different servers depending on the circumstances.
Mail sent to an @example.com address should go to the server mail.server1.com, and mail to any subdomain @*.example.com should to to mail.server2.com
Is there a way to configure MX records to do this (or any other way to do this for that matter)? Can I use wildcard DNS entries for MX records?