SMTP Error 5.7.1 Unable to relay - from webmail interface

Hi,
This is some strange problem i faced for the first time.
Below Messaging Version on Solaris 10 which is working fine.
Sun Java(tm) System Messaging Server 6.2-7.05 (built Sep 5 2006)
libimta.so 6.2-7.05 (built 12:18:44, Sep 5 2006)
Sometimes (very rarely), users getting "relaying problem" even they try to send from webmail (using browser) interface.
Part of log written to "http" file under <msg-hime>/log directory:
[24/Jun/2007:15:42:34 -0400] webmail httpd[23377]: General Warning: saveSmtp failed: SMTP Error 5.7.1 Unable to relay for [email protected]
Any help highly appreciated
TIA
Prvn

Hi shane,
All incoming mails (incl. sent self mails using webmail interface) seem to be looped. Not able to receive any mail.
The logs written in mail.log_current below: (when sent self mails using webmail)
when service.http.smtphost = 127.0.0.1 :
26-Jun-2007 05:36:32.09 tcp_intranet tcp_scan E 2 [email protected] rfc822;[email protected] @tcp_scan-daemon:[email protected] mailgw ([192.168.1.49])
26-Jun-2007 05:36:32.19 tcp_scan D 2 [email protected] rfc822;[email protected] @tcp_scan-daemon:[email protected] [192.168.1.49] dns;[192.168.1.49] (TCP|192.168.1.41|43340|192.168.1.49|10026) (mailgw Symantec Mail Security Tue, 26 Jun 2007 05:36:22 -0700 ) smtp;250 2.1.5 [email protected]
26-Jun-2007 05:36:36.10 tcp_intranet tcp_scan E 3 [email protected] rfc822;[email protected] @tcp_scan-daemon:[email protected] mailgw ([192.168.1.49])
26-Jun-2007 05:36:36.20 tcp_scan D 3 [email protected] rfc822;[email protected] @tcp_scan-daemon:[email protected] [192.168.1.49] dns;[192.168.1.49] (TCP|192.168.1.41|43411|192.168.1.49|10026) (mailgw Symantec Mail Security Tue, 26 Jun 2007 05:36:26 -0700 ) smtp;250 2.1.5 [email protected]
26-Jun-2007 05:36:40.09 tcp_intranet tcp_scan E 3 [email protected] rfc822;[email protected] @tcp_scan-daemon:[email protected] mailgw ([192.168.1.49])
26-Jun-2007 05:36:40.19 tcp_scan D 3 [email protected] rfc822;[email protected] @tcp_scan-daemon:[email protected] [192.168.1.49] dns;[192.168.1.49] (TCP|192.168.1.41|43414|192.168.1.49|10026) (mailgw Symantec Mail Security Tue, 26 Jun 2007 05:36:30 -0700 ) smtp;250 2.1.5 [email protected]
26-Jun-2007 05:36:44.13 tcp_intranet tcp_scan E 4 [email protected] rfc822;[email protected] @tcp_scan-daemon:[email protected] mailgw ([192.168.1.49])
when service.http.smtphost = 192.168.1.41:
26-Jun-2007 05:20:45.93 tcp_intranet tcp_scan E 5 [email protected] rfc822;[email protected]
@tcp_scan-daemon:[email protected] mailgw ([192.168.1.49])
26-Jun-2007 05:20:46.00 tcp_scan D 5 [email protected] rfc822;[email protected]
@tcp_scan-daemon:[email protected] [192.168.1.49] dns;[192.168.1.49] (TCP|192.168.1.41|36905|192.168.1.49|10026) (mailgw
Symantec Mail Security Tue, 26 Jun 2007 05:20:36 -0700 ) smtp;250 2.1.5 [email protected]
26-Jun-2007 05:20:46.17 tcp_intranet tcp_scan E 9 [email protected] rfc822;[email protected]
@tcp_scan-daemon:[email protected] mailgw ([192.168.1.49])
26-Jun-2007 05:20:46.27 tcp_scan D 9 [email protected] rfc822;[email protected]
@tcp_scan-daemon:[email protected] [192.168.1.49] dns;[192.168.1.49] (TCP|192.168.1.41|36906|192.168.1.49|10026)
(mailgw Symantec Mail Security Tue, 26 Jun 2007 05:20:36 -0700 ) smtp;250 2.1.5 [email protected]
26-Jun-2007 05:20:46.32 tcp_intranet tcp_scan E 5 [email protected] rfc822;[email protected]
@tcp_scan-daemon:[email protected] mailgw ([192.168.1.49])
26-Jun-2007 05:20:46.40 tcp_scan D 5 [email protected] rfc822;[email protected]
@tcp_scan-daemon:[email protected] [192.168.1.49] dns;[192.168.1.49] (TCP|192.168.1.41|36907|192.168.1.49|10026) (mailgw
Symantec Mail Security Tue, 26 Jun 2007 05:20:37 -0700 ) smtp;250 2.1.5 [email protected]
26-Jun-2007 05:20:46.58 tcp_intranet tcp_scan E 10 [email protected] rfc822;[email protected]
@tcp_scan-daemon:[email protected] mailgw ([192.168.1.49])
26-Jun-2007 05:20:46.67 tcp_scan D 10 [email protected] rfc822;[email protected]
@tcp_scan-daemon:[email protected] [192.168.1.49] dns;[192.168.1.49] (TCP|192.168.1.41|36908|192.168.1.49|10026)
(mailgw Symantec Mail Security Tue, 26 Jun 2007 05:20:37 -0700 ) smtp;250 2.1.5 [email protected]
26-Jun-2007 05:20:46.72 tcp_intranet tcp_scan E 6 [email protected] rfc822;[email protected]
@tcp_scan-daemon:[email protected] mailgw ([192.168.1.49])
26-Jun-2007 05:20:46.79 tcp_scan D 6 [email protected] rfc822;[email protected]
@tcp_scan-daemon:[email protected] [192.168.1.49] dns;[192.168.1.49] (TCP|192.168.1.41|36909|192.168.1.49|10026) (mailgw
Symantec Mail Security Tue, 26 Jun 2007 05:20:37 -0700 ) smtp;250 2.1.5 [email protected]
26-Jun-2007 05:20:46.97 tcp_intranet tcp_scan E 10 [email protected] rfc822;[email protected]
@tcp_scan-daemon:[email protected] mailgw ([192.168.1.49])
Regards,
Prvn

