\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
\part{Install IMP Webmail, Ingo Mail Filter Manager}
This will install a set of applications for Webmail.

\begin{itemize}
\item IMP Webmail


\item Ingo Mail Filer Manager


\item <a href="https://wiki.horde.org/ActiveSync">ActiveSync</a>


\end{itemize}
\section{Install applications}
Inside your Root Project, run

<pre><code>
sudo -u www-data composer require horde/imp \^{}7 horde/ingo \^{}4 horde/activesync \^{}3
</code></pre>
The general pattern is<br />
composer require horde/\$app \$version

Use the caret \^{} character to pin to a major version. Use the tilde \textasciitilde{} to pin to a major and minor version. Use a fully qualified version name to pin to an exact version. This is normally not recommended. See the composer documentation for more advanced requirements. See the repo <a href="https://packagist.org/">https://packagist.org/</a> for available versions of individual apps. Note that only the latest major version will currently run with composer.

Warning: As of now, installing apps without a version constraint may result in installing the app from the development branch. This will be changed when the apps are officially released.

\section{Provide configuration}
Put config files into

\begin{itemize}
\item var/config/imp


\item var/config/ingo


\item var/config/activesync


\end{itemize}
Run the command

<pre><code>
sudo -u www-data composer horde-reconfigure
</code></pre>
\section{Configure via Web UI}
Go to the web UI and generate the default configs for the calendar and tasks apps:

/horde/admin/config/config.php?app=imp<br />
/horde/admin/config/config.php?app=ingo<br />
/horde/admin/config/config.php?app=activesync

The content app does not need this.

On a fresh installation, the config UI will try to place the files in the web dir.<br />
This would result in the files vanishing on the next update.<br />
You need to move them to the persistent config dir.

<pre><code>
mv web/imp/config/conf.php var/config/imp/conf.php
mv web/ingo/config/conf.php var/config/ingo/conf.php
mv web/activesync/config/conf.php var/config/activesync/conf.php
sudo -u www-data composer horde-reconfigure
</code></pre>
For later changes, the config UI should recognize the symlink and edit the target file instead.

\subsection{Extra config for imp}
Put these extra files into var/config/imp/ for customizing your mail backends layout and storage

<pre><code>
backends.local.php
</code></pre>
Run the 'composer horde-reconfigure' command in the root project dir afterwards.

\section{Setup the database tables}
Run this command:

<pre><code>
 ./vendor/bin/horde-db-migrate up
</code></pre>
\end{document}
