Solved

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

Posted on 2007-11-14
4
321 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
  • 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

773 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