How to change smtp banner on a Exchange DAG 2019

Henning Svane 21 Reputation points
2023-01-17T23:44:49.0366667+00:00

I would like to change our banner so it match our MX.

I would like to preserve the original layout but only change the server name.

I have tried this but it do not translate <RegionalDay-Date-24HourTimeFormat> <RegionalTimeZoneOffset> as I hoped.

"XMAILDB01\Default Frontend XMAILDB01" –Banner "220 mail.corp.com Microsoft ESMTP MAIL service ready at <RegionalDay-Date-24HourTimeFormat> <RegionalTimeZoneOffset>"

But my other problem when I read a similary case:

https://learn.microsoft.com/en-us/answers/questions/1035819/how-to-change-smtp-banner-(exchange-2019)

It says this was not the way to do it if you have more mail servers as we have in our DAG cluster.

So how to do it?

All this because our Reverse DNS does not match SMTP Banner and spam filers are not happy about this.

Regards

Henning

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
67 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Jame Xu-MSFT 2,926 Reputation points Microsoft Employee
    2023-01-18T07:39:44.9866667+00:00

    Hi @Henning Svane ,

    As stated in the documentation you provided, you could not directly modify the default receive connector, you need to create a new receive connector to do what you expect.

    You could refer to: Modify the SMTP banner on Receive connectors


    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.

    No comments

  2. Henning Svane 21 Reputation points
    2023-01-18T19:41:22.6466667+00:00

    Hi

    Thanks for replying

    Yes I have read that link already, but it do not give any information about the 2 questions

    No information about injecting <RegionalDay-Date-24HourTimeFormat> <RegionalTimeZoneOffset> in the banner

    Also it only explanse how to set the banner. So if you follows the explanasion you end up with "220 mail.corp.com" and that was not what I was looking for.

    Also when it is explaned, you cannot use the default receive connector, it is not clear what then.

    Should I disable the default receive connector, and create a new , and use that insted and modify the banner for this on? And the new receive connector still use port 25/tcp.

    Regards

    Henning

    No comments

  3. Andy David - MVP 109.8K Reputation points Microsoft MVP
    2023-01-18T19:52:00.6466667+00:00

    The banner is simply text, you cant insert anything but that.

    For that second question, yes you create a new receive connector for port 25 for all IP remote ranges and anonymous permissions, then disable the Default Front End Receive connector which is the entry point to Exchange for external messages normally.

    No comments

  4. Henning Svane 21 Reputation points
    2023-01-18T20:28:10.9133333+00:00

    Hi Andy

    Thanks I will try to make a new Receive connector.

    I was just hoping to make a banner like the default but just with MX dns record. As I like it with timestamp.

    Regards

    Henning

    No comments

  5. Amit Singh 3,101 Reputation points
    2023-01-19T06:38:23.3066667+00:00

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

    No comments