Skip to content

Commit

Permalink
Updated opendkim doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioo committed Jul 10, 2018
1 parent 1ce9901 commit 1d9e8db
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions doc/manual_installation/opendkim.rst
Expand Up @@ -7,14 +7,19 @@ Modoboa can generate `DKIM
the hosted domains but it won't sign or check messages. To do that,
you need a dedicated software like `OpenDKIM <http://opendkim.org/>`_.

.. note::

The cron job in charge of creating DKIM keys must be run using the
same user than OpenDKIM (ie. opendkim in most cases).

Database
========

Since keys related information is stored in Modoboa's database, you
need to tell OpenDKIM how it can access it.

First, make sure to install the required additional packages on your
system (``libopendbx1`` on debian based distributions or ``opendbx``
system (``libopendbx1-*`` on debian based distributions or ``opendbx-*``
on CentOS, the complete name depends on your database engine).

Then, insert the following SQL view into Modoboa's database:
Expand Down Expand Up @@ -53,7 +58,8 @@ Add the following content to it::
Socket inet:12345@localhost

Replace values between ``<>`` by yours. Accepted values for ``driver``
are ``pgsql`` or ``mysql``.
are ``pgsql`` or ``mysql``. Make sure the user you specify has read
permission on the view created previously.

If you run a debian based system, make sure to adjust the following
setting in the :file:`/etc/default/opendkim` file::
Expand Down

0 comments on commit 1d9e8db

Please sign in to comment.