FQDN in Zammad whit port, fails SMTP

Used Zammad Version

latest

Environment

  • Installation method: docker compose
  • Operating system ubuntu 20.04
  • Database + version: postgresql 15
  • Elasticsearch version: latest
  • Browser + version: firefox

Actual behaviour

I configured a new ticket system with zammad, linked my office365 for incoming and outgoing mail, followed all the steps to register the oauth, but when sending an email I get Unable to send email to ‘xxxxx@hotmail.com’: Can’t use Channel::Driver::Smtp: #<Net::SMTPSyntaxError: Net::SMTPSyntaxError>" then I saw a similar problem and they told me that it is the FQDN there my application is with a port and that port is used for the microsoft callback registered in azure, if I delete it it does not authenticate the office 365 account again, then I remove that port and there it does send the emails

Expected behaviour

So maybe add a variable fqdn_without_port or remove the port automatically or allow to override the sender in the same form.

Steps to reproduce the behaviour

install Zammad on an url with port and then try to set up smtp in the initial installation flow

Support Ticket

No response

I’m sure this is a bug and no feature request or a general question.

no