In apache configuration, webmail vhost is defined with "ServerAlias webmail.*" so it will be only called by it. Also, webmail uses hostname from URL to define full mailname to log into webmail, so without it login would not be possible (even if 'short mailnames' are allowed).