?
Solved

Outbound Email Stuck In SMTP Queue

Posted on 2005-03-07
16
Medium Priority
?
1,228 Views
Last Modified: 2008-01-09
Hi,

Small Business Server 2000 running Exchange Server 2000.  Today I started experiencing problems with both outbound and inbound emails.  Inbound are non-existant and have been speaking to hosting company who reckon everything is OK (fair enough for now).

Major problem is outbound.   It seems every email being sent is stopping in the SMTP Queue in:

Exchange System Manager > Servers > (Our server) > Protocols > SMTP > Default SMTP Virtual Server > Queues

Any that were there I enumerated and deleted and sent senders Non-Delivery Reports to clear out the queue.
I also went into the queue folder in C:\Program Files\Exchsrvr\Mailroot\vsi 1\Queue but it is empty and the folder C:\Program Files\Exchsrvr\Mailroot\vsi 1\BadMail doesnt have an extra-ordinary amount of files in here on any particular date - a couple from a few days ago.  My head is starting to go now as cannot figure this out.  Any help would be much appreciated, thanks in advance

Mark.
0
Comment
Question by:markmcelhone
15 Comments
 
LVL 22

Expert Comment

by:ATIG
ID: 13480058
Verify that DNS is working properly, attempt to telnet in/out of your network on port 25 to verify the port is being allowed. The only 2 things Exchange needs is DNS and functional port to work. I have seen RBL list cause messages to queue up on our system along with DNS, Directory, and firewall issues.
0
 
LVL 1

Author Comment

by:markmcelhone
ID: 13480819
i know this is trivial and have done it before but can you tell me how to telnet in/out of my network on port 25 and what the results should be?

i am pretty sure dns is working

RBL??
0
 
LVL 1

Author Comment

by:markmcelhone
ID: 13484423
I have, in the command prompt, connected to the ESMTP MAIL Service
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 1

Author Comment

by:markmcelhone
ID: 13484457
I have, in the command prompt, put in the command:

     >telnet 217.45.211.113 25
0
 
LVL 1

Author Comment

by:markmcelhone
ID: 13484460
I have, in the command prompt, put in the command:

     >telnet 217.45.211.113 25
0
 
LVL 1

Author Comment

by:markmcelhone
ID: 13484465
I have, in the command prompt, put in the command:

     telnet 217.45.211.113 25
0
 
LVL 1

Author Comment

by:markmcelhone
ID: 13484480
I have, in the command prompt, put in the command:

     >telnet 217.45.211.113 25

and get

     220 cpc-server.cookstownpc.local Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713 ready at  Tue, 8 Mar        
     2005 08:54:07 +0000

I then try HELO and get:

     250 server-name.local Hello [x.x.x.x]

so i then try and send an email to a local address:

     MAIL FROM:ME@MYEMAIL.COM
     250 2.1.0 me@myemail.com....Sender OK
     RCPT TO:ME@MYEMAIL.COM
     250 2.1.5 ME@MYEMAIL.COM
     DATA
     354 Start mail input; end with <CRLF>.<CRLF>
     HI MARK
     .
     250 2.6.0 <servername@servername.local> Queued mail for delivery

So this comes through to my email account with no problems.  so I then try sending to another external address using:

     MAIL FROM:ME@MYEMAIL.COM
     250 2.1.0 me@myemail.com....Sender OK
     RCPT TO:ME@ANOTHEREMAIL.COM
     250 2.1.5 ME@ANOTHERMYEMAIL.COM
     DATA
     354 Start mail input; end with <CRLF>.<CRLF>
     HI MARK
     .
     250 2.6.0 <servername@servername.local> Queued mail for delivery

And now this outbound email is stuck in the SMTP queue as before, any ideas??
0
 
LVL 6

Expert Comment

by:_ruudsje_
ID: 13484529
Can you telnet on port 25 to any other mailserver on the internet from your own mailserver
0
 
LVL 1

Author Comment

by:markmcelhone
ID: 13484551
dont know the addresses of any other mail servers i could try, any suggestions?
0
 
LVL 6

Expert Comment

by:_ruudsje_
ID: 13484695
telnet maila.microsoft.com 25
0
 
LVL 1

Author Comment

by:markmcelhone
ID: 13485213
Everything is now working.  Turns out within the LAN TCP/IP properties that the primary DNS server was wrong so I changed it to what it was meant to be and turns out everything is working again.

The only strange thing is is that these settings have been like this for weeks and only seem to have started to cause problems now!!

Thanks anyway.
0
 
LVL 6

Expert Comment

by:_ruudsje_
ID: 13485316
So you could not telnet to maila.microsoft.com on port 25, when you tested that in first place....

Good job
0
 
LVL 1

Author Comment

by:markmcelhone
ID: 13485348
I  couldnt but after changing the aforementioned TCP/IP props i can
0
 
LVL 6

Expert Comment

by:_ruudsje_
ID: 13491343
Well, I sent him in the right direction with telnetting to an external mail server.....but no problem at all, he solved it himself :)
0
 

Accepted Solution

by:
OzzMod earned 0 total points
ID: 13523532
Closed, 190 points refunded.
OzzMod
Community Support Moderator (Graveyard shift)
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
Upgrading from older Exchange server to the latest Exchange server can be tiresome, error-prone and risky, without being a seasoned exchange server administrators. It can become even problematic if you're an organization that runs on tight timeline…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question