You need an MX record in DNS for mydomain.com
It will tell any email servers that are looking to deliver to mydomain.com that your mail server mail.mydomain.com is handling email.
Ok, wait, I might be misreading your post, grammar got a little messy near the end
. You want all email going to the email server, right?