Similar Messages

  • Smtp;550 5.7.1 Unable to relay #SMTP#

    our dev wrote a script that'll send an email externally but it bounces with the following error:
    smtp;550 5.7.1 Unable to relay> #SMTP#
    Your message wasn't delivered due to a permission or security issue. It may have been rejected by a moderator, the address may only accept e-mail from certain senders, or another restriction may be preventing delivery.
    It works fine if I want to send the email internally tho. The server is on the allowed list on the receive connector and anonymous users is checked in the permissions groups tab
    using exchange 2010 SP3

    Hi Cinekc,
    Besides SSorin's suggestion, I would like to clarify the following things:
    1. Please use telnet to port 25 to test SMTP communication. Here is a thread for your reference.
    Exchange server unable to send mail outside
    http://social.technet.microsoft.com/Forums/exchange/en-US/ce90b2ea-d2d2-4f15-ab56-43da021c52c9/exchange-server-unable-to-send-mail-outside?forum=exchange2010
    2. Please contact recipient side to verify if there is any limitation. What's more, I recommend you ask the recipient side add yourdomain.com into "The sender's domain is" exception of Anti-Spam transport rule and check the result.
    Here is a thread for your reference.
    Exchange 2013 reject message with unintelligible reason
    http://social.technet.microsoft.com/Forums/exchange/en-US/e4c19d74-460e-46ff-81bb-e97dedfcec93/exchange-2013-reject-message-with-unintelligible-reason?forum=exchangesvradmin
    Hope it helps.
    If there are any problems, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • #5.7.1 smtp;550 5.7.1 Unable to relay

    Hi,
    In my company we are facing lot of problems sending emails to some recipients when their email addresses are surrounded by single quotes, in Outlook. Ex.: '[email protected]'. If we remove the quotes the message relays with no problem. The question is why there
    are some others domains that if we keep the single quotes the message is relayed. Is the problem in our side (my company) or the other side is rejecting the message in some way. What should I do in this case? I'll appreciate any help. We use Oulook 2007 and
    Exchange Server 2003.
    Here is the error:
    Your message did not reach some or all of the intended recipients.
          Subject: Here is the subject
          Sent: 23-07-2014 08:52
    The following recipient(s) cannot be reached:
          [email protected] on 23-07-2014 08:52
                You do not have permission to send to this recipient.  For assistance, contact your system administrator.
                <mail_server #5.7.1 smtp;550 5.7.1 Unable to relay for [email protected]>

    Hi,
    Thank you sou much for your reply.
    My question was. If I keep the single quotes for SOME EXTERNALS RECIPIENTS, I get the error message aboved.
    If I remove the single quotes for THOSE EXTERNALS RECIPIENTS the messages can be relayed.
    Best regards,
    Edmilton Cruz.
    Thursday, July 31, 2014 1:40 PM
    Hi again,
    Any answer to this issue???
    Another thing that is happening is that  when we send emails to some recipients and their email addresses are in upper case we receive a NDR #5.7.1 smtp;550 5.7.1 Unable to relay for ...
    Best regards,
    Edmilton Cruz.

  • Cannot send mail from newsletter server and Server error: Unable to relay

    We have newsletter server. Sometimes we sent mail by our exchange 2010 server. But recently we are unable to send mail to external mail server. we sent mail by newsletter server within a domain now. We need to solve. Pls. check below log file and provide
    how to solve it.
    Sender ID: [email protected]
    our domain: www.silkways.net
    LOG:
    Status Msg : The email details entered successfully into the database.
    Status Msg : The email details entered successfully into the database.
    Access Level : 1
    MAIL SENT TO : [email protected]
    FAILED TO SEND MAIL TO : [email protected]
    Error : SMTP Error: The following recipients failed: [email protected]<p>SMTP server error: 5.7.1 Unable to relay
    </p>
     FAILED TO SEND MAIL TO : [email protected]
    Error : The following From address failed: [email protected]<p>SMTP server error: 5.5.2 Sender already specified
    </p>
    FAILED TO SEND MAIL TO : [email protected]
    Error : SMTP Error: The following recipients failed: [email protected]<p>SMTP server error: 5.7.1 Unable to relay
    </p>
     FAILED TO SEND MAIL TO : [email protected]
    Error : The following From address failed: [email protected]<p>SMTP server error: 5.5.2 Sender already specified
    </p>
     FAILED TO SEND MAIL TO : [email protected]
    Error : The following From address failed: [email protected]<p>SMTP server error: 4.7.0 Too many errors on this connection, closing transmission channel
    </p>
    FAILED TO SEND MAIL TO : [email protected]
    Error : SMTP Error: The following recipients failed: [email protected]<p>SMTP server error: 5.7.1 Unable to relay
    </p>
     FAILED TO SEND MAIL TO : [email protected]
    Error : The following From address failed: [email protected]<p>SMTP server error: 5.5.2 Sender already specified
    </p>

    Hi,
    Since you are able to send emails to internal domain i assume the application server IP address already allowed into Receive Connector.
    To relay application emails to external domain you should enable Externally Secured box in the Authentication Tab of the particular Receive Connector.
    Kottees :My Blog Please mark it as an answer if it really helps you.

  • Mediator To Spring Error-Could not convert from java interface to interface

    Hi,
    I have a requirement to using a Spring component and my composite application would be File Read -> Mediator -> Spring Component -> File Write.
    I have to read a file and using mediator map the same to the Spring input and write the Spring component output to a file.
    I have created a Java interface ( Package Name - transformtospring , Interface Name - TransformInterface) and also created a Java Class ( TransformImpl ) which implements the Interface in this package. Saved all these artifacts in SCA-INF/src folder of the application.
    My Spring Bean configuration file is as follows ( saved the file in the same folder as composite.xml )
    <?xml version="1.0" encoding="windows-1252" ?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:util="http://www.springframework.org/schema/util"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:lang="http://www.springframework.org/schema/lang"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:sca="http://xmlns.oracle.com/weblogic/weblogic-sca"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/tool http://www.springframework.org/schema/tool/spring-tool-2.5.xsd http://xmlns.oracle.com/weblogic/weblogic-sca META-INF/weblogic-sca.xsd">
    <!--Spring Bean definitions go here-->
    <bean class="transformtospring.TransformImpl" name="TransformBean"/>
    <sca:service name="TransformService" target="TransformBean"
    type="transformtospring.TransformImpl"/>
    </beans>
    I have created a Spring Context which uses the above Spring Configuration. When i tried to map the mediator output to Spring , i'm getting an error shown below.
    " Could not convert from java interface to interface type wsdl . Exception=java.lang.ClassNotFoundException transformtospring.TransformImpl "
    Please do let me know where exactly i'm doing wrong.
    Regards,
    Sri.

    Hi All,
    I could able to work this one out now !!!
    But i'm having an issue mapping the input to this service. The method signature for the service is as follows:
    public byte[] processData(byte[] input) throws Throwable{
    So the input for this Service is a byte array. Now i'm mapping the data from a File Input ( Read File - opaqueElement ) to this service directly ( using mediator ).
    Now when i have looked into the message in the Enterprise Manager, following is the message structure from Read File input to the service.
    <message>
    <properties>
    <property name="tracking.compositeInstanceId" value="10009"/>
    <property name="tracking.ecid" value="bcd04297e25136e7:4869a9c:13316255efc:-8000-0000000000001f79"/>
    <property name="tracking.conversationId" value="TJ9PCcbtu3S0DA0GuxsGx13RYUb1NxHNndfk2PC8ukk."/>
    </properties>
    <parts>
    <part name="parameters">
    <ns0:processCollaboration>
    <arg0>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bnMwOkFkZDJJbnB1dCAgeG1s bnM6eHNpPSdodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZScgeG1sbnM6 bnMwPSd1ay5jby5qZHdpbGxpYW1zLkFkZDJJbnB1dCcgeHNpOnNjaGVtYUxvY2F0aW9uPSd1ay5j by5qZHdpbGxpYW1zLkFkZDJJbnB1dCByZXF1ZXN0LnhzZCcPG5zMDpudW0xPjEwPC9uczA6bnVt MT48bnMwOm51bTI+MTY8L25zMDpudW0yPjwvbnMwOkFkZDJJbnB1dD4=+</arg0>
    </ns0:processCollaboration>
    </part>
    </parts>
    </message>
    and the corresponding response message ( No output ) back from the service is:
    <message>
    <properties>
    <property name="tracking.compositeInstanceId" value="10009"/>
    <property name="tracking.ecid" value="bcd04297e25136e7:4869a9c:13316255efc:-8000-0000000000001f79"/>
    <property name="componentName" value="ProcessCollab"/>
    <property name="tracking.conversationId" value="TJ9PCcbtu3S0DA0GuxsGx13RYUb1NxHNndfk2PC8ukk."/>
    <property name="compositeDN" value="default/CollaborationToSpring!1.0*soa_a8da1da7-f98f-4935-8d20-da9e7bc003cc"/>
    </properties>
    <parts>
    <part name="parameters">
    <processCollaborationResponse>
    <return/>
    </processCollaborationResponse>
    </part>
    </parts>
    </message>
    I have included System.out statements in my Java class , but its not printing anything in the logs.
    I'm under the impression that the underlying infrastructure ( mediator ) transparently encodes and decodes data from base64Binary to java byte array. So could anyone help me on this !!!
    Regards,
    Sri.

  • Error 550 5.7.1 unable to relay with SMTP PORT 25 Exchange 2013

    Hi All,
    I know this issue has been posted for a while, but still can't resolved issue. We've new Exchange 2013 SP1 (CU4) installation, everything is working properly, the OWA, Exchange Client Connection, SMTP/POP with SSL, except with SMTP Using Port 25 Non-Encrypted
    Connection.  
    If I'm using the SMTP Port 25 without TICK "My Outgoing Server (SMTP) Requires authentication", I've got the error: "550 5.7.1 Unable to relay", but if I TICK the option above, my message will be deliver without any error, how do i get
    rid this problem, I need to UN-TICK the option above for the time being, since we've hundreds email account, I want to avoid to educate and tell the user and even remote their PC, just to configure this issue, it will drive me crazy, we're going to use the
    Exchange Client Connection in the future, If everything is smooth and ok.
    I research this problem on the Internet and of course with TECHNET, but still can't, anyone can help me on this?
    fyi, I tried so many things, delete the default the Default Front End Transport for Port 25, it also not fix my issue.
    Thx
    Irwan

    Hi
    You can paste the output of below result
    Get-receiveconnector | fl name,bindings,PermissionGroups
    I think your default receive connector should be missing out some permissions.
    Also try to see if you get any message on protocol logs and paste them too
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

  • ORA-29279: SMTP permanent error: 550 5.7.1 Unable to relay for....

    i got this problem ,when i try to send mail from mail Queue.
    ORA-29279: SMTP permanent error: 550 5.7.1 Unable to relay for [email protected]
    Edited by: Alekh on Aug 7, 2009 10:13 AM
    Edited by: Alekh on Aug 7, 2009 11:52 AM

    Hi,
    I think you can check your SMTP server with your system administrator firstly. does it work normally?
    And if you are using a Windows PC for APEX, you can check you SMTP server in your IIS administration.
    From your error info : Unable to relay, you can follow below to have a check, if you are working on MS Window
    IIS -> Default SMTP Virtual Server -> Properties -> Access -> Relay resitrictions -> Relay -> All except the list below.
    Hope this helpfull.
    PPMonkey.

  • Server error: '550 5.7.1 Unable to relay' with authoritative domain

    Hi,
    When trying to send email to external clients from outlook with (POP accopunts)with authoritative domain email address. we are receiving "Server error: '550 5.7.1 Unable to relay"Where internal emails are going properly.It use to work early &
    it stopped suddenly yesterday we did not made any changes in SMTP.
    We are able to send & Receive emails with our own domain facing  problem only with authoritative domain email address.
    Regards,
    Perumal P

    Hi,
    I recommend you refer to the following article to configure the outlook 2010/2013 using IMAP or POP3, and check the result:
    Set Up Outlook 2010 for IMAP or POP Access to Your E-Mail Account
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Test POP3 error: 550 5.7.1 client unable to relay

    My outlook connect exchange 2013 server via POP3,  it is connecting popup error message: 550 5.7.1 unable to relay. Some users can connect exchange 2013 server via pop3, but some users cannot connect. I same also checked the permission of exchange server
    receive connector , It should be is good. I also checked the permission of AD user, Please view the following:
    NT AUTHORITY\SELF             False                         {GenericRead}                            
    NT AUTHORITY\SELF             False                         {ExtendedRight}               {Send-As}          
    NT AUTHORITY\SELF             False                         {ReadProperty, WriteProperty}                      
    NT AUTHORITY\SELF             False                         {ExtendedRight}               {Receive-As}          
    NT AUTHORITY\SELF             False                         {ExtendedRight}               {User-Change-Password}       
    NT AUTHORITY\SELF             False                         {ReadProperty, WriteProperty}                      
    NT AUTHORITY\SELF             False                         {ReadProperty, WriteProperty}                      
    NT AUTHORITY\SELF             False                         {ReadProperty, WriteProper... {Private-Information} 
    Excuse me, how to solve the problem, thank you !
    北京老马

    I  have solved the problem for some users, Reference of the following:
    get-mailbox -identity <username> | remove-adpermission -User "NT AUTHORITY\SELF" -AccessRights extendedright -ExtendedRights "Send As"
    get-mailbox -identity <username> | add-adpermission -User "NT AUTHORITY\SELF" -AccessRights extendedright -ExtendedRights "Send As"
    but some users still cannot relay mail to extranet, please help me.
    北京老马

  • Sendmailjpkg.sendmail -  550 5.7.1 Unable to relay

    Hi to all,
    Oracle 10g database.
    We have an application that sends emails (only with one email address), with sendmailjpkg.sendmail,
    We've recently installed an exchange 2010 server, and in doing so we've changed the relevant DNS/MX records to point the to new IP address. I changed the new SMTP address in database (in sendmail Java class – props.setProperty (“mail.host”,”NEW SMTP IP”), ...) and everything was ok when we sent email to local domain users, but when database sent to external email users we get this error:
    javax.mail.SendFailedException: *550 5.7.1 Unable to relay*
    I know what is the problem is, exchange required full authenication to send emails outside the domain with JavaMail, attempt at stopping spam…
    But I do not know how to create authenticator class, how to put authentications in sendmail Java class or in my procedure where I use sendmailjpkg.sendmail, or anywhere else ?
    Thanks!

    Isn't that a Java issue rather than a SQL or PL/SQL issue?

  • Server Response: 550 5.7.1 Unable to relay

    SBS 2011 I have exchange 2010,
    Internally Outlook send/ Receive working fine-- Local Ip address.
    Owa Send/Receive working fine.
    But remote user can receive the Emails, But cant send the emails.
    Subject 'tes'
    Server Error: 550
    Server Response: 550 5.7.1 Unable to relay
    Server: 'xxx.xxx.xxx.xxx'---- Public IP address
    Windows Live Mail Error ID: 0x800CCC79
    Protocol: SMTP
    Port: 25
    Secure(SSL): Yes
    How to fix this issue ?

    Hi,
    Did you create a relay connector to allow to relay in Exchange? About how to create a relay connector, you can refer to the following article.
    How to Configure a Relay Connector for Exchange Server 2010
    http://exchangeserverpro.com/how-to-configure-a-relay-connector-for-exchange-server-2010/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    To allow a device to use Exchange to relay a message to an outside recipient, you also need the ms-Exch-SMTP-Accept-Any-Recipient attribute.
    Get-ReceiveConnector -Identity relayconnector | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Exchange Server 2013 - 550 5.7.1 Unable to Relay

    Hi Guys,
    I have recently setup Exchange 2013, I have been having an issue were the Emails that we are attempting to send are getting stuck in the 'Drafts' box. I decided to use Telnet to see if I could send emails that way but much to my disappoint I was unable to
    send emails to external contacts using Telnet getting the following error '550 5.7.1 Unable to relay'.
    For my external server lookup I have my internal DNS Server for the DNS and my internal DNS Servers forward DNS Requests to Google's Public DNS Servers (8.8.8.8 and 8.8.4.4). I have tried removing Google's DNS Settings and just using my internal servers
    and using Google's DNS Server and not our internal DNS Settings.
    Does anyone have any suggestion on what might be causing this issue. I have been working through the solution in other posts on other web sites but so fare not much luck.
    Kind Regards
    Thomas Park
    Network Engineer   
    TPark IT Technician

    Hi,
    Please check whether the Windows services that Exchange requires on a server have started via Test-Servicehealth. Especially Exchange Transport service and Mailbox transport service.
    Please add the IP address of our DNS server for testing.
    Please also re-configure our Relay Connector, found a useful article for your reference:
    How to Configure a Relay Connector in Exchange Server 2013
    http://exchangeserverpro.com/exchange-2013-configure-smtp-relay-connector/
    If still not working unfortunately, please trace these messages via Message Tracking to check whether there is any error. If has, please post the details for the further troubleshooting.
    Disclaimer:
    Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure
    that you completely understand the risk before retrieving any suggestions from the above link.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Javax.mail.SendFailedException: 550 5.7.1 Unable to relay

    Hi All,
    I am getting the below Exception message when I am executing my JavaMail
    program.
    nested exception is:
         javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
         javax.mail.SendFailedException: 550 5.7.1 Unable to relay for [email protected]
    Please can anyone help me out.
    Regards,
    Ravi.

    what's wrong to this source code, if try to send mail to local account actually it success, but if i try to send mail eg:[email protected](outside my network) i found error this error to. i had to try not use encode userID/password into base64, but the result doesn't change.
    if anyone have solution for this problem, please contact me @ [email protected]
    Regards,
    agam
    error returned by java:
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    class javax.mail.SendFailedException: 550 Relaying is prohibited
    void com.sun.mail.smtp.SMTPTransport.sendMessage(javax.mail.Message, javax.mail.Address[])
    import java.util.*;
    import java.io.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import com.sun.mail.smtp.SMTPTransport;
    import com.agam198.util.*;
    public class PCMMail{
    String sMailServer = "";
    String sUserID = "";
    String sPassword = "";
    int iPort = 25;
    String sTo = "";
    String sFrom = "";
    String sCC = "";
    Message msg = null;
    SMTPTransport transport = null;
    Transport trns = null;
    public PCMMail(StringPool sPool){
    this.sMailServer = sPool.getString("SMTPServer.SERVER");
    this.sTo = sPool.getString("SMTPAlert.TO");
    this.sFrom = sPool.getString("SMTPAlert.FROM");
    this.sCC = sPool.getString("SMTPAlert.CC");
    this.sUserID = sPool.getString("SMTPServer.LOGIN");
    this.sPassword = sPool.getString("SMTPServer.PASSWORD");
    this.iPort = Integer.parseInt(sPool.getString("SMTPServer.PORT"));
    initConnection();
    public void initConnection(){
    try{
    System.out.println("MailServer: "+sMailServer);
    System.out.println("To: "+sTo);
    System.out.println("From: "+sFrom);
    System.out.println("CC: "+sCC);
    Properties props = new Properties();
    props.put("mail.smtp.host", "152.118.89.0");
    Session session = Session.getDefaultInstance(props,null);
    trns = session.getTransport("smtp");
    if(trns == null){
    System.out.println("trans is not null");
    else
    System.out.println("trans null");
    trns.connect(sMailServer,Base64.base64Encode ( sUserID ),Base64.base64Encode ( sPassword ));
    if(trns.isConnected()){
    System.out.println("connected to SMTP SERVER");
    else{
    System.out.println("not connect");
    InternetAddress address = new InternetAddress();
    //create a message
    msg = new MimeMessage(session);
    catch(Exception e){
    public void sendMessage(String message){
    sendMessage(getFirstLine(message),message);
    public void sendMessage(String subject,String message){
    try{
    //prepare message
    msg.setFrom(new InternetAddress(sFrom));
    msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(sTo));
    msg.setSubject(subject);
    msg.setSentDate(new Date());
    msg.setText(message);
    trns.send(msg);
    System.out.println("message sent");
    catch(Exception e){
    e.printStackTrace();
    public String getFirstLine(String message){
    BufferedReader buf = new BufferedReader(new StringReader(message));
    try{
    return buf.readLine();
    catch(Exception e){
    return " ";
    public static void main(String[] args){
    StringPool sp = new StringPool();
    sp.set("SMTPServer.SERVER","152.118.89.0");
    sp.set("SMTPServer.PORT","25");
    sp.set("SMTPServer.LOGIN","kiara");
    sp.set("SMTPServer.PASSWORD","kiara");
    sp.set("SMTPAlert.TO","[email protected]");
    sp.set("SMTPAlert.FROM","[email protected]");
    sp.set("SMTPAlert.CC","");
    PCMMail pcm = new PCMMail(sp);
    pcm.sendMessage("subject","message body");
    }

  • Mailbox unavailable. The server response was: 5.7.1 Unable to relay

    I have tried to send a mail from my ASP.Net web application, But I Receive
    "Mailbox unavailable. The server response was: 5.7.1 Unable to relay"
    error in my log file, I have made the following change in SMTP Virtual server in IIS 6 Manager in the server
    1.Added 127.0.0.1 and IP of server in Smtp Virtual Server->Properties->Access tab->Relay
    under only the list below
    2.Checked anonymous access in Smtp Virtual Server->Properties->Access tab->authentication
    3.Changed IP address to All unassigned and also to IP of server  in General tab
    But no luck till now. Looking forward for your valuable reply. Thanks in Advance

    Hi,
    For this issue, i think you should ask in:
    http://forums.asp.net/default.aspx/7?General+ASP+NET
    Regards.
    Vivian Wang

  • Invalid Addresses; nested exception is: class javax.mail.SendFailedException: 550 5.7.1 Unable to relay for

    Hi!
    I am with a problem during a sending e-mail for 3500
    addressees.
    In the way it process me of the one error and in log CF
    Administrator shows the following error to it:
    Invalid Addresses; nested exception is: class
    javax.mail.SendFailedException: 550 5.7.1 Unable to relay for
    What it could be?
    Server Configuration:
    Windows 2003 Standard with ColdFusion MX 7.02 (last update)
    Best Regards

    You need to either authenticate your user or turn on relaying in your SMTP server. See the JavaMail tutorial for how to authenticate

Maybe you are looking for

  • What do i need to do to share TB and Lightning files between W7 and Ubuntu 14.04 on a dual boot system?

    I recently installed Ubuntu 14.04 alongside W7. Since I'm not comfortable dropping Windows completely yet, I want my W7 Thunderbird and my Ubuntu TB to have access to the same data file holding current messages, so I don't have to get out of one to u

  • Is there a way to see when the internet connection is active?

    I would like to know when my iMac is communicating on the internet connection and have a way to observe that.  It's not clear by looking at my DSL modem lights.  Does anyone know of a program I can use that will show that clearly?  It would be nice t

  • Refference Error #1069

    I have a reference error on my flash project. Its a drag and drop project with muscles. I'm trying to make the code so that my dynamic text will change when the muscle is placed over its target and when it is off of its target. The dynamic text works

  • Ipod mini - Mac - Windows - FILES

    Hi, Does anyone know if files duplicate when using the ipod mini as a hard-drive? For example, when saving a file (eg. word file) on the ipod from a Mac computer, will the file appear as duplicated when connecting the ipod to a Windows computer? (It

  • Comments on query issue

    Hi experts, We have an opption in the Portal like when we have a BI query displayed in portal as iview we will get one tab called comment  where we can enter the comments for the query, how can we set an indicator when some comments exist for the que