Solved

Bouncing Mail off SMTP Connector in Exchange 2007

Posted on 2009-05-19
3
618 Views
Last Modified: 2013-11-30
I have set up a couple of Hub Transport receive connectors, 1 is for printers to report to a main mailbox that is monitored, 2 is for a database that is sending mail to external sources for reply.  I have #1 working correctly.  $2 is giving the following error in the database.  This is Apache running UniData.  The mail script is pointed at the Exchange server ip.  I do not have a way to make it authenticate to the server for sending the mail.  What is the best way to cause this to work properly?

Thanks
HTTP Status 500 - 
________________________________________
type Exception report
message 
description The server encountered an internal error () that prevented it from fulfilling this request.
exception 
org.apache.jasper.JasperException: Invalid Addresses
        org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause 
javax.servlet.ServletException: Invalid Addresses
        org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
        org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
        org.apache.jsp.XLr8Sendmail_jsp._jspService(XLr8Sendmail_jsp.java:92)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause 
javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
;
  nested exception is:
        com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
;
  nested exception is:
        com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
 
        com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
        com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
        javax.mail.Transport.send0(Transport.java:169)
        javax.mail.Transport.send(Transport.java:98)
        org.apache.jsp.XLr8Sendmail_jsp._jspService(XLr8Sendmail_jsp.java:78)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
________________________________________
Apache Tomcat/5.5.17

Open in new window

0
Comment
Question by:scottoleson
[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
3 Comments
 
LVL 24

Accepted Solution

by:
Rajith Enchiparambil earned 500 total points
ID: 24424618
Create a send connector for authenticated realy, if you want to send email out.

Check http://msexchangeteam.com/archive/2006/12/28/432013.aspx
0
 
LVL 1

Author Comment

by:scottoleson
ID: 24431913
I've followed these instructions exactly as in the article.  No luck still same error message.
0
 
LVL 1

Author Closing Comment

by:scottoleson
ID: 31583125
Disregard my latest post.  Found that my programmer was using a virtual machine that I was unaware about.  When using the test environment all worked.  Moved to production with same results.
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
EXCHANGE 8 29
Exchange server licensing 2 38
controlling email signatures 3 24
In place upgrade Win2008R2 to Win2012R2 5 19
Read this checklist to learn more about the 15 things you should never include in an email signature.
In-place Upgrading Dirsync to Azure AD Connect
In this video we show how to create a Distribution Group 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 Recipients >>…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

733 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