+KibosJ Subscriber² Posted February 22, 2013 Subscriber² Share Posted February 22, 2013 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.222Checking 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: 10054Error: 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 More sharing options...
AStaUK Posted February 22, 2013 Share Posted February 22, 2013 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? Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536526 Share on other sites More sharing options...
Storm Posted February 22, 2013 Share Posted February 22, 2013 looks like firewall or something? MorganX 1 Share Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536532 Share on other sites More sharing options...
+KibosJ Subscriber² Posted February 22, 2013 Author Subscriber² Share Posted February 22, 2013 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. Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536534 Share on other sites More sharing options...
]SK[ Posted February 22, 2013 Share Posted February 22, 2013 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)? Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536540 Share on other sites More sharing options...
+KibosJ Subscriber² Posted February 22, 2013 Author Subscriber² Share Posted February 22, 2013 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. Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536544 Share on other sites More sharing options...
+KibosJ Subscriber² Posted February 22, 2013 Author Subscriber² Share Posted February 22, 2013 I have attached the SMTP log in a zip file :) log.zip Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536574 Share on other sites More sharing options...
sc302 Veteran Posted February 22, 2013 Veteran Share Posted February 22, 2013 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. Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536670 Share on other sites More sharing options...
+KibosJ Subscriber² Posted February 22, 2013 Author Subscriber² Share Posted February 22, 2013 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 :( Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536678 Share on other sites More sharing options...
sc302 Veteran Posted February 22, 2013 Veteran Share Posted February 22, 2013 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. Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536688 Share on other sites More sharing options...
sc302 Veteran Posted February 22, 2013 Veteran Share Posted February 22, 2013 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. Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536720 Share on other sites More sharing options...
+KibosJ Subscriber² Posted February 22, 2013 Author Subscriber² Share Posted February 22, 2013 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 Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536726 Share on other sites More sharing options...
+KibosJ Subscriber² Posted February 22, 2013 Author Subscriber² Share Posted February 22, 2013 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. Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536732 Share on other sites More sharing options...
sc302 Veteran Posted February 22, 2013 Veteran Share Posted February 22, 2013 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. Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536738 Share on other sites More sharing options...
+KibosJ Subscriber² Posted February 22, 2013 Author Subscriber² Share Posted February 22, 2013 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. Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536744 Share on other sites More sharing options...
sc302 Veteran Posted February 22, 2013 Veteran Share Posted February 22, 2013 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? Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536750 Share on other sites More sharing options...
]SK[ Posted February 22, 2013 Share Posted February 22, 2013 Is all mail being queued or just mail for one domain your sending to? Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536752 Share on other sites More sharing options...
+KibosJ Subscriber² Posted February 22, 2013 Author Subscriber² Share Posted February 22, 2013 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. Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536758 Share on other sites More sharing options...
tim_s Posted February 22, 2013 Share Posted February 22, 2013 Hi, Port 25 is a wide open SMTP port - have you checked for a higher range port that supports SSL or STARTTLS? Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536762 Share on other sites More sharing options...
]SK[ Posted February 22, 2013 Share Posted February 22, 2013 Receiving OK? Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536764 Share on other sites More sharing options...
+KibosJ Subscriber² Posted February 22, 2013 Author Subscriber² Share Posted February 22, 2013 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? Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536770 Share on other sites More sharing options...
sc302 Veteran Posted February 22, 2013 Veteran Share Posted February 22, 2013 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. Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536774 Share on other sites More sharing options...
]SK[ Posted February 22, 2013 Share Posted February 22, 2013 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/ Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536778 Share on other sites More sharing options...
sc302 Veteran Posted February 22, 2013 Veteran Share Posted February 22, 2013 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 Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536782 Share on other sites More sharing options...
+KibosJ Subscriber² Posted February 22, 2013 Author Subscriber² Share Posted February 22, 2013 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. Link to comment https://www.neowin.net/forum/topic/1137918-exchange-2003-queue-stuck/#findComment-595536798 Share on other sites More sharing options...
Recommended Posts