unable to send email from exchange 19

Abdul Wahab 1 Reputation point
2021-05-09T00:01:48.493+00:00

Dear Experts I need your help,
I have installed ex19 for migration from ex16. but unfortunate i stuck an issue during migration, installation setup of ex19 done successfully. i have set virtual directories on ex19. email received from externals is ok but when changed smtp send connector from ex16 to ex19. user unable to send emails on other(external) domains, email stuck in que viewer with error code.
LED= 451.4.4.397 error communication with target host 421.4.2.1 socket timeout socket error 10060
further sometime emails delivered with delayed but mostly stuck

  1. open port scanner > port 25 is open
  2. mxtoolbox test smtp> successful and point to ex19
  3. The Microsoft Connectivity Analyzer failed to test inbound SMTP mail flow.
    Test Steps
    Attempting to retrieve DNS MX records for domain 'domain.com'.One or more MX records were successfully retrieved from DNS.
    Additional Details
    Testing Mail Exchanger smtp1.domain.com.This Mail Exchanger was tested successfully.
    Test Steps
    Testing Mail Exchanger smtp2.domain.com.One or more SMTP tests failed for this Mail Exchanger.
    Test Steps
    Attempting to resolve the host name smtp2.domain.com in DNS.The host name resolved successfully.
    Additional Details
    Testing TCP port 25 on host smtp2.domain.com to ensure it's listening and open.The specified port is either blocked, not listening, or not producing the expected response.
Exchange | Exchange Server | Management
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Amit Singh 5,306 Reputation points
    2021-05-10T08:16:06.233+00:00

    For Exchange, there are a couple of configuration overrides that you need to set for email to work:

    $config['email_crlf'] = "\r\n";
    $config['email_newline'] = "\r\n";
    Add those, restart your server, and you should be good to go.

    Note: Make sure to use those double quotes around the \r\n strings.

    1 person found this answer helpful.
    0 comments No comments

  2. Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
    2021-05-09T12:54:39.667+00:00
    1. Firewall on port 25 outbound is open? You confirmed that?
    2. Did you NAT the 2019 server to an external IP?
    3. Do you send outbound through any smarthost or other SMTP Gateway? If so, have you configured it to allow the new server to send through it?
    0 comments No comments

  3. Abdul Wahab 1 Reputation point
    2021-05-09T19:34:52.047+00:00

    thanks for your support.

    i am little confused here, as this new installation coexistence of ex16. on my old ex16 things are working smooth no issue. still when i moved my smtp towards ex16 all things start working good. but when i moved my smtp to my new server ex19 email out going start block . i don't know my troubleshooting on right side or not.

    1. i put sever firewall off and check the issue but nothing positive.
    2. Nat enabled on my firewall. email receiving on ex19 is ok, sometime outgoing worked but mostly emails stuck in que. keep trying.
    3. in my case smart host not enabled.
    0 comments No comments

  4. Eric Yin-MSFT 4,396 Reputation points
    2021-05-10T01:51:06.38+00:00

    Hi,
    "email received from externals is ok but when changed smtp send connector from ex16 to ex19"
    What did you change?
    Check if you create send connector correctly: Create a Send connector to send mail to the internet

    "user unable to send emails on other(external) domains"
    You failed testing inbound SMTP mail flow in EXRCA also, does it mean you can't sending emails both internally and externally?
    Have you changed anything on the default receive connectors since installed?

    Can you telnet you Exchange 2019 server on port 25 within you network successfully? And from external network?


    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

  5. Abdul Wahab 1 Reputation point
    2021-05-10T07:07:39.31+00:00

    on my network gateway firewall(fortigate) i just switch the local ip from ex16 to ex19 for nat binding for example
    ex16

    nothing changed in default smtp send connectors. internal domain emails send received ok on owa, outlook, and mobile.

    public IP >>NAT>>192.168.3.30(ex16)

    when change smtp from ecp from ex16 to ex19. same thing i changed in firewall for nat.
    same public IP>>NAT>>192.168.3.34(ex19) further nothing change in firewall policies.

    as you guide I found one more thing regarding smtp ports, snapshot attached. 95185-nslookup.png95087-telnet.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.