Recommended Posts

Hey guys,

I've been banging my about this for so long I'm sure I'm just going round in circles.

I have an exchange 2003 Server emails appear to get stuck in the queue.

I have run smtpdiag and this is the output I get:


Searching for Exchange external DNS settings.
Computer name is ******-SERVER.
VSI 1 has the following external DNS servers:
208.67.222.222

Checking SOA for ****construction.com.
Checking external DNS servers.
Checking internal DNS servers.
SOA serial number match: Passed.


Checking local domain records.

Checking MX records using TCP: ******international.com.
Checking MX records using UDP: ******international.com.
Both TCP and UDP queries succeeded. Local DNS test passed.

Checking remote domain records.

Checking MX records using TCP: ****construction.com.
Checking MX records using UDP: ****construction.com.

Both TCP and UDP queries succeeded. Remote DNS test passed.


Checking MX servers listed for *@****construction.com.
Connecting to mail.***construction.com [81.***.2*8.1*4] on port 25.
Failed to receive data. Error: 10054
Error: Expected "250". Failed to get a response from the server.
Failed to submit mail to mail.asemconstruction.com.
[/CODE]

I keep getting Error:10054 no matter what email server I try to send to.

If however I telnet into a mail server it works perfectly fine and I get no errors :(

This is doing my head in!

Any help would be greatly appreciated.

James

Link to comment
https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/
Share on other sites

It's been a long while since I looked at Exchange 2003, but a good place to start would be to enable SMTP logs; http://www.msexchange.org/articles-tutorials/exchange-server-2000/monitoring-operations/Logging_the_SMTP_Service.html

Have you looked/checked all services are running?

looks like firewall or something?

I thought that, all the ports are open. Could this be as simple as a faulty router?

It's been a long while since I looked at Exchange 2003, but a good place to start would be to enable SMTP logs; http://www.msexchang...TP_Service.html

Have you looked/checked all services are running?

All the services are running yes I'll get a log in a moment.

SK[' timestamp=1361532934' post='595536540]

Sorry, you can telnet from the exchange server to the server it's attempting to reach then?

As a quick fix can you not relay via your ISP's mail server (Smart Host)?

Yes I can telnet to the mail server perfectly fine and issue commands without being booted.

I'm just about to try the smart host now.

--EDIT--

Okay..... The Smart Host hasn't worked. Setting up the smart host still gives me the same issues. In the queue I have this error message:

The connection was dropped by the remote host.

when you are running telnet, are you running it from the mail server? This would test port 25 on the mail server to negate any firewalls.

Next you will have to try to find an application conflict, you should also check to see if your smtp service is running as well as your transports. I don't have a 2003 server to help you troubleshoot, I am going off memory and I believe you have to have the microsoft smtp service enabled to even think about sending and receiving mail.. also you will need to make sure the exchange routing engine is started in services.msc

Look at your event logs as well for errors.

when you are running telnet, are you running it from the mail server? This would test port 25 on the mail server to negate any firewalls.

Next you will have to try to find an application conflict, you should also check to see if your smtp service is running as well as your transports. I don't have a 2003 server to help you troubleshoot, I am going off memory and I believe you have to have the microsoft smtp service enabled to even think about sending and receiving mail.. also you will need to make sure the exchange routing engine is started in services.msc

Look at your event logs as well for errors.

I have indeed been running the telnet commands from the mail server.

The SMTP service is started as is the exchange routing engine, both services have also been restarted and still not working :(

You have something that is stopping communications. Do you have a spam filter? What is the outbound rate limit (this will log jam the crap out of your server).

Looking at your log, I would say that you have a low rate limit set on your outbound mail filter. Just to the 1 IP you have over 100 going to it. Set it to 200 or 500.

Here is a pic of my barracuda you will see that it is at the default, some are much lower set to around 50 per Sender.

post-118098-0-79906200-1361541827.jpg

You have something that is stopping communications. Do you have a spam filter? What is the outbound rate limit (this will log jam the crap out of your server).

Looking at your log, I would say that you have a low rate limit set on your outbound mail filter. Just to the 1 IP you have over 100 going to it. Set it to 200 or 500.

Here is a pic of my barracuda you will see that it is at the default, some are much lower set to around 50 per Sender.

At the moment these limits are off...

The one that is on was already set to MUCH higher than 500

post-279758-0-72473800-1361542296.png

Just took another look at that log file....postfix is your smtp outbound, you will need to check that box to allow through....it is caught up in there. Judging from the codes you are getting...fix your spam filter.

We don't use PostFix :s There is nothing installed on this server apart from exchange.

lets start simply....do you have a spam solution outside of your exchange solution?

do you have anything setup in your smarthost?

Servers/Your_Server/Protocols/SMTP/Your_SMTP_Virtual_Server

Right-click Your_SMTP_Virtual_Server, and then click Properties.

Click the Delivery tab, and then click Advanced.

In the Smart host box, type the name of the smart host server.

There are 2 areas that I can remember where you can add a smart host....this is one of two.

lets start simply....do you have a spam solution outside of your exchange solution?

No, Exchange is configured to send mail via DNS, we aren't using a Smart Host. The email is not configured to "go" anywhere else.

We don't use PostFix :s There is nothing installed on this server apart from exchange.

sorry looking at other domains in your mail logs. It could be on there end causing the issue and you will have to wait for their mail server to accept mail from you again, if they have a low rate control (the top field in my pic above). (you have no control over this). try sending mail to a gmail or yahoo account. does it work?

sorry looking at other domains in your mail logs. It could be on there end causing the issue and you will have to wait for their mail server to accept mail from you again, if they have a low rate control (the top field in my pic above). (you have no control over this). try sending mail to a gmail or yahoo account. does it work?

SK[' timestamp=1361543221' post='595536752]

Is all mail being queued or just mail for one domain your sending to?

It looks like it is ANY domain.

I cannot send to Outlook.com, gmail.com, yahoo.co.uk I cannot send to any domain at the moment.

SK[' timestamp=1361543358' post='595536764]

Receiving OK?

I am receiving emails perfectly yeah.

Hi,

Port 25 is a wide open SMTP port - have you checked for a higher range port that supports SSL or STARTTLS?

What other ports can I use? I here 10025 is used in places? Doing this won't cause issues will it?

SK[' timestamp=1361543221' post='595536752]

Is all mail being queued or just mail for one domain your sending to?

If you look at the log file he posted, it looks like the majority of it is spamming domains and those domains have stopped allowing him to spam them. download it and organize by column c...100's going to the same ip addresses. there is 1 ip that has less than 15. everything else seems to be very very high.

would it be possible to setup a teamviewer session so that I can see what is going on. it is completely up to you, I am willing to led a hand if you would like me to.

SK[' timestamp=1361543629' post='595536778]

I looked at the log, tried to open it in Notepad which failed hard.

Shove your external IP in here to see if your on a spam database... http://www.spamhaus.org/lookup/

yeah, try excel viewer.

http://www.microsoft.com/en-us/download/details.aspx?id=10

SK[' timestamp=1361543629' post='595536778]

I looked at the log, tried to open it in Notepad which failed hard.

Shove your external IP in here to see if your on a spam database... http://www.spamhaus.org/lookup/

Yeah I've checked for spam listings, they aren't listed anywhere.

would it be possible to setup a teamviewer session so that I can see what is going on. it is completely up to you, I am willing to led a hand if you would like me to.

If you want to private message me, then I can set this up thanks.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Still 93% off: Microsoft Visual Studio Professional 2026 lifetime digital license by Steven Parker Today's highlighted deal comes via our Apps + Software section of the Neowin Deals store, where for a limited time you can still save 93% on Microsoft Visual Studio Professional 2026. Code Faster, Work Smarter with Visual Studio 2026 Visual Studio Professional 2026 is a fully featured development environment that developers around the world know & love — now enhanced with deeper AI integration, improved performance & more powerful collaboration tools. Built as a 64-bit IDE, it makes it easier than ever to work with very large solutions & complex workloads. Boost your productivity, write high-quality code & re-imagine team collaboration with an advanced suite of tools & built-in integrations designed to tackle the most demanding development workflows & deliver modern, cloud-connected applications. Build across languages and platforms Craft cross-platform mobile & desktop apps with .NET MAUI Build responsive Web UIs in C# with Blazor Build, debug, & test .NET & C++ apps targeting Windows, Linux & containers Use hot reload capabilities across .NET & C++ apps to apply code changes instantly Edit running ASP.NET/ASP.NET Core pages in the web designer view Integrate seamlessly with Azure, GitHub & other DevOps workflows Type less, code more with Intellicode and AI Understand your code context: variable names, functions, libraries & the type of code you’re writing Complete a line or block of code based on patterns learned from your codebase Get a ranked list of next best suggestions, helping you code more rapidly & accurately Use built-in AI-assisted refactoring & code suggestions to reduce bugs & boilerplate Gain deep insights into your code with codelens Reveal crucial information such as recent changes, authors, tests & commit history directly in the editor See test status & references without leaving your code Make informed decisions with a comprehensive overview of your codebase and activity Collaborate seamlessly with live share Run real-time collaboration sessions with teammates — no need for them to clone repos or install all dependencies Speed up your team’s edit & debugging cycles with personalized sessions, access controls & custom editor settings Keep everyone aligned so your team’s code stays consistent & maintainable Good to know Length of access: Lifetime License type: Professional, single-user license Redemption deadline: Redeem your code within 30 days of purchase Access options: Desktop installation on supported Windows operating systems Max number of device(s): 1 Version: Visual Studio Professional 2026 Languages supported: English, Chinese (Simplified), Chinese (Traditional), Czech, French, German, Italian, Japanese, Korean, Polish, Portuguese (Brazil), Russian, Spanish, and Turkish. Updates included: Minor updates and security fixes for the 2026 Professional release channel (according to Microsoft’s lifecycle policy) Activation method: Online activation with Microsoft account required Microsoft Visual Studio Professional 2026 normally costs $499.99, but this deal can be yours for just $34.97, that's a saving of $465. For full terms, specifications, and license info please click the link below. Get Visual Studio 2026 now for just $34.97 (was $499.99) Time limited deal Although priced in U.S. dollars, this deal is available for digital purchase worldwide. Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • My current phone, on left, is starting to go to sleep, and not turning on, even though I press the power button 100 times. Like CPR.   I tried factory resetting it, and nothing changed. So it's the hardware failing. I currently am using Twigby as my service provider. Cheapest I can get around here. But all their phones are carp.. https://www.twigby.com/shop/twigby-phones A friend warned me about the Moto G, as his neice has one, and isn't that good at $130. Also the Samsung A15 is laughable at best. Everything else is expensive af. I want android, (hate iOS) any version, that works with Twigby, under $100, please. Refurbished/Used is OK with me, as long as it isn't beat up.   If you know the IMEI number, you can see if it works with Twigby: https://www.twigby.com/page/byod
    • i not arguing that it isnt ######, only that it does support themes lol.
    • Bulk Crap Uninstaller 6.2 by Razvan Serea Bulk Crap Uninstaller is a free (as in speech) program uninstaller. It excels at removing large amounts of applications with minimal user input. It can clean up leftovers, detect orphaned applications, run uninstallers according to premade lists, and much more. Even though BCU was made with IT pros in mind, by default it is so straight-forward that anyone can use it effortlessly! Bulk Crap Uninstaller features: Detect and uninstall Windows Store apps Uninstall multiple items at once to speed up the process (with collision prevention) Uninstall any number of applications in a single batch Minimal user input is required during uninstallation Can find and remove leftovers after uninstallation Can uninstall some apps even if they don't have any uninstallers Detects applications with damaged or missing uninstallers Adds quiet uninstall options to some uninstallers, even if they do not support them by default Uninstall lists for automation Startup manager Verification of uninstaller certificates Fully portable, settings are saved to a single file Bulk Crap Uninstaller 6.2 changelog: Features Add invalid-uninstaller view preset by @breshinotestachegira in #903 Add certificate and integrity columns to app list by @breshinotestachegira in #894 Improve Scoop custom path detection by @breshinotestachegira in #892 Fixes Improve uninstall list load error handling by @breshinotestachegira in #895 Fix tweak visibility filtering by @breshinotestachegira in #898 Fix orphaned-only view preset by @breshinotestachegira in #899 Stabilize icon handle ownership by @breshinotestachegira in #902 Fix: Use Directory.GetLastWriteTime for install date fallback by @AniketDeshmane in #908 Do not offer to send "no way to uninstall" error messages by @Klocman in #922 Ignore ERROR_BAD_CONFIGURATION when listing MSI components by @Klocman in #924 Eat InvalidOperationException coming from ListViewGroupAccessibleObject by @Klocman in #925 Harden BCU console export and size detection - Fix BCU-console export failures by @breshinotestachegira in #897 Harden registry factory parsing by @breshinotestachegira in #893 Guard startup uninstall list loading by @breshinotestachegira in #927 Clean generated files on uninstall by @One-Simon in #928 Translations Updated Hungarian translation by @titanicbobo in #875 Updated Vietnamese translations by @wanwanvxt in #918 Fix : Swedish translation causes UI overflow in some windows by @Leise-Shadow in #865 Other Fix publish script after v6.1 by @tsiakoulias in #868 Updated the localization pack Repository Moved the repository under a new BCUninstaller organization (old links still work) Added two maintainers: @hazeliscoding and @One-Simon Added PR merge rules (require up-to-date approval and CI to pass) Updated CI script to also build the launcher (only for testing, not included in artifacts) Download: Bulk Crap Uninstaller 6.2 | 8.8 MB (Open Source) Download: Bulk Crap Uninstaller Portable | 11.6 MB View: Bulk Crap Uninstaller Home Page | GitHub | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
    • First Post
      X-No-file earned a badge
      First Post
    • One Month Later
      johnjacobb40 earned a badge
      One Month Later
    • One Year In
      Primer1st earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      511
    2. 2
      PsYcHoKiLLa
      210
    3. 3
      +Edouard
      146
    4. 4
      Steven P.
      88
    5. 5
      ATLien_0
      82
  • Tell a friend

    Love Neowin? Tell a friend!