{"id":1665,"date":"2013-10-25T10:01:24","date_gmt":"2013-10-25T10:01:24","guid":{"rendered":"http:\/\/galhano.com\/blog\/?p=1665"},"modified":"2013-10-25T10:01:24","modified_gmt":"2013-10-25T10:01:24","slug":"enable-auth-login-on-smtp-server-exchange-2010","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=1665","title":{"rendered":"Enable auth login on smtp server exchange 2010"},"content":{"rendered":"<p>2 errors can happen:<\/p>\n<p>a) &#8220;504 5.7.4 Unrecognized authentication type&#8221;<br \/>\nAnd, after was resolved, (b) happened:<br \/>\nb) &#8220;550 5.7.1 Client does not have permission to send as this sender&#8221;<\/p>\n<p><!--more--><\/p>\n<p><strong>504 5.7.4 Unrecognized authentication type<\/strong><br \/>\nWhen using the AuthLogin authentication scheme in Application mail send. However, starting in Exchange 2010, the only authentication mechanism enabled is NTLM. On their Exchange 2003 server, they had other authentication schemes enabled. So, as soon as\u00a0 upgraded to Exchange 2010, Application MailSend was throwing an exception, basically saying that AuthLogin was no longer supported.<\/p>\n<p>2 solutions for this.<br \/>\na) In the code, tell your app to use the NTLM authentication scheme. If you don&#8217;t want to change code base go to option (b):<br \/>\nb) Enable AuthLogin authenticaton on Exchange:<br \/>\nIn the Exchange console under server configuration:<br \/>\nSelect hub transport.<br \/>\nRight click\u00a0 the client server and select properties.<br \/>\nSelect the authentication tab.<br \/>\nCheck the Basic Authentication checkbox.<br \/>\nUncheck the Offer Basic only after TLS<\/p>\n<p>May have to restart the Exchange services.<\/p>\n<p>2nd Error:<br \/>\n<strong>550 5.7.1 Client does not have permission to send as this sender<\/strong><br \/>\nThis error happens because the FROM address the customer was using, was different than the Exchange mailbox they were relaying through.<\/p>\n<p>Like the error message implies, this is a permissions issue. Go to:<br \/>\na)From an Exchange Command prompt, run the following command:<br \/>\nAdd-AdPermission -Identity &#8220;Default Receive Connector&#8221; -User &#8220;NT AUTHORITY\\Authenticated Users&#8221; -ExtendedRights ms-Exch-SMTP-Accept-Any-Sender<\/p>\n<p>b) On the user account, in Active Directory, under Security, under the SELF account, select the Manage Send As Permission option.<\/p>\n<p>More info:<br \/>\nhttp:\/\/technet.microsoft.com\/en-us\/library\/aa997170(EXCHG.140).aspx<br \/>\nhttp:\/\/www.advancedintellect.com\/post\/2011\/03\/02\/Exchange-2010-and-SMTP-settings.aspx<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2 errors can happen: a) &#8220;504 5.7.4 Unrecognized authentication type&#8221; And, after was resolved, (b) happened: b) &#8220;550 5.7.1 Client does not have permission to send as this sender&#8221;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,22],"tags":[],"class_list":["post-1665","post","type-post","status-publish","format-standard","hentry","category-exchange","category-microsoft","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1665"}],"version-history":[{"count":2,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1665\/revisions"}],"predecessor-version":[{"id":1667,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1665\/revisions\/1667"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1665"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}