We help IT Professionals succeed at work.

Exchange 2003 - Semaphore Timeout Period Has Expired

cz169
cz169 asked
on
2,336 Views
Last Modified: 2008-01-09
I have reviewed through the previous posts concerning Semaphore Timeout Period Has Expired, and applied the suggested solutions. To no avail.

I have an SBS 2003 R2 server which I am able to send email to another SBS server in another domain. When there is an attachment in the email, it will remain in the queue for 24 hours plus and return the following message to the user.

-----Original Message-----
From: Administrator
Sent: Thursday, October 04, 2007 11:39 PM
To: User
Subject: Delivery Status Notification (Delay)

This is an automatically generated Delivery Status Notification.

THIS IS A WARNING MESSAGE ONLY.

YOU DO NOT NEED TO RESEND YOUR MESSAGE.

Delivery to the following recipients has been delayed.

       user@domainb.com

In the queue the message displays Semaphore Timeout Period Has Expired.

I have Symantec Client Security 3.1, which is now uninstalled and the server has been rebooted. I have sucessfully ran smtpdiag and can send email without attachments.

Help.



Comment
Watch Question

Jeffrey Kane - TechSoEasyPrincipal Consultant
CERTIFIED EXPERT
Most Valuable Expert 2016
Top Expert 2014

Commented:
Please review this question http:Q_21710184.html

Jeff
TechSoEasy

Author

Commented:
Here's what I've got so far.

Server 1 - howell-stone.com SBS2003 - have management control
Server 2 - granitere.com SBS2003
Server 3 - okruralwater.org - SBS2003 - have management control

I can telnet by name from server 1 and 3 to server 2 and get a banner. I can send email with attachments
from server 3 to server 1, and from 1 to 3. I can send email with attachments from server 3 to server 2.
I can send email WITHOUT attachments from server 1 to server 2.

I cannot send email from server 1 to server 2 with attachments, of any size.
Jeffrey Kane - TechSoEasyPrincipal Consultant
CERTIFIED EXPERT
Most Valuable Expert 2016
Top Expert 2014

Commented:
This sounds like you may have enabled TLS on your Exchange Server which is then erroring out for some reason.
See http://support.microsoft.com/kb/843106 for details on these type of errors.

Jeff
TechSoEasy

Author

Commented:
I enabled logging and immediately started getting 7004 events.

Problem server 2

This is an SMTP protocol error log for virtual server ID 1, connection #3. The remote host "12.25.112.98", responded to the SMTP command "xexch50" with "504 Need to authenticate first  ". The full command sent was "XEXCH50 2020 2  ".  This will probably cause the connection to fail.

Working Server 3 - same event

This is an SMTP protocol error log for virtual server ID 1, connection #5. The remote host "70.167.25.146", responded to the SMTP command "xexch50" with "504 Need to authenticate first  ". The full command sent was "XEXCH50 3356 2  ".  This will probably cause the connection to fail.

I checked and TLS is not enabled. I followed kb843106, and it sounds to me like I would have this issue if these server were in the organization, which they are not. From what i gleeded from kb843106, the receiving server could be my issue, if they are in the same organization. Also, I am getting 7004 events with Server 3 and the mail is going through without any issue.
Jeffrey Kane - TechSoEasyPrincipal Consultant
CERTIFIED EXPERT
Most Valuable Expert 2016
Top Expert 2014

Commented:

Author

Commented:
I have applied method 1 from http://support.microsoft.com/kb/818222/ , and the 7004 events are no longer appearing. I can send mail from server 1 to server 3 with success and no events.

The queue for email going to server 2 has been active all day, how do I stop this process? I am unable to even test. Show messages is blank, although the queue is active and smtp logging is showing the transaction.

Author

Commented:
I was able to remove the message from the queue. I am able to send email without attachments from server 1 to server 2, but it's still shows active in the queue when attachments are used.

