From 0dbbc5050192ffe94de7ba13c065531626bcbd8f Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Tue, 3 Dec 2013 17:52:45 +0100 Subject: [PATCH] Few fixes. --- doc/getting_started/plugins.rst | 21 ++++++++++++++----- .../templates/amavis/main_action_bar.html | 4 ++-- .../stats/templates/stats/index.html | 6 ++++-- 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/doc/getting_started/plugins.rst b/doc/getting_started/plugins.rst index 1bc6c2def..2b47858e7 100644 --- a/doc/getting_started/plugins.rst +++ b/doc/getting_started/plugins.rst @@ -36,16 +36,27 @@ the *Modoboa > Parameters > Limits* page. Postfix relay domains support ***************************** -This plugin adds the support for relay domains using postfix. This -feature is useful when the MTA managed by Modoboa is not the final -destination of one or many domains. +This plugin adds the support for relay domains using postfix. You can +use it when the MTA managed by Modoboa is not the final destination of +one or several domains. -If activated, two new objects will be available from the *domains* +If activated, two new objects will be available from the *Domains* listing page: *relay domain* and *relay domain alias*. -This extension is compatible with the *amavis* and *limits* +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 +files and then update your configuration. + +To generate the map files, run the following command:: + + $ modoboa-admin.py postfix_maps --categories relaydomains --dbtype + +Replace values between ``<>`` by yours. + +Edit the :file:`/etc/postfix/main.cf` file. + .. _amavis_frontend: ******************** diff --git a/modoboa/extensions/amavis/templates/amavis/main_action_bar.html b/modoboa/extensions/amavis/templates/amavis/main_action_bar.html index 54cbe6ab8..709460220 100644 --- a/modoboa/extensions/amavis/templates/amavis/main_action_bar.html +++ b/modoboa/extensions/amavis/templates/amavis/main_action_bar.html @@ -14,12 +14,12 @@ diff --git a/modoboa/extensions/stats/templates/stats/index.html b/modoboa/extensions/stats/templates/stats/index.html index b70947d06..9aec1d1ef 100644 --- a/modoboa/extensions/stats/templates/stats/index.html +++ b/modoboa/extensions/stats/templates/stats/index.html @@ -47,10 +47,12 @@ $(document).ready(function() {
- + +
- + +