Exchange 2010 Error 550 5.7.1
17 June 2012] This tip explains how to allow applications to establish an unauthenticated connection to Exchange and send e-mails to external addresses. Sometimes there is the necessity of applications sending unauthenticated e-mails to external users. An example of this might be a Call Logging system such as one used by the Help Desk to log IT service calls for users that accepts e-mails from external addresses (students or workers that haven’t joined the organization yet or are having problems with their e-mail account, for example). In these scenarios, the Call Logging system might be configured to send an automatic reply once a call is logged, but if it only supports unauthenticated SMTP, Exchange will automatically blocked it as this is seen as Relaying. To overcome this, you should create a new Receive Connector just for the servers hosting that application(s) and allow for anonymous users to use it (from the Permissions Groups tab in the Exchange Management Console). This will grant permissions to the anonymous account but it still doesn’t give you relay permission. If you try to relay using this send connector, you will get the following SMTP error message: 550 5.7.1 Unable to relay The ACL that controls relay is the ms-Exch-SMTP-Accept-Any-Recipient. To add this ACL to this receive connector, we have to use Exchange Management Shell: Get-ReceiveConnector "" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient" Now your application will be able to establish an unauthenticated connection to Exchange and send e-mails to external addresses. Please, don’t forget to keep Relaying as restricted as possible! See Also See Also Spam or Anonymity: We Don't Have to Choose 15 Nov. 2011 Nathaniel Borenstein Managing Relay in Exchange Server 2013 (Part 2) 21 Jan. 2016 Anderson Patricio Managing Relay connectors in Exchange Server 2007/2010 (Part 2) 7 May 2013 Anderson Patricio Anonymous Relay Receive Connector 3 Nov. 2010 Jaap Wesselius Managing Relay connectors in Exchange Server 2007/2010 (Part 1) 23 April 2013 Anderson Patricio Mail Relay in Exchange Server 2016 8 March 2016 Anderson Patricio Creating a Custom Receive Connector in Exchange 2
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Exchange 2010 550 5.7.1 unable to relay up vote 0 down vote favorite http://www.msexchange.org/kbase/ExchangeServerTips/ExchangeServer2010/SecurityMessageHygiene/5505.7.1Unabletorelay.html I have a website application that needs to send email via our Exchange servers. It sends email internally fine, but when sending to an external address I get the 550 5.7.1 unable to relay error. I followed this guide to create a connector to allow relay. Unfortunately, all office email was trying to use that connector and was not being routed correctly. It also appeared as though it opened it up for spammers to use. This is http://serverfault.com/questions/399775/exchange-2010-550-5-7-1-unable-to-relay obviously unacceptable and a secure method is needed. exchange smtp authentication share|improve this question asked Jun 18 '12 at 14:18 isorfir 103113 add a comment| 3 Answers 3 active oldest votes up vote 0 down vote accepted In your new scope did you only setup the IP of the web server as being able to send mail? If you limit the connector to only receive mail from your webserver that should take care of it. Alternatively if you can setup your web app to use authenticated SMTP sessions you wouldn't need a new connector. share|improve this answer answered Jun 18 '12 at 14:26 tparker 512 I was actually able to do both, looks like we were on the same track. Thanks tparker. –isorfir Jun 18 '12 at 15:15 add a comment| up vote 2 down vote This problem occurs because by default the receive connector in Exchange Server 2007 does not have its default domain value set. This is unlike the behavior in Exchange 2000 or 2003 where it automatically appended the default domain to values that are submitted to MAIL FROM: or RCPT TO: in the message envelope by a sending server if no domain name is provided. In Exchange Server 2007/ 2010, the default domain value on the receive connector is not set by default. If no domain name is specified in the MAIL FRO
»techsupportcommentsWant to join? Log in or sign up in seconds.|Englishlimit my search to /r/techsupportuse the following search parameters to narrow your results:subreddit:subredditfind submissions in "subreddit"author:usernamefind submissions by https://www.reddit.com/r/techsupport/comments/uuqq6/exchange_2010_smtp_error_550_571_unable_to_relay/ "username"site:example.comfind submissions from "example.com"url:textsearch for "text" in urlselftext:textsearch for "text" in self post contentsself:yes (or self:no)include (or exclude) self postsnsfw:yes (or nsfw:no)include (or exclude) results marked as NSFWe.g. subreddit:aww site:imgur.com exchange 2010 dogsee the search faq for details.advanced search: by author, subreddit...this post was submitted on 10 Jun 20125 points (86% upvoted)shortlink: remember mereset passwordloginSubmit a support requesttechsupportsubscribeunsubscribe93,373 readers101 users here now Tech Support Subreddits exchange 2010 error /r/24hoursupport /r/answers /r/buildapc /r/computertechs /r/homenetworking /r/itcareerquestions /r/laptops /r/networking /r/pcgamingtechsupport /r/suggestalaptop /r/suggestapc /r/talesfromtechsupport /r/techsupportgore /r/techsupportmacgyver /r/windows Infections Which AV do I use? Virus Removal Thread Tools Software DDS (Startups/Diagnostics) HDTune (HDD) Hiren's BootCD HWMonitor (Temp Monitoring) MemTest86+ (RAM) Ninite (Downloader) OldTimer's ListIt (Diagnostics) WinDirStat (File Usage) Tutorials CCNA Professor Messer (CompTIA) Having Tech Problems? Ask us here at /r/techsupport, and try to help others with their problems as well! Live Chat If your problem is urgent, you may want to try the live chat. Submission Guidelines