The port component in the SMTP configuration is not coming through when using an external mailserver; instead, port 25 is used always.