550 5.7.1 Unable to relay for ... (not a question, just a FAQ item)
There's a bug in either Microsoft Exchange or JavaMail API.
An exception is thrown when sending an email:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
class com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for [email protected]
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1141)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:536)
at javax.mail.Transport.send0(Transport.java:151)
at javax.mail.Transport.send(Transport.java:80)This exception is caused by, believe or not, because the same mail session has defined the "mail.imap.fetchsize" property in an earlier IMAP session.
I used this line to fetch a session and in the IMAP code I defined the fetchsize property to increase performance. An identical line was used in the SMTP code to fetch a session to send a mail. As it turns out, the SMTP communication is disrupted by the fetchsize property.
Session session = Session.getDefaultInstance(props, null);
My solution was to change the SMTP code the following:
Session session = Session.getInstance(properties);
Hope this helps someone, somewhere in the future...
Well, I don't believe the fetchsize property is disrupting SMTP sending, but it is true that
everyone who calls Session.getDefaultInstance gets the same Session object, and the
properties for that Session are set by the first caller. The properties passed in by
subsequent callers are ignored.
The javadocs for the method try to explain this behavior, perhaps not well enough.
Similar Messages
-
550 5.7.1 Unable to relay for [probably bogus Email address]
Hello,
My Exchange Server has been reporting numerous instances of the following message (or very similar messages) most days for a couple of weeks or so now:
This is an SMTP protocol log for virtual server ID 1, connection #3. The client at "118.161.64.59" sent a "rcpt" command, and the SMTP server responded with "550 5.7.1 Unable to relay for [email protected] ". The
full command sent was "rcpt TO: <[email protected]>". This will probably cause the connection to fail. For more information, click http://www.microsoft.com/contentredirect .asp
The Email address is unknown, and probably bogus.
What really concerns me is that the messages from yesterday (Sunday!) contained a now defunct Email account from someone who used to work in our London head office, but left about a couple of years ago. To me, this implies that there has been unauthorised
access to the company IT infrastructure - possibly at both sites - and that someone is trying to get our Exchange Server to relay unsolicited / mailicious Emails. The above message suggests that the attempted relaying has not been successful to date, and I
can't find anything out of the ordinary in the SMTP queues or the Exchange logs - but the persistence does concern me.
So, am I reading this correctly? If so, what can I do about it? Or if not, what does it really mean?
Thankyou very much for your help.
Kind regards,
KeithIf your Exchange server is accessible from the Internet, as it would be to allow you to receive SMTP mail unless you have a relay server like an Exchange Edge server, then Spammers will attempt to use it to relay. Your server is correctly rejecting
that, so I don't see a problem. If you're worried about this, then you could contract with a third-party cloud-based message hygiene service like Exchange Online Protection, and the restrict the IP address that can talk to your Exchange server to those
of the hygiene service.
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems." -
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 RegardsYou need to either authenticate your user or turn on relaying in your SMTP server. See the JavaMail tutorial for how to authenticate
-
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 AMHi,
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. -
550 5.7.1 Unable to relay for
I'm getting this error and can not receive email from anywhere.
However I can send email OK. Its the receiving part.
I uninstalled the old exchange and put this into production and now can't receive mail.
All connectors are the default ones out of the box. All roles are on one system.This is an Exchange 2013.
-
#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. -
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");
} -
Evaluating debug src, and 'Unable to relay for ...'
hello.
i wanted to know if there is any possibility to evaluate the string that is returned using debug mode in javamail. for example to know wheter conn to mailserver was ok. wether sender or recipient was ok and so on.so that i can (for example) build in some if-clauses to stop (and give a mesage to the current user 'conn failed') or retry some processes.
my second question is, that i sometimes get an error sending mails. the app is running on a tomcat server (localhost). after restarting the tomcat, it works again. after a while (2 or 3 days) it gives me the error message again ('Unable to relay for')here is my exception:
###################### debug/exception start ######################
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG: SMTPTransport trying to connect to host "localhost", port 25
DEBUG SMTP RCVD: 220 ffmserver.mailabc.local Microsoft ESMTP MAIL Service,
Version: 5.0.2195.6713 ready at Mon, 3 Apr 2006 13:17:02 +0200
DEBUG: SMTPTransport connected to host "localhost", port: 25
DEBUG SMTP SENT: EHLO ffmserver
DEBUG SMTP RCVD: 250-ffmserver.mailabc.local Hello [127.0.0.1]
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-TURN
250-ATRN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250 OK
DEBUG SMTP Found extension "AUTH", arg "GSSAPI NTLM LOGIN"
DEBUG SMTP Found extension "AUTH=LOGIN", arg ""
DEBUG SMTP Found extension "TURN", arg ""
DEBUG SMTP Found extension "ATRN", arg ""
DEBUG SMTP Found extension "SIZE", arg "2097152"
DEBUG SMTP Found extension "ETRN", arg ""
DEBUG SMTP Found extension "PIPELINING", arg ""
DEBUG SMTP Found extension "DSN", arg ""
DEBUG SMTP Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP Found extension "8bitmime", arg ""
DEBUG SMTP Found extension "BINARYMIME", arg ""
DEBUG SMTP Found extension "CHUNKING", arg ""
DEBUG SMTP Found extension "VRFY", arg ""
DEBUG SMTP Found extension "OK", arg ""
DEBUG SMTP: use8bit false
DEBUG SMTP SENT: MAIL FROM:<[email protected]>
DEBUG SMTP RCVD: 250 2.1.0 [email protected] OK
DEBUG SMTP SENT: RCPT TO:<[email protected]>
DEBUG SMTP RCVD: 550 5.7.1 Unable to relay for [email protected]
Invalid Addresses
[email protected]
DEBUG SMTPTransport: Sending failed because of invalid destination addresses
DEBUG SMTP SENT: RSET
DEBUG SMTP RCVD: 250 2.0.0 Resetting
DEBUG SMTP SENT: QUIT
javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 550 5.7.1 Unable to relay for
[email protected]
at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at
de.mailabc.filework.beans.mail.MailSendingMsg.SendEmail(MailSendingMsg.java:115)
at
org.apache.jsp.jsp.dcs.lists.boxes.action.send.send_jsp._jspService(org.apache.jsp.jsp.dcs.lists.boxes.action.send.send_jsp:308)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 550 5.7.1 Unable to relay for
[email protected]
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:804)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:320)
at javax.mail.Transport.send0(Transport.java:164)
at javax.mail.Transport.send(Transport.java:81)
at
de.mailabc.filework.beans.mail.MailSendingMsg.SendEmail(MailSendingMsg.java:115)
at
org.apache.jsp.jsp.dcs.lists.boxes.action.send.send_jsp._jspService(org.apache.jsp.jsp.dcs.lists.boxes.action.send.send_jsp:308)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
###################### exception end ######################
any ideas
thanks a lot
faissalYou don't understand that message? It's specifically mentioned in the FAQ.
-
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 -
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 SP3Hi 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 -
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
IrwanHi
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) -
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 TechnicianHi,
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 -
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 PHi,
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 -
550 5.7.1 Unable to relay
Ok cool, glad you got it figured out. I'd recommend bookmarking his site...when it comes to Exchange, that is definitely a good go to.
Running Exchange 2013 SP1 and the programmers are attempting to send email via a PHP page, however they can't. I dig in with Telnet and get the "unable to relay error"
I created a receive connector in Exchange, used a port above 1024, and gave it every option except for "secured with IPSec". The IP addresses of the PHP server are in the scope option.
But, I still get "550 5.7.1 Unable to relay" when sending externally. If I send internally, it works fine.
Any ideas?
This topic first appeared in the Spiceworks Community -
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?
Maybe you are looking for
-
How can I transfer videos from my PC to my iPhone's CARRETE? (Not to videos)
i Would like to copy some videos from my PC to post them on Instagram but i can only select videos from "photos/carete", and when i copy the videos to the iphone they apear in videos (with the movies). Any idea on how to copy to CARRETE?
-
IPod found under diagnostics but not in iTunes
I have a reoccuring problem using iTunes 7.02.16 From time to time the iPod is not visible in iTunes, but when I choose "help" and "iPod diagnostics" there are 4 green buttons. "iPod connection" status green. Usualy this problem is fixed by reinstall
-
Help! How do I get Lion Address Book to accommodate "yyyy-mm-dd" date format?
-
I am getting this exception in one of my deployed beans , and I am not able to figure out as to what the problem is . Help will be highly apreciated. Mahendra java.rmi.RemoteException: java.lang.NoSuchMethodError at com.crossdomain.info.ejb.Empl
-
IPhone 4 Won't connect to computer
My iPhone 4 (ATT) running 4.3.2 has been working fine, it charges with the wall charger and cable just fine, then when I take the charger cable and bring it to my computer to update all my apps, I plug it into a USB (direct to computer, not via hub)