How to change SMTP banner? (Exchange 2019)

Evgeny Shupik 191 Reputation points
2022-10-05T07:15:18.507+00:00

Hello! Please help me with a SMTP banner for Exchange 2019 - I already changed banner for 220 response but also need to change it after HELO command:
247637-telnet.jpg

How to change server name from mail.corp.company.com to mail.company.com? Thank you for support.

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,173 questions
0 comments No comments
{count} votes

Accepted answer
  1. Joyce Shen - MSFT 16,641 Reputation points
    2022-10-06T02:24:35.993+00:00

    Hi @Evgeny Shupik

    Agree with the reply above from Andy, this error indicates you are modifying the default receive connector.

    It is not recommended and supported to modify the Default Receive Connector Authentication mechanism and FQDN. Since this would have direct impact on the internal mail flow between your mailbox servers.

    If there is any special requirement of modifying FQDN and Authentication settings, a new receive connector must be created, rather than modifying the default. (Additionally, this is also applicable for Send-Connectors)

    Take a reference at the similar error here: Rename the FQDN of default receive connector


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    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.

    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Andy David - MVP 141.6K Reputation points MVP
    2022-10-05T11:58:26.4+00:00

    The only things you can change on a custom receive connector are the SMTP banner and the FQDN of the receive connectot?

    Have you done both?

    https://learn.microsoft.com/en-us/powershell/module/exchange/set-receiveconnector?view=exchange-ps

    247735-image.png
    247791-image.png

    0 comments No comments

  2. Evgeny Shupik 191 Reputation points
    2022-10-05T12:05:02.713+00:00

    Seems to me I changed SMTP banner only:

    247782-set-receiveconnector.jpg

    Tell me please how to change FQDN - need to receive a real server name (mail.company.com) in 250 response. It shows local server name at this moment.

    Just dont make this change if this is the default receive connector as mentioned above.

    0 comments No comments

  3. Andy David - MVP 141.6K Reputation points MVP
    2022-10-05T12:20:38.17+00:00
    Set-ReceiveConnector -Identity "Default FrontEnd MAIL"  -FQDN "mail.contoso.com"  
    

    Prob need to restart transport service after that

    0 comments No comments

  4. Evgeny Shupik 191 Reputation points
    2022-10-05T12:38:24.453+00:00

    You know - something is wrong:

    247801-set-receiveconnector-error.jpg

    0 comments No comments