autodiscover.xml | Provides Autodiscover capabilities for IMAP/SMTP services | Email library
kandi X-RAY | autodiscover.xml Summary
kandi X-RAY | autodiscover.xml Summary
Provides IMAP/SMTP Autodiscover capabilities on Microsoft Outlook/Apple Mail, Autoconfig capabilities for Thunderbird, and Configuration Profiles for iOS/Apple Mail.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of autodiscover.xml
autodiscover.xml Key Features
autodiscover.xml Examples and Code Snippets
Community Discussions
Trending Discussions on autodiscover.xml
QUESTION
I have a Exchange 2013 server (Windows Server 2013). Single server with all roles Domain controller, AD, Exchange server etc. Now I am writing basic Exchange web services sample code. Below is the code I am trying. If run this code on Exchange server itself, test email gets sent. But if I run same code on another Windows 10 machine in same domain, it does not works. It gives exception below.
On Windows10 machine I have set DNS IP to point Windows Server 2013(Exchange server), with that I can ping to example.com. What I am missing here, why this code is not working on Windows 10 machine in same domain.
Also did not understand why, it is looking for http://autodiscover.example.com. This is not I have defined anywhere.
...ANSWER
Answered 2020-Nov-08 at 07:39Looks like you having secure connection issues;
Process
- Client sends LDAP query to the AD
- AD returns a list of SCP points
- Client attempts to connect to the returned points
- If a valid response comes back, happy days.
In your case the server is returning
https://nileshwin12excg.example.com/Autodiscover/Autodiscover.xml - Result : failed: WebException (The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.)
https://example.com/autodiscover/autodiscover.xml - Result : failed: WebException (The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.)
http://autodiscover.example.com/autodiscover/autodiscover.xml - Result : Request error: The remote name could not be resolved: 'autodiscover.example.com'
So it would seem that the client can not establish a trusted connection to https://nileshwin12excg.example.com or https://example.com/, try to get to these URLs from the machine where you are having trouble. It may be you are using self-signed certs for your web services that are not trusted on the client machine.
EDIT
Add
QUESTION
I'm randomly facing an authentication error using library exchangelib:
...ANSWER
Answered 2020-Sep-04 at 13:15I just pushed a commit that might fix this for you: https://github.com/ecederstrand/exchangelib/commit/c7b4b5a89c5518a6d19b7e88c5a945b9083b15d0
You need to use it in combination with a retry policy to paper over this internal error from requests_ntlm
.
QUESTION
My code connects to Exchange 2017 just fine, but after upgrading to 2019 it has stopped working.
The exception is:
...ANSWER
Answered 2020-Apr-26 at 23:43The most likely cause is TLS 1.2 as Exchange 2019 will only accept TLS 1.2 connection, I would suggest you compile the most recent version of the EWS Managed API from github https://github.com/OfficeDev/ews-managed-api, check the version on the .net framework you using supports it https://docs.microsoft.com/en-us/dotnet/framework/network-programming/tls and you can also explicitly set the TLS version
QUESTION
we’re currently migrating from Exchange Server 2008 to 2013. We use an own coded application with Outlook Redemption, which cannot logon to the new Exchange Server 2013. In the old version of our application we used the function RDOSession.LogonExchangeMailbox
, which is no longer supported by Exchange 2013 (RPC). We updated our application for Outlook Redemption 5.21 and cannot logon to mailboxes that are stored on the Exchange 2013 server. Both servers are online and can receive and send mails.
The code in our application to logon to a mailbox is something like:
...ANSWER
Answered 2019-Nov-20 at 15:04just a follow up: the main problem was that Exchange 2013 and up doesn't support standalone MAPI calls. I had to install Outlook in the client our application runs. Thanks Dmitry for your help
QUESTION
Im writing a Service-Application that should monitor one or more ExchangeMailboxes for incoming Mails to perform some action with those.
The Service will run in different environments, which means i need to support Outlook 2010 to 2019.
How can i reliably Logon to a Session from a Service-Application no matter the Outlookversion?
I have the following code that works for Outlook 2010 but not 2016. The ExchangeServer is the same and using version 2010.
...ANSWER
Answered 2019-May-21 at 16:19Keep in mind that LogonExchangeMailbox
connects to the server in the old RPC mode, which the latest versions of Exchange Server no longer support.
You need to use LogonHostedExchangeMailbox
for Exchange 2013 / 2016 / 2019 - it connects in the PRC-over-HTTP or MAPI-over-HTTP mode. You will need to have at least Outlook 2010 SP2, 2013 SP1, or 2016 / 2019 for LogonHostedExchangeMailbox to work.
QUESTION
I need to get all emails from office 365 account, not from Inbox but from specific folder "Processed"
...ANSWER
Answered 2019-Apr-23 at 09:00Found solution, this post helped me a lot
QUESTION
I am trying to create an appointment in a resource mailbox in Exchange Online using the EWS (Exchange Web Services) API.
I am authenticating with EWS using a O365 global admin account.
I am then impersonating the organiser, and then binding to the mailbox calendar folder. I have setup the appropriate management roles/scopes for this.
When I create the appointment the organiser appears as the room mailbox account, not the impersonated account. I cannot see what I am doing wrong...
I have used a variety of sources to get me as far as I have:
The code below successfully creates an appointment in the $roomMailbox calendar, although the organiser is set as room mailbox, not the organiser I am trying to impersonate...
Any guidance much appreciated.
...ANSWER
Answered 2019-Jan-17 at 21:20Why don't you specify organiser on this line?
QUESTION
The request to
...ANSWER
Answered 2018-Sep-25 at 02:36I've test your code.
Did you valid your parameter for this?
QUESTION
My company just moved some mailboxes into O365. This has had the unfortunate effect of breaking an application created using EWS. When attempting to call out to AutodiscoverUrl(), I am met with an error.
'The Autodiscover service couldn't be located.'
Code:
...ANSWER
Answered 2018-Jun-30 at 07:30- service.UseDefaultCredentials should be false because you need email+password(as secure string) for connect
- use latest ExchangeVersion value
QUESTION
I have an ecommerce site running on php Symfony2. Someone is sending random GET and POST requests with random routes. This crashes my server.
How do I stop or prevent this? Is there a name for this kind of hacking?
Here is my production log.
[2018-04-07 18:18:28] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "HEAD /phpmyadmin/"" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"HEAD /phpmyadmin/\" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/phpmyadmin/\". at /var/www/app/cache/prod/classes.php:2427)"} []
[2018-04-07 18:18:30] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "HEAD /dbadmin/"" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"HEAD /dbadmin/\" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/dbadmin/\". at /var/www/app/cache/prod/classes.php:2427)"} []
[2018-04-07 18:18:31] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "HEAD /db/"" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"HEAD /db/\" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/db/\". at /var/www/app/cache/prod/classes.php:2427)"} []
[2018-04-07 21:53:39] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "POST /wls-wsat/CoordinatorPortType"" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"POST /wls-wsat/CoordinatorPortType\" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/wls-wsat/CoordinatorPortType\". at /var/www/app/cache/prod/classes.php:2427)"} []
[2018-04-08 03:04:11] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /'http://ewhale.co/"" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /'http://ewhale.co/\" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/'http://ewhale.co/\". at /var/www/app/cache/prod/classes.php:2427)"} []
[2018-04-08 06:17:36] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /index.action"" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /index.action\" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/index.action\". at /var/www/app/cache/prod/classes.php:2427)"} []
[2018-04-08 06:20:02] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /_asterisk/"" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /_asterisk/\" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/_asterisk/\". at /var/www/app/cache/prod/classes.php:2427)"} []
[2018-04-08 08:35:49] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "POST /autodiscover/autodiscover.xml"" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"POST /autodiscover/autodiscover.xml\" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/autodiscover/autodiscover.xml\". at /var/www/app/cache/prod/classes.php:2427)"} []
[2018-04-08 08:35:49] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "POST /autodiscover/autodiscover.xml"" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"POST /autodiscover/autodiscover.xml\" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/autodiscover/autodiscover.xml\". at /var/www/app/cache/prod/classes.php:2427)"} []
[2018-04-08 08:35:49] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /.well-known/autoconfig/mail/config-v1.1.xml" (from "http://ewhale.co/.well-known/autoconfig/mail/config-v1.1.xml")" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /.well-known/autoconfig/mail/config-v1.1.xml\" (from \"http://ewhale.co/.well-known/autoconfig/mail/config-v1.1.xml\") at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/.well-known/autoconfig/mail/config-v1.1.xml\". at /var/www/app/cache/prod/classes.php:2427)"} []
[2018-04-08 08:35:59] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "POST /autodiscover/autodiscover.xml"" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"POST /autodiscover/autodiscover.xml\" at /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/autodiscover/autodiscover.xml\". at /var/www/app/cache/prod/classes.php:2427)"} []
ANSWER
Answered 2018-Apr-09 at 05:43As far as i can understand, from the logs you provide, i can tell you:
There is nothing to worry about, unless you expose tools like phpmyadmin on common endpoints, such as abc.com/phpmyadmin
You can't prevent those.
Simply you can't. Because they are random. In these days, even good amount of DoS request can be identified and dropped with cloud solutions like cloudflare. (because DoS requests have somewhat common pattern)
But with this type of random attacks, you have no choice. These requests come from bots. They try web sites randomly to find outdated common software (eg: wordpress, drupal) and inject malicious code if they can.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install autodiscover.xml
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page