Solved

Bouncing Mail off SMTP Connector in Exchange 2007

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

724 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