Fixed SMTP backends ignore the port setting.
This fixes bug#9771.