<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.open-xchange.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Install_and_configure_the_mail-account_plugin</id>
	<title>Install and configure the mail-account plugin - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.open-xchange.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Install_and_configure_the_mail-account_plugin"/>
	<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Install_and_configure_the_mail-account_plugin&amp;action=history"/>
	<updated>2026-09-20T01:32:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Install_and_configure_the_mail-account_plugin&amp;diff=8947&amp;oldid=prev</id>
		<title>Malasa: /* Enable specific services only / Cascading Config */</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Install_and_configure_the_mail-account_plugin&amp;diff=8947&amp;oldid=prev"/>
		<updated>2011-09-09T15:28:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Enable specific services only / Cascading Config&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:28, 9 September 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l84&quot;&gt;Line 84:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 84:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Enable specific services only / Cascading Config ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Enable specific services only / Cascading Config ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Furthermore, the plugin will look for a particular configuration path, that is &amp;quot;ui&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;mail&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;services&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;enabled&amp;quot;. If this path exists, you can control which services are enabled by the backend. In order to do so, you can add the following to &amp;lt;code&amp;gt;/opt/open-xchange/etc/groupware/settings/ui.properties&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Furthermore, the plugin will look for a particular configuration path, that is &amp;quot;ui&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/&lt;/ins&gt;mail&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/&lt;/ins&gt;services&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/&lt;/ins&gt;enabled&amp;quot;. If this path exists, you can control which services are enabled by the backend. In order to do so, you can add the following to &amp;lt;code&amp;gt;/opt/open-xchange/etc/groupware/settings/ui.properties&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;, for example:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;, for example:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff::1.12:old-8678:rev-8947 --&gt;
&lt;/table&gt;</summary>
		<author><name>Malasa</name></author>
	</entry>
	<entry>
		<id>https://wiki.open-xchange.com/wiki/index.php?title=Install_and_configure_the_mail-account_plugin&amp;diff=8678&amp;oldid=prev</id>
		<title>Malasa: Created page with &quot;== General == At first, install the UI plugin &lt;b&gt;open-xchange-gui-mail-accounts-plugin&lt;/b&gt; from the update tree. The plugin will install into the default UI plugin folder, e.g. &lt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.open-xchange.com/wiki/index.php?title=Install_and_configure_the_mail-account_plugin&amp;diff=8678&amp;oldid=prev"/>
		<updated>2011-08-30T16:19:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== General == At first, install the UI plugin &amp;lt;b&amp;gt;open-xchange-gui-mail-accounts-plugin&amp;lt;/b&amp;gt; from the update tree. The plugin will install into the default UI plugin folder, e.g. &amp;lt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== General ==&lt;br /&gt;
