Hi @Konstantin ,
Is it even possible to use port 587 to send email to other servers?
No, it's not possible to do this with the native Exchange Server 2019. Port 25 is required to be open for outbound mail flow according to this official document:
Network ports for clients and mail flow in Exchange
And here's a post I found about this topic for reference. The comments there also says Exchange server requires port 25.
Change Exchange 2013 SMTP port from 25 to 587(This thread is about Exchange 2013, but the basic concepts apply to Exchange 2019 as well)
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Or the only way is to use smart host?
Yes. As far as I know, you would need to use smart host if you do need to use port 587 for outbound mails. For detailed instructions, you might find the information in the blog below helpful:
Solution for ISP blocks SMTP port 25
Please Note: The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.