Skip to main content
Participant
October 1, 2012
Question

CF10 IIS7.5 Cannot connect to mail server

  • October 1, 2012
  • 2 replies
  • 2030 views

I recently did an sbs migration from sbs 2003 to sbs 2011. On the 2011 box I installed ColdFusion 10, but I cannot get my mail server verified in the administrator. I am able to telnet newserver.domain.local 25 successfully, however I cannot use that same server name in the CF admin to connect to the mail server. I keep getting the error "Connection Verification Failed! " in the CF Admin when I try to verify the mail server. I noticed an error in mail.log that says: "javax.mail.MessagingException: Unknown SMTP host: oldserver.domain.local; nested exception is: java.net.UnknownHostException: oldserver.domain.local". The old server name is being used and I do not know why. I've been through all the sbs migration steps to clean up DNS so I'm not sure where ColdFusion is getting that old server name in the Unknown SMTP host error. I double checked DNS did a flushdns and restarted ColdFusion, but no luck so far.

If anyone has any other ideas how to troubleshoot this I'd greatly appreciate the advice.

    This topic has been closed for replies.

    2 replies

    jasonperoAuthor
    Participant
    October 5, 2012

    I figured out the SMTP host issue. I had some code in some old cfmail tags that had the server "oldserver.domain.local" hard coded. I removed that server property from the cfmail tag so it would default to what was in the CF administrator.

    Now I'm getting this error in the mail log: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay 

    I'm not sure how to safely enable relaying on Exchange 2010. I think it has something to do with the recipient connector. Any assistance would be fantastic.

    WolfShade
    Legend
    October 1, 2012

    Check firewall settings.  Depending upon firewall, it might not have transferred settings.

    ^_^

    jasonperoAuthor
    Participant
    October 1, 2012

    WolfShade thanks for the response. I tried disabling the firewall and antivirus, but still no luck.