At first, install the UI plugin &amp;lt;b&amp;gt;open-xchange-gui-mail-accounts-plugin&amp;lt;/b&amp;gt; from the update tree. The plugin will install into the default UI plugin folder, e.g. &amp;lt;code&amp;gt;/var/www/ox6/plugins/com.openexchange.mail.accounts/&amp;lt;/code&amp;gt; on debian. This plugin has no server component. It&amp;#039;s registered by automatically adding its name to plugins/static.conf during post installation. UI updates do not replace this file.&lt;br /&gt;
&lt;br /&gt;
{{InstallPlugin|pluginname=open-xchange-gui-mail-accounts-plugin|sopath=updates}}&lt;br /&gt;
&lt;br /&gt;
== Define services ==&lt;br /&gt;
&lt;br /&gt;
Inside the plugin folder (see above), you will find the configuration file &amp;lt;code&amp;gt;services/config.js&amp;lt;/code&amp;gt;. This file contains all services that you want to provide to your customers. Syntactically it&amp;#039;s plain JavaScript and from the syntax perspective it&amp;#039;s quite self-explaining. Here&amp;#039;s an example of how to define just one single service, in this case it&amp;#039;s &amp;quot;GoogleMail&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 ox.mail.services = {&lt;br /&gt;
    gmail: {&lt;br /&gt;
        // Google Mail&lt;br /&gt;
        name: &amp;quot;Google Mail&amp;quot;,&lt;br /&gt;
        domains: [&amp;quot;gmail.com&amp;quot;, &amp;quot;googlemail.com&amp;quot;],&lt;br /&gt;
        products: {&lt;br /&gt;
            imap: {&lt;br /&gt;
                name: &amp;quot;IMAP&amp;quot;,&lt;br /&gt;
                transport_server: &amp;quot;smtp.gmail.com&amp;quot;,&lt;br /&gt;
                mail_protocol: &amp;quot;imap&amp;quot;,&lt;br /&gt;
                mail_server: &amp;quot;imap.gmail.com&amp;quot;&lt;br /&gt;
            },&lt;br /&gt;
            pop: {&lt;br /&gt;
                name: &amp;quot;POP3&amp;quot;,&lt;br /&gt;
                transport_server: &amp;quot;smtp.gmail.com&amp;quot;,&lt;br /&gt;
                mail_server: &amp;quot;pop.gmail.com&amp;quot;&lt;br /&gt;
            }&lt;br /&gt;
        },&lt;br /&gt;
        description: &amp;quot;In order to use your GMail account, you have to enable ....&amp;quot;, /*i18n*/&lt;br /&gt;
        logo: {&lt;br /&gt;
            src: &amp;quot;gmail.png&amp;quot;,&lt;br /&gt;
            height: &amp;quot;59px&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
Each service has an unique id (&amp;quot;gmail&amp;quot;), a name which appears in the UI (&amp;quot;Google Mail&amp;quot;), a list of domains this service supports (&amp;quot;gmail.com&amp;quot; and &amp;quot;googlemail.com&amp;quot;), a description (for example help the user at figuring out how to enable POP3), as well as a logo and the color of the name (e.g. #E20074 for telecom magenta).&lt;br /&gt;
&lt;br /&gt;
Moreover, each service has products instead of just differentiating IMAP from POP3. Some hosters have a huge set of different types of mail accounts (free, secure, fast, premium, business etc.) independent of the technical perspective (i.e. IMAP or POP3).&lt;br /&gt;
&lt;br /&gt;
Each product has an unique id. The following fields are available: &lt;br /&gt;
&lt;br /&gt;
{| &lt;br /&gt;
|-&lt;br /&gt;
! Field&lt;br /&gt;
! Description / defaults&lt;br /&gt;
|-&lt;br /&gt;
|name 	&lt;br /&gt;
|appears in the UI&lt;br /&gt;
|-&lt;br /&gt;
|transport_protocol 	&lt;br /&gt;
|default is &amp;quot;smtp&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|transport_server 	&lt;br /&gt;
|IP or domain&lt;br /&gt;
|-&lt;br /&gt;
|transport_port 	&lt;br /&gt;
|25 or 465 (ssl)&lt;br /&gt;
|-&lt;br /&gt;
|transport_auth 	&lt;br /&gt;
|use authentication&lt;br /&gt;
|-&lt;br /&gt;
|transport_auth_short 	&lt;br /&gt;
|cut off domain part, &amp;quot;me&amp;quot; instead of &amp;quot;me@domain.tld&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|transport_secure 	&lt;br /&gt;
|use SSL&lt;br /&gt;
|-&lt;br /&gt;
|mail_protocol 	&lt;br /&gt;
|&amp;quot;imap&amp;quot; or &amp;quot;pop3&amp;quot;. default &amp;quot;pop3&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|mail_server 	&lt;br /&gt;
|IP or domain&lt;br /&gt;
|-&lt;br /&gt;
|mail_port 	&lt;br /&gt;
|defaults: 110 (pop3), 995 (pop3/ssl), 143 (imap), 993 (imap/ssl)&lt;br /&gt;
|-&lt;br /&gt;
|mail_auth_short 	&lt;br /&gt;
|same as transport_auth_short&lt;br /&gt;
|-&lt;br /&gt;
|mail_secure 	&lt;br /&gt;
|use SSL&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Enable specific services only / Cascading Config ==&lt;br /&gt;
&lt;br /&gt;
Furthermore, the plugin will look for a particular configuration path, that is &amp;quot;ui.mail.services.enabled&amp;quot;. If this path exists, you can control which services are enabled by the backend. In order to do so, you can add the following to &amp;lt;code&amp;gt;/opt/open-xchange/etc/groupware/settings/ui.properties&amp;lt;/code&amp;gt;&lt;br /&gt;
, for example:&lt;br /&gt;
&lt;br /&gt;
 ui/mail/services/enabled/gmail = true&lt;br /&gt;
 ui/mail/services/enabled/t_online = true&lt;br /&gt;
&lt;br /&gt;
In this case only two services are enabled. All other services that might be defined in &amp;lt;code&amp;gt;/&amp;lt;plugindir&amp;gt;/services/config.js&amp;lt;/code&amp;gt; will be ignored. This configuration supports the Cascading-Configuration, i.e. you can set values for different contexts or context groups. This, of course, requires a proper YAML file.&lt;/div&gt;</summary>
		<author><name>Malasa</name></author>
	</entry>
</feed>