No attachment email
12.25.112.98, OutboundConnectionResponse, 10/11/2007, 23:39:50, SMTPSVC1, AGENAMAIL, -, 47, 0, 113, 0, 0, -, -, 220 granitere.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at  Thu, 11 Oct 2007 23:41:25 -0500 ,
12.25.112.98, OutboundConnectionCommand, 10/11/2007, 23:39:50, SMTPSVC1, AGENAMAIL, -, 47, 0, 4, 0, 0, EHLO, -, mail.howell-stone.com,
12.25.112.98, OutboundConnectionResponse, 10/11/2007, 23:39:50, SMTPSVC1, AGENAMAIL, -, 94, 0, 40, 0, 0, -, -, 250-granitere.com Hello [216.226.21.178],
12.25.112.98, OutboundConnectionCommand, 10/11/2007, 23:39:50, SMTPSVC1, AGENAMAIL, -, 94, 0, 4, 0, 0, MAIL, -, FROM:<Administrator@howell-stone.com> SIZE=1225,
12.25.112.98, OutboundConnectionResponse, 10/11/2007, 23:39:50, SMTPSVC1, AGENAMAIL, -, 141, 0, 53, 0, 0, -, -, 250 2.1.0 Administrator@howell-stone.com....Sender OK,
12.25.112.98, OutboundConnectionCommand, 10/11/2007, 23:39:50, SMTPSVC1, AGENAMAIL, -, 141, 0, 4, 0, 0, RCPT, -, TO:<administrator@granitere.com>,
12.25.112.98, OutboundConnectionResponse, 10/11/2007, 23:39:50, SMTPSVC1, AGENAMAIL, -, 203, 0, 38, 0, 0, -, -, 250 2.1.5 administrator@granitere.com ,
12.25.112.98, OutboundConnectionCommand, 10/11/2007, 23:39:50, SMTPSVC1, AGENAMAIL, -, 203, 0, 4, 0, 0, BDAT, -, 1225 LAST,
12.25.112.98, OutboundConnectionResponse, 10/11/2007, 23:39:50, SMTPSVC1, AGENAMAIL, -, 328, 0, 96, 0, 0, -, -, 250 2.6.0  <75E17D43551A654098F037EE8DED88A15E6F@AGENAMAIL.agena.local> Queued mail for delivery,
12.25.112.98, OutboundConnectionCommand, 10/11/2007, 23:39:50, SMTPSVC1, AGENAMAIL, -, 344, 0, 4, 0, 0, QUIT, -, -,
12.25.112.98, OutboundConnectionResponse, 10/11/2007, 23:39:50, SMTPSVC1, AGENAMAIL, -, 391, 0, 60, 0, 0, -, -, 221 2.0.0 granitere.com Service closing transmission channel,

Attachment email

12.25.112.98, OutboundConnectionResponse, 10/11/2007, 23:43:01, SMTPSVC1, AGENAMAIL, -, 46, 0, 113, 0, 0, -, -, 220 granitere.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at  Thu, 11 Oct 2007 23:44:36 -0500 ,
12.25.112.98, OutboundConnectionCommand, 10/11/2007, 23:43:01, SMTPSVC1, AGENAMAIL, -, 46, 0, 4, 0, 0, EHLO, -, mail.howell-stone.com,
12.25.112.98, OutboundConnectionResponse, 10/11/2007, 23:43:01, SMTPSVC1, AGENAMAIL, -, 93, 0, 40, 0, 0, -, -, 250-granitere.com Hello [216.226.21.178],
12.25.112.98, OutboundConnectionCommand, 10/11/2007, 23:43:01, SMTPSVC1, AGENAMAIL, -, 93, 0, 4, 0, 0, MAIL, -, FROM:<Administrator@howell-stone.com> SIZE=1098767,
12.25.112.98, OutboundConnectionResponse, 10/11/2007, 23:43:01, SMTPSVC1, AGENAMAIL, -, 140, 0, 53, 0, 0, -, -, 250 2.1.0 Administrator@howell-stone.com....Sender OK,
12.25.112.98, OutboundConnectionCommand, 10/11/2007, 23:43:01, SMTPSVC1, AGENAMAIL, -, 140, 0, 4, 0, 0, RCPT, -, TO:<administrator@granitere.com>,
12.25.112.98, OutboundConnectionResponse, 10/11/2007, 23:43:01, SMTPSVC1, AGENAMAIL, -, 203, 0, 38, 0, 0, -, -, 250 2.1.5 administrator@granitere.com ,
12.25.112.98, OutboundConnectionCommand, 10/11/2007, 23:43:01, SMTPSVC1, AGENAMAIL, -, 203, 0, 4, 0, 0, BDAT, -, 1098767 LAST,
Jeffrey Kane - TechSoEasyPrincipal Consultant
CERTIFIED EXPERT
Most Valuable Expert 2016
Top Expert 2014

Commented:
What's the make/model of the NIC on server 1?  If it's a Broadcom, be sure to update it with the latest drivers.
I've seen plenty of issues with NIC's/Routers dropping packets like this.  It could also be caused by your ISP if there is some type of firewall they have in place on your line.  You might want to check with them.

Because the log shows that essentially the transmission is just being ignored after it begins sending the attachment.

Jeff
TechSoEasy

Author

Commented:
Server 1 has two Broadcom GB cards, Dell PE 2900. I updated the drivers on server 1 same issue. I changed from intenal DNS to our ISP's relay and it appears to be working. I have tested multiple users, and attachments ranging from 1MB to 5MB. Do you see any issue with using a smarthost or am I bypassing a larger problem.
Principal Consultant
CERTIFIED EXPERT
Most Valuable Expert 2016
Top Expert 2014
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
We use Fulltel on a T1. I will find out from our ISP if they have restrictions on port 25. At this point, if smarthosts are not an issue and possibly an advantage I will keep things the way they are.

I truely appreciate all of your help.

Chris

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.