Then it should work
But if you want it secure, you will also need to make a certificate for webmail.domain.com and add the SSL stuff to the webmail vhost.
But if you want it secure, you will also need to make a certificate for webmail.domain.com and add the SSL stuff to the webmail vhost.