Solved

Mail to one domain being delayed in queues on master server.

Posted on 2007-11-14
4
341 Views
Last Modified: 2010-03-06
I have mail to one domain where I was getting this message.

Your message did not reach some or all of the intended recipients.
      Subject:      RE: Address
      Sent:      11/13/2007 10:29 AM
The following recipient(s) could not be reached:
Keith Ford on 11/13/2007 10:29 AM
You do not have permission to send to this recipient.  For assistance, contact your system administrator. <OSW-EXCH.madill.oklahomasteel.com #5.7.1 smtp;550 5.7.1 Unable to relay for kford@southwesternwire.com>

So i went into the \\windows\system32\drivers\etc\hosts  file and changed to where the email server should send email to this domain by their outside ip address and not the localhost.

Then after that it appeared to work until we got this message.

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.

I have looked into my queues folder and see that the messages are sitting there being retried until they timeout and come up with an undeliverable message to be sent back to the sender.  

This all started after we built a vpn tunnel between the two domains. Before the vpn tunnel it worked fine, but now mail both directions keep getting this same message. We built the tunnel because we have a few people who work at both places and so they would be able to log into either domain and get email, which works great.  We just can't send email now from one domain to the other.  Any ideas?
0
Comment
Question by:pcgeek1981
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 23

Expert Comment

by:Stacy Spear
ID: 20281938
You should never use hosts to direct where mail goes. DNS routing should be it. Unless you are running a lab.

Does the recipient's account allow for mail from remote domains? Why are you getting a relay message? that is the route you need to take to fix this.
0
 
LVL 104

Accepted Solution

by:
Sembee earned 500 total points
ID: 20282095
The fact that you are using a VPN can change things. The other end should ensure that they are allowing email delivery to the server using internal IP addresses.
If you want to send the traffic down another connection - directly over the VPN and not use DNS, then you should use an SMTP connector. Set it to use an smart host. If you are entering the IP address then enter it in [ ] - so [192.168.1.1] with the address space completed.

However do check that you can connect ot the other site using telnet to port 25 - telnet host 25 - if you cannot then something is blocking the traffic.

Simon.
0
 

Author Comment

by:pcgeek1981
ID: 20282141
I was told to use the host file. I had never used it before yesterday. I will remember that it is not to be used tho.
I assume that they allow for mail from remote domains, but I am not up at that plant and don't have access to any of their servers.
I am not sure that DNS is correct anyway. All I have on my end is a forward lookup zone toward the remote domain, with a forward lookup zone on their end back to us.  
And I don't get the relay message now, just the delayed message, I went into the queues again and now it tells me "The remote server did not respond to a connection attempt."  ???
Like I said until this vpn tunnel was built we never had this problem before, so I know it is some kind of dns or exchange problem internally.
0
 
LVL 104

Expert Comment

by:Sembee
ID: 20283864
Standard tests are required.
Do you know the internal IP address of the other server?
Can you connect to it on port 25 using telnet ?

telnet ip.add.re.ss 25

Simon.
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
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…

718 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