-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client not authenticated to send mail. #257
Comments
Your client isn't actually sending a login command. Using the proxy doesn't mean you can send unauthenticated email; it just means that you can use SMTP's |
When we add credentials this comes up
|
Thanks for posting the additional context. Initially, I thought this might be a case where the proxy's cautious approach to security makes it harder to debug (I'd benefit from seeing what is the actual content of the However, I then noticed that you have put quotes around the |
Thank you for understanding. I did not manually remove anything, I just censored the IP and email address, it is in the logs as you see it pasted. But without quotes we are getting somewhere, I was fighting the authorization windows since the popup is in IE, it wont let me go past the MFA skip prompt (we have exception for this account to not to require MFA from certain locations, however the registration still pops up), after checking the external authorization, I had to view the source to copy the URL. I copied the url, I had to click to continue the script execution and finally after submitting I was authorised :) I just hope this wont have to be done often. Have you thought about implementing a device login? Or Edge/Chrome WebView? If you need any more info I am available :) |
Thanks for following up – I'm glad you were able to resolve this. I have updated the sample configuration file to point to the configuration file format documentation and explicitly note that quoting of values is not required. Hopefully this will help avoid other people making this mistake. The proxy has very little control over the authentication/authorisation process – this is up to the provider. However (with the caveat that this depends on your Entra configuration), I'd expect this to have to be done very infrequently – many months apart, if not even less often. There are known issues with the web browser popup in some configurations, and these are beyond the scope of the proxy to fix. But you could always try one of the other authorisation options if needed. |
Hello,
we are trying to authenticate against M365 Server. Created new app registration with following permissions
![image](https://private-user-images.githubusercontent.com/79028652/343712895-33663902-50ec-4cdf-9c91-b006022a7921.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NDY1NDgsIm5iZiI6MTcxOTc0NjI0OCwicGF0aCI6Ii83OTAyODY1Mi8zNDM3MTI4OTUtMzM2NjM5MDItNTBlYy00Y2RmLTljOTEtYjAwNjAyMmE3OTIxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDExMTcyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEzMjJhMDUxYWJhNmQ5ZmU0MTUzMDIxYzcwMDk5ODNjMjc5ZTk4YmVhNWMxMmNmZjQzYjg4ZGRjOWNjYWEzYjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.MvQGh1cy2barjGsKORLHconaY4Tx9ow1ZUIFcOQXt2I)
Configuration is as follows (we dont need IMAP or POP, just SMTP
In the log we are getting
Any clue what to set up next? Thank you
The text was updated successfully, but these errors were encountered: