mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-01 12:03:55 +01:00
Documentation update.
This commit is contained in:
@@ -46,7 +46,7 @@ listing page: *relay domain* and *relay domain alias*.
|
||||
The extension is compatible with the *amavis* and *limits*
|
||||
ones. Resellers will be able to create both new objects.
|
||||
|
||||
To tell Postfix this feature exists, you must generate two new map
|
||||
Replace <driver> by the name of the database you use.To tell Postfix this feature exists, you must generate two new map
|
||||
files and then update your configuration.
|
||||
|
||||
To generate the map files, run the following command::
|
||||
@@ -55,7 +55,24 @@ To generate the map files, run the following command::
|
||||
|
||||
Replace values between ``<>`` by yours.
|
||||
|
||||
Edit the :file:`/etc/postfix/main.cf` file.
|
||||
Edit the :file:`/etc/postfix/main.cf` file and copy the following
|
||||
lines inside::
|
||||
|
||||
relay_domains = <driver>:/etc/postfix/maps/sql-relaydomains.cf
|
||||
transport_maps =
|
||||
<driver>:/etc/postfix/maps/sql-relaydomains-transport.cf
|
||||
<driver>:/etc/postfix/maps/sql-relaydomain-aliases-transport.cf
|
||||
|
||||
Replace ``<driver>`` by the name of the database you use.
|
||||
|
||||
Ensure that ``smtpd_recipient_restrictions`` contains at least the
|
||||
following options::
|
||||
|
||||
smtpd_recipient_restrictions =
|
||||
permit_mynetworks
|
||||
reject_unauth_destination
|
||||
|
||||
Reload postfix.
|
||||
|
||||
.. _amavis_frontend:
|
||||
|
||||
@@ -311,12 +328,11 @@ configuration files as follows:
|
||||
|
||||
``/etc/postfix/main.cf``::
|
||||
|
||||
transport_maps = mysql:/etc/postfix/maps/sql-transport.cf
|
||||
virtual_alias_maps = mysql:/etc/postfix/maps/sql-aliases.cf
|
||||
mysql:/etc/postfix/mapfiles/sql-domain-aliases-mailboxes.cf,
|
||||
mysql:/etc/postfix/mapfiles/sql-email2email.cf,
|
||||
mysql:/etc/postfix/maps/sql-autoreplies.cf,
|
||||
mysql:/etc/postfix/mapfiles/sql-catchall-aliases.cf
|
||||
transport_maps = mysql:/etc/postfix/maps/sql-autoreplies-transport.cf
|
||||
virtual_alias_maps = <driver>:/etc/postfix/maps/sql-aliases.cf
|
||||
<driver>:/etc/postfix/mapfiles/sql-domain-aliases-mailboxes.cf,
|
||||
<driver>:/etc/postfix/maps/sql-autoreplies.cf,
|
||||
<driver>:/etc/postfix/mapfiles/sql-catchall-aliases.cf
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -327,7 +343,8 @@ configuration files as follows:
|
||||
autoreply unix - n n - - pipe
|
||||
flags= user=vmail:<group> argv=<modoboa_site>/manage.py autoreply $sender $mailbox
|
||||
|
||||
``<modoboa_site>`` is the path of your Modoboa instance.
|
||||
Replace ``<driver>`` by the name of the database you
|
||||
use. ``<modoboa_site>`` is the path of your Modoboa instance.
|
||||
|
||||
Then, create the requested map files::
|
||||
|
||||
|
||||
@@ -50,8 +50,8 @@ Finally, follow the common procedure::
|
||||
|
||||
.. _1.1.0:
|
||||
|
||||
1.1.0: FIXME
|
||||
============
|
||||
1.1.0: relay domains and better passwords encryption
|
||||
====================================================
|
||||
|
||||
Due to code refactoring, some modifications need to be done into
|
||||
:file:`settings.py`:
|
||||
|
||||
@@ -443,15 +443,9 @@ Use the following configuration in the :file:`/etc/postfix/main.cf` file
|
||||
virtual_transport = dovecot
|
||||
dovecot_destination_recipient_limit = 1
|
||||
|
||||
virtual_minimum_uid = <vmail user id>
|
||||
virtual_gid_maps = static:<vmail group id>
|
||||
virtual_uid_maps = static:<vmail user id>
|
||||
virtual_mailbox_base = /var/vmail
|
||||
|
||||
relay_domains =
|
||||
virtual_mailbox_domains = <driver>:/etc/postfix/sql-domains.cf
|
||||
virtual_alias_domains = <driver>:/etc/postfix/sql-domain-aliases.cf
|
||||
virtual_mailbox_maps = <driver>:/etc/postfix/sql-mailboxes.cf
|
||||
virtual_alias_maps = <driver>:/etc/postfix/sql-aliases.cf,
|
||||
<driver>:/etc/postfix/sql-domain-aliases-mailboxes.cf,
|
||||
<driver>:/etc/postfix/sql-catchall-aliases.cf
|
||||
|
||||
Reference in New Issue
Block a user