<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.micylou.com/index.php?action=history&amp;feed=atom&amp;title=Enabling_ActiveSync_on_Plesk_on_Linux</id>
	<title>Enabling ActiveSync on Plesk on Linux - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.micylou.com/index.php?action=history&amp;feed=atom&amp;title=Enabling_ActiveSync_on_Plesk_on_Linux"/>
	<link rel="alternate" type="text/html" href="https://wiki.micylou.com/index.php?title=Enabling_ActiveSync_on_Plesk_on_Linux&amp;action=history"/>
	<updated>2026-04-06T13:13:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.micylou.com/index.php?title=Enabling_ActiveSync_on_Plesk_on_Linux&amp;diff=1269&amp;oldid=prev</id>
		<title>DochyJP: Page creation</title>
		<link rel="alternate" type="text/html" href="https://wiki.micylou.com/index.php?title=Enabling_ActiveSync_on_Plesk_on_Linux&amp;diff=1269&amp;oldid=prev"/>
		<updated>2022-04-29T14:58:38Z</updated>

		<summary type="html">&lt;p&gt;Page creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Template Infobox Generic--&amp;gt;&lt;br /&gt;
{{Template:Class-Infobox-Generic&amp;lt;!-- ALL MUST BE FILLED IN --&amp;gt;&lt;br /&gt;
	|image = &amp;lt;!-- If an logo is required, enter the link here --&amp;gt;&lt;br /&gt;
	|Section = [[Section::{{PAGENAME}}]]&lt;br /&gt;
	|Source = [[Source::DataSource]]  &amp;lt;!-- [[Source::DataSource]], [[Source::Query]], ... --&amp;gt;&lt;br /&gt;
	|Language = [[Language::English]] &amp;lt;!-- [[Language::English]], [[Language::Français]], [[Language::Nederlands]] --&amp;gt;&lt;br /&gt;
	|Topic =  [[Topic ::Linux]] &amp;lt;!-- [[Topic ::Mediawiki]], [[Topic ::Microsoft]], ... --&amp;gt;&lt;br /&gt;
	|SubTopic = [[SubTopic::Plesk]] &amp;lt;!-- [[SubTopic::Mediawiki Extension]], [[SubTopic::Office 365]] , [[Subtopic::Quiz]] ... --&amp;gt;&lt;br /&gt;
        |DocumentType =  [[DocumentType::Documentation]] &amp;lt;!-- [[DocumentType::User Guide]], [[DocumentType::Procedure]], [[DocumentType::Script]], [[DocumentType::Gallery]], [[DocumentType::Training]]...--&amp;gt;&lt;br /&gt;
	|LastEditBy = [[LastEditBy::{{REVISIONUSER}}]] &lt;br /&gt;
	|LastEdit = [[LastEdit::{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}]] &lt;br /&gt;
	|Status = [[Status::Active]] &amp;lt;!--[[Status::Active]]  [[Status::Development]] [[Status::Obsolete]] [[Status::Archived]] [[Status::To Delete]]--&amp;gt;&lt;br /&gt;
	|Access = [[Access::free]] &amp;lt;!--[[Access::free]] [[Access::Private]] [[Access::Subscription]] --&amp;gt;&lt;br /&gt;
	&amp;lt;!-- Template version 1.01 --&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- End of Template Infobox Generic--&amp;gt;&lt;br /&gt;
[{{fullurl:{{FULLPAGENAMEE}}|action=mpdf}} Download this page as PDF]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!-- ENTER your content as from here --&amp;gt;&lt;br /&gt;
I have activated ActiveSync on my Ubuntu server and it works pretty well. Now I want to share my experience and maybe get some new suggestions.&lt;br /&gt;
Thanks to everyone who helped to achieve it, I learned a lot from many posts.&lt;br /&gt;
&lt;br /&gt;
*Choose a domain and an email address for administration. It should be a domain with SSL (there are even free SSL providers); this is not necessary but better.&lt;br /&gt;
&lt;br /&gt;
*Edit in the file /etc/psa-webmail/horde/horde/conf.php these lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$conf['auth']['admins'] = array('your-admin-email-address');&lt;br /&gt;
$conf['activesync']['enabled'] = true;&lt;br /&gt;
$conf['activesync']['version'] = '14.1';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*In Plesk Panel go to your main domain Subscription &amp;gt; Websites &amp;amp; Domains &amp;gt; Web Server Settings. Activate Process PHP by nginx and put following code into both: Additional directives for HTTP and Additional directives for HTTPS:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Enable ActiveSync&lt;br /&gt;
&amp;lt;Directory /usr/share/psa-horde&amp;gt;&lt;br /&gt;
 Order allow,deny&lt;br /&gt;
 Allow from all&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
RewriteEngine On&lt;br /&gt;
RewriteRule ^/Microsoft-Server-ActiveSync /usr/share/psa-horde/rpc.php [L,QSA]&lt;br /&gt;
Alias /autodiscover/autodiscover.xml /usr/share/psa-horde/rpc.php&lt;br /&gt;
Alias /Autodiscover/Autodiscover.xml /usr/share/psa-horde/rpc.php&lt;br /&gt;
Alias /AutoDiscover/AutoDiscover.xml /usr/share/psa-horde/rpc.php&lt;br /&gt;
# End Enable ActiveSync&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Now in Plesk go to Websites &amp;amp; Domains &amp;gt; PHP Settings and set max_execution_time to custom value 3000 (it should be more than the value of $conf['activesync']['ping']['heartbeatmax'] in your horde.conf)&lt;br /&gt;
If you do this, Plesk automatically sets proxy_read_timeout 3000; in your nginx.conf, which is important.&lt;br /&gt;
&lt;br /&gt;
*Go to Tools &amp;amp; Settings &amp;gt; Mail Server Settings and set Maximum number of connections for a user per IP address to a higher value, e.g. 40.&lt;br /&gt;
I had to raise this value to prevent an error in mail.err:&lt;br /&gt;
courier-imapd: Maximum connection limit reached for ::1&lt;br /&gt;
(Horde makes many local connections to IMAP and it stops to authenticate when the limit is met, your mail client can't login and asks for a password.)&lt;br /&gt;
&lt;br /&gt;
If you use Courier you can alternatively edit the file /etc/courier-imap/imapd:&amp;lt;pre&amp;gt;MAXPERIP=40&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Reload Apache and Courier IMAP services (Plesk Panel &amp;gt; Tools &amp;amp; Settings &amp;gt; Services Management)&lt;br /&gt;
&lt;br /&gt;
*Optional, but needed for some clients (e.g. Windows 8.1 Mail app): Go to your Webmail and log in with your admin account. Go to Settings (the gear icon) &amp;gt; Administration &amp;gt; Permissions. Add following tree:&amp;lt;br&amp;gt;&lt;br /&gt;
All Permissions &amp;gt; Horde &amp;gt; ActiveSync &amp;gt; Provisioning&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In Provisioning, set Allow for All Authenticated Users&lt;br /&gt;
&lt;br /&gt;
That's it!&amp;lt;br&amp;gt;&lt;br /&gt;
Try to connect with a client (i.e. Outlook 2013). Use these values:&lt;br /&gt;
username: full email address (eg. contact@mydomain.com)&amp;lt;br&amp;gt;&lt;br /&gt;
server: your chosen main domain ( e.g. server.com)&amp;lt;br&amp;gt;&lt;br /&gt;
domain: the domain of your email address (e.g. mydomain.com) &amp;lt;-- This is necessary for some clients (e.g. Windows 8.1 Mail app).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are more steps needed to make Autodiscover work, but it is not so important for me.&amp;lt;br&amp;gt;&lt;br /&gt;
For more info, here is the [http://wiki.horde.org/ActiveSync official Horde Wiki].&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>DochyJP</name></author>
	</entry>
</feed>