Solved

Bouncing Mail off SMTP Connector in Exchange 2007

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
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…
how to add IIS SMTP to handle application/Scanner relays into office 365.

911 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

20 Experts available now in Live!

Get 1:1 Help Now