Currenly it relies totally on the PHP configuration. Most of the time if sendmail is installed on a linux box you don't need to change anything at all with the php config. Now that we've switched to a new mailer library I think I can put in a config option to specify a mailserver to use. That likely wouldn't come until 7.1 however.