Advertisement

08.20.2008 at 07:26AM PDT, ID: 23663206
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.2

"Unable to relay for name@domain.co.uk" - but it should be able to!

Asked by AK_00 in ColdFusion Application Server, Windows 2003 Server

Okay, I am having some trouble sending an email via Coldfusion 8.

There are three servers all on the same network, all can access each other fine, and all also have different external IP addresses.

Server 1 is a windows server 2003 standard, and acts as the smtp server. It has the IP that 'domain.co.uk' defaults to.

Server 2 is running windows server 2003 web edition, and Coldfusion MX6.1. In the coldfusion adminstrator, email is set to be sent out via Server 1. I send an email out from a cfm page and it works fine.

Server 3 is running windows server 2003 standard, and Coldfusion 8. In the coldfusion administrator, email is also set to be sent out via Server 1. I send an email out from a cfm page and it does NOT work. The error written to the log is:
"Error","scheduler-1","08/20/08","14:59:31",,"Invalid Addresses"
javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
      com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for name@domain.co.uk

      at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
      at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:832)
      at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:731)
      at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:1021)
      at coldfusion.mail.MailSpooler.run(MailSpooler.java:986)
      at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
      at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for name@domain.co.uk

      at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
      ... 7 more

(obviously with the *real* email address rather than name@domain.co.uk)

To the best of my knowledge, usually this relaying error message means the IP of the domain associated with the 'from' address does not match the IP of the machine sending out the email... however in this case, both Server 2 and server 3 are attempting to send out exactly the same email, with the same to/from addresses (and the same content), and the domain in the 'from' address does definitely resolve to the IP of server 1, which is the one actually sending out the email. So I don't understand how this error can possibly arise?

Is there some major difference between sending mail with CF8 as opposed to MX 6.1 that could cause this?
Or is it something to do with using Server 2003 standard as opposed to web edition?
Or is there some network config issue which could cause this? (all machines can see each other over the network without any problems)

Any help would be much appreciated!Start Free Trial
[+][-]08.20.2008 at 08:28AM PDT, ID: 22270705

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ColdFusion Application Server, Windows 2003 Server
Sign Up Now!
Solution Provided By: SidFishes
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08.21.2008 at 07:59AM PDT, ID: 22280233

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.21.2008 at 09:46AM PDT, ID: 22281481

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906