530 5.7.1 Client was not authenticated - Exchange 2013 to external domains

Hi all,

I have an Exchange server 2013 on windows 2012 R2 and do all the configuration for sending and receiving the mail according to the document provided by Microsoft.

But whenever I am trying to send mails from external domains to my exchange server domain I got the following error:

530 5.7.1 Client was not authenticated

Same thing I am getting If I am sending mail through outlook from my Exchange domains to external domain.

But if I am selecting the <label for="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers" id="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers_label">Anonymous users in the security option of Default Frontend XXXX, I am able to send the mails through outlook.</label>

<label for="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers" id="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers_label">But I don't want to use this option as it will enable to send the mails without validating the Exchange server user name and password.</label>

SO can anyone please suggest some solutions to resolve this as using Anonymous users fro sending and receiving mails is not secure.

Regards

Pankaj Raman.

<label for="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers" id="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers_label">
</label>



March 2nd, 2015 10:52am

sending and receiving mails using different connectors to setup for such a tasks. Maybe you show configuration of send connector and receive connector (front end) used to receiving mails from internet. It works as the anonymous user has no rights to use it (it is enabled by default). So you change configuration of default receive conector or add new one without rights for anonymous.

If you don't want to receive mails from anonymous users you should configure additional mail server (smart host) - eg. Exchange Edge Server or postfix with spamassasin to protect your Exchange se

Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2015 12:42pm

Thanks for the reply.

But I have installed all the roles like mail box, client access and Edge transport role in one server.

And also I have tried all the option given by you. If I have not marked the an Anonymous users, then I am not able to send the mails through the outlook, but able to send the mail through the browser by using the web apps,

So how both are deffer from each other.

Can anybody please reply.

March 3rd, 2015 5:34am

Are u sure to install Edge role with other roles together? It's strictly forbidden and setup shoud block such a possibility, because Edge is separate role to be installed in DMZ network.

Outlook doesn't need SMTP protocol, because it connects by https for all functionality - make new outlook profile od domain joined computer and it connect to Exchange properly. If u start pop3 or IMAP on Exchange server and wan't to connect from client with those protocols u must configure SMTP on port 587 with authentication enabled (client receive connector use port 587 for SMTP traffic from clients). But still u need anonymous SMTP traffic incoming from other SMTP servers all around the world.

Free Windows Admin Tool Kit Click here and download it now
March 3rd, 2015 7:55am

Sorry I have not installed the Edge transport role in the server. Actually during installing the Exchange 2013 it was unselected while I have installed the other roles.
March 3rd, 2015 10:07am

I have a java code for sending mails using the SMTP address of the servers. For sending a mail it required a valid user name and password. For all other SMTP servers if I have used invalid user name and password then I am getting the  530 5.7.1 Client was not authenticated error, but if I am using my SMTP address and invalid user name and password then also I am able to send the mails.

So I just want to know what I have to configure in the exchange 2013 server so that it will validate the user name and password.

Regards

Pankaj Raman.

Free Windows Admin Tool Kit Click here and download it now
March 3rd, 2015 12:48pm

Normally if you use default configuration, for SMTP on port 587 connection client is authenticated with samaccountname (DOMAIN\user format) and password protected with TLS.
March 6th, 2015 2:47am

I have a java code for sending mails using the SMTP address of the servers. For sending a mail it required a valid user name and password. For all other SMTP servers if I have used invalid user name and password then I am getting the  530 5.7.1 Client was not authenticated error, but if I am using my SMTP address and invalid user name and password then also I am able to send the mails.

So I just want to know what I have to configure in the exchange 2013 server so that it will validate the user name and password.

Regards

Pankaj Raman.

Hi Pankaj,

Thank you for your question.

Was invalid user name and password included in Java code?

Did outlook send emails?

If this issue happen on Java code instead of outlook?

In fact, Exchange server didnt validate user account and password, user account and password will be validated on domain controller,

I suggest we create a new dedicated receive connector and enable anonymous permission for java code

If there are any questions regarding this issue, please be free to let me know. 

Best Regard,

Jim


Free Windows Admin Tool Kit Click here and download it now
March 8th, 2015 3:22am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics