Solved

Bouncing Mail off SMTP Connector in Exchange 2007

Posted on 2009-05-19
3
604 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
In this video we show how to create a Shared Mailbox 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 >> Sha…
In this video we show how to create an Accepted Domain 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 >> Ac…

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now