What I have: Slackware64 14.1 with working Samba4 Domain Controller/Active Directory. I have downloaded the most recent dovecot-2.2.15.tar.gz sources.
What I want: to configure dovecot to use Active Directory authentication from Windows domain workstations using Outlook.
I am using the dovecot wiki http://wiki2.dovecot.org/
for installation instructions, but it is focused more on describing settings than explaining which you would need an why. I need some step-by-step guidance.
In section 1. Installing / Compiling from sources, options are listed. The list of ones I *might* be interested in are:
Specifies what mailbox formats to support. Note: Independent of this option, the formats raw and shared will be always built.
--with-solr Build with Solr full text search support
--with-zlib Build with zlib compression support (default if detected)
--with-bzlib Build with bzip2 compression support (default if detected)
SQL Driver Options
SQL drivers are typically used only for authentication, but they may be used as a lib-dict backend too, which can be used by plugins for different purposes.
--with-sql-drivers Build with specified SQL drivers. Defaults to all that were found with autodetection.
--with-pgsql Build with PostgreSQL support (requires pgsql-devel, libpq-dev or similar package)
--with-MySQL Build with MySQL support (requires mysql-devel, libmysqlclient15-dev or similar package)
--with-SQLite Build with SQLite3 driver support (requires sqlite-devel, libsqlite3-dev or similar package)
Authentication Backend Options
The basic backends are built if the system is detected to support them:
--with-shadow Build with shadow password support
--with-pam Build with PAM support
--with-nss Build with NSS support
--with-sia Build with Tru64 SIA support
--with-bsdauth Build with BSD authentication support (if supported by your OS)
Some backends require extra libraries and are not necessarily wanted, so they are built only if specifically enabled:
--with-sql Build with generic SQL support (drivers are enabled separately)
--with-ldap Build with LDAP support (requires openldap-devel, libldap2-dev or similar package)
--with-gssapi Build with GSSAPI authentication support (requires krb5-devel, libkrb5-dev or similar package)
--with-vpopmail Build with vpopmail support (requires vpopmail sources or a devel package)
It's also possible to build these as plugins by giving e.g. --with-sql=plugin.
So, I'm a bit stumped getting started ...
As I understand it dovecot/IMAP is able to keep mail on the servers in the folder structures that Outlook users create. So, which --with-storages FORMAT(S) do I want? There is no link from this wiki to describe my possible choices, but other research indicates that dbox does folders. Is that what I want?
Do I care about Solr, zlib, bzlib options?
SQL Driver Options ... why would I need any of these?
Authentication Backend Options. I want to have users authenticate automatically from Outlook using their Windows AD authentication. Which option would I pick? --with-ldap?
The wiki comments that "It's also possible to build these as plugins by giving e.g. --with-sql=plugin". Why would I need to do that?
The last paragraph in this section says:
Dynamic IMAP and POP3 Modules
The mail_plugins setting lists all plugins that Dovecot is supposed to load from the mail_plugin_dir directory at program start. These plugins can do anything they want. They are only expected to contain the <plugin name>_init and <plugin name>_deinit functions which are called at startup and at exit.
The plugin filename is prefixed with a number which specifies the order in which the plugins are loaded. This is important if one plugin depends on another.
I do want IMAP, but I honestly have no idea what this section is talking about. Is this something I need?
Thanks! I'm sure the EExperts will come through again!