When setting up a new IMAP account in Apple Mail 9.2, it gives me no option to specify the incoming and outgoing ports, not SSL options. See screenshot below.
The ability to do this would be most helpful as some mail accounts do vary from the norm in terms of default ports and SSL. When I do fill in all the fields asked for, I get the spinning progress animation for a long time before it gives up with an error (shown). I have no idea if it had tried several different ports (including the ones I want to use) or if it just kept retrying on the same (wrong settings).
Other email clients give the option to set the ports. At the moment I don't have these available and need to use Apple Mail.