Automatic detection with Plesk Server (Linux)

Support Wissensdatenbank

Du bist hier:
Print

Proceed as follows to set up Autodiscover on your Plesk server:

  1. Connect to the server via SFTP and navigate to’/var/www/vhosts/default/htdocs/’.
  2. Create a new folder called ‘autodiscover’.
  3. Create the file ‘autodiscover.xml’ in this folder and fill it with the following content:
    [code lang="php"]
    <?php
    $data = file_get_contents("php://input");
    preg_match("/\<EMailAddress\>(.*?)\<\/EMailAddress\>/", $data, $matches);
    ?>
    <?php echo '<?xml version="1.0" encoding="utf-8" ?>'; ?>
    <Account>
    <AccountType>email</AccountType>
    <Action>settings</Action> <Protocol>
    <Type>IMAP</Type>
    <Server>HOSTNAME</Server>
    <Port>993</Port>
    <DomainRequired>off</DomainRequired>
    <LoginName><?php echo $matches[1]; ?></LoginName>
    <SPA>off</SPA>
    <SSL>on</SSL>
    <AuthRequired>on</AuthRequired>
    </Protocol> <Protocol>
    <Type>SMTP</Type>
    <Server>HOSTNAME</Server>
    <Port>465</Port>
    <DomainRequired>off</DomainRequired>
    <LoginName><?php echo $matches[1]; ?></LoginName>
    <SPA>off</SPA>
    <SSL>on</SSL>
    <AuthRequired>on</AuthRequired>
    <UsePOPAuth>on</UsePOPAuth>
    <FolderSync xmlns="FolderHierarchy:">
    <SyncKey>2</SyncKey>
    </FolderSync>
    </Protocol>
    </Account>
    </Response>
    </Autodiscover>
    [//code]
  4. Start the Apache2 webserver:service apache2new
  5. Make sure that your customer domains have our standard DNS records.
    <Directory /var/www/vhosts/default/htdocs>
    <IfModule mod_fcgid.c>
    <Files ~ (\.xml$)>
    SetHandler fcgid-script
    FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .xml
    Options +ExecCGI
    </Files>
    </IfModule>
    </Directory>
  6. Check for automatic detection by adding a new account in Outlook. If all settings are found automatically, then the setup has worked.
War dieser Artikel hilfreich?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Please submit the reason for your vote so that we can improve the article.
Brauchst du Hilfe?
Related Post