Mail queues remain in the exchange server after shift isp primary to secondary

Amol Pande 0 Reputation points
2025-01-03T07:32:59.4+00:00

Dear All experts,

Good day,

We had an exchange in 2019. Exchange-server-1 and Exchange-server-2. If I assign internet from the primary isp, through the firewall. Then it works fine. But when I turn off the primary. And switch to a secondary isp, then all mail queues remain in the exchange server.

When I shift to primary, everything works fine. So I need your help and advice in this. We use the Sonicwall 3650 model as a firewall.

When a client sends a mail, it goes from server 1 to server 2 and then goes out or it doesn’t go outseconday queue

primary isp

When the primary isp is up mail works properly. but when I apply secondary link mails not work it is stuck in queue

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,400 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,532 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
620 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xintao Qiao-MSFT 5,630 Reputation points Microsoft Vendor
    2025-01-03T09:16:36.5033333+00:00

    Hi, @Amol Pande

    Given that everything is fine when you assign internet from the primary isp through the firewall, the exchange server should not be a problem.

    The problem may be in the way the Sonicwall 3650 firewall handles traffic.

    Based on this situation it is recommended that you perform the following troubleshooting:

    1.Ensure that both Exchange servers are able to resolve DNS names when using a secondary ISP. You may need to configure the DNS settings on the server or firewall to use the public DNS servers when the secondary ISP is active.

    2.Ensure that the SonicWall 3650 has the necessary rules to allow outbound SMTP traffic (typically TCP port 25) when using the secondary ISP. Check to see if there are any restrictive rules that only allow outbound mail traffic to flow through the primary ISP.

    3.Verify that NAT policies are properly configured for both ISPs. Ensure that NAT rules exist to handle outbound traffic for mail services when using the secondary ISP.

    4.Check the firewall logs for any errors or blocked traffic when switching to the secondary ISP.

    5.If possible temporarily disable the firewall and test with the secondary ISP to see if there are any errors.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


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.