"shouldn't osticket allow us to enter the emails server name and
credentials rather than assuming that the emails server is
mail.mydomain.com"I have no idea why you would seem to think that osTicket doesn't let you enter the emails server name...Admin panel -> Emails -> click on the email you want to edit (or add a new one) see field labelled "Hostname".