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)
Similar Messages
-
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 -
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. -
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 -
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 -
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 -
#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");
} -
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
-
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 -
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." -
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. -
Thanks for the info, Kyle. I will probably try to find an older 32-bit XP machine. VM is just not an option for me right now.
Hello everybody,
I am trying to use the DIgilent Spartan 3E board with Labvew 2012 SP1 32 bit. I am able to compile the example code for LED shift. I am however unable to transfer code to the FPGA. I get the following error message:
Error Code: -310602
NI-COBS: Unable to communicate with device over communication cable.
Please verify that the cable is connected to a supported device and that the appropriate drivers are installed.
My system configuration is as follows:
Windows 7 (64 bit) on Dell XPS laptop.
Labview 2012 SP1 (32 bit)
Labview FPGA 2012 SP1
Labview 2012 FPGA support for Spartan3E
Xilinx 13.4 tools
DEFB LV FPGA 2012sp1 support installer
Xilinx USB cable driver v1.3 installed.
I took all the precautions mentioned by others on this forum and others, mainly that the cable must be disconnected before installing the Xilinx cable driver. All software and drivers were installed correctly. I even uninstalled and reinstalled the entire Labview software set I had. I still get the same error.
A few other questions:
1. Is the Xilinx cable different from a regular USB cable of the same configuration ?
2. When I program the FPGA I only have the USB cable connected between my computer and the Spartan 3e board. Should any other cable be connected ?
3. What should be the correct jumper settings for J1 - JP30 (especially J30, J11, JP9, JP6, JP7, etc) ?
I have been at this or over 3 days trying to figure it out. Any help will be greatly appreciated.
-
Can't send mail error 550 and 554--unrecognized user or relay denied
I've done a clean install of server 10.4.11. When I try to send mail from my mobile me account tot he server I am getting one of two different errors: 550 unknown user, or 554 relay access denied. I'm dog tired after an all-nighter and not thinking clearly.
Here is my postconf -n output:
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname,localhost.$mydomain,localhost,mail.trinidadchroniclenews.com,trinid adchroniclenews.com
mydomain = mail.trinidadchroniclenews.com
mydomain_fallback = localhost
myhostname = mail.trinidadchroniclenews.com
mynetworks = 127.0.0.0/8
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdclientrestrictions = permitsaslauthenticated, permit_mynetworks, rejectrblclient sbl-xbl.spamhaus.org rejectrblclient list.dsbl.org rejectrblclient bl.spamcop.net permit
smtpdpw_server_securityoptions = login
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_keyfile =
smtpduse_pwserver = yes
unknownlocal_recipient_rejectcode = 550
TIA
RobThe MX record for trinidadchroniclenews.com points to mail.trinidadchroniclenews.com which.
Telnetting to this host on port 25 I get:
220 orionwebhost.com ESMTP Exim 4.62 Fri, 28 Aug 2009 09:03:54 -0700
Since Mac OS X Server runs Postfix and not Exim, either your DNS records are wrong or your ISP is intercepting port 25.
HTH,
Alex
Maybe you are looking for
-
Hi - what is the difference between POS and POSDM ? There are POS datasources such as 2LIS_40_REVAL etc for POS and then there are 0RT_PA_TRAN_CONTROL for POSDM ? In what ways these are related and how ? Thanks a lot.
-
I have made a horizontal nav bar out of an un-ordered list, and have use a 1 pixel boader between links instead od the pipe ( | ) character but in IE7 the padding acts different than in Firefox and Safari. With this code the padding looks equal on bo
-
How to redefine the "AltGr"-Key in Beehive Conferencing
Hi @all, I have a weird problem with beehive Conferencing. If I'm the presentator and want to type for example an "@"-sign (or "{","[","]","}","~","|"), I have to press the "AltGr" (or "Ctrl+Alt") on my german keyboard to get this. But if I do that t
-
WHAT HAPPENED TO THE HUGE LIST OF NEW ALBUM RELEASES?
on the last itunes version you could view long lists of recent new alum releases in itunes. Usually over 50 per week. It seems this has been reduced to 1 or 2 pages of pictures. I used to love those long lists to discover new music...can I still view
-
HT201065 is there a way to change adminstraters without reloading the OS?
Is it possible to changed administrators without reloading the complete OS