mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
Few fixes.
This commit is contained in:
@@ -36,16 +36,27 @@ the *Modoboa > Parameters > Limits* page.
|
|||||||
Postfix relay domains support
|
Postfix relay domains support
|
||||||
*****************************
|
*****************************
|
||||||
|
|
||||||
This plugin adds the support for relay domains using postfix. This
|
This plugin adds the support for relay domains using postfix. You can
|
||||||
feature is useful when the MTA managed by Modoboa is not the final
|
use it when the MTA managed by Modoboa is not the final destination of
|
||||||
destination of one or many domains.
|
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*.
|
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.
|
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 <the database you use> <path>
|
||||||
|
|
||||||
|
Replace values between ``<>`` by yours.
|
||||||
|
|
||||||
|
Edit the :file:`/etc/postfix/main.cf` file.
|
||||||
|
|
||||||
.. _amavis_frontend:
|
.. _amavis_frontend:
|
||||||
|
|
||||||
********************
|
********************
|
||||||
|
|||||||
@@ -14,12 +14,12 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<a name="release-multi" href="{% url 'modoboa.extensions.amavis.views.process' %}" class="btn btn-success">
|
<a name="release-multi" href="{% url 'modoboa.extensions.amavis.views.process' %}" class="btn btn-success disabled">
|
||||||
<i class="icon-white icon-ok"></i> {% trans "Release" %}
|
<i class="icon-white icon-ok"></i> {% trans "Release" %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<a name="delete-multi" href="{% url 'modoboa.extensions.amavis.views.process' %}" class="btn btn-danger">
|
<a name="delete-multi" href="{% url 'modoboa.extensions.amavis.views.process' %}" class="btn btn-danger disabled">
|
||||||
<i class="icon-white icon-trash"></i> {% trans "Delete" %}
|
<i class="icon-white icon-trash"></i> {% trans "Delete" %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -47,10 +47,12 @@ $(document).ready(function() {
|
|||||||
<form class="form-inline">
|
<form class="form-inline">
|
||||||
<span id="custom-period">
|
<span id="custom-period">
|
||||||
<div class="input-prepend">
|
<div class="input-prepend">
|
||||||
<span class="add-on"><i class="icon-indent-left"></i></span><input id="id_from" class="span10" name="date_from" value="{{ start }}" type="text" />
|
<span class="add-on"><i class="icon-indent-left"></i></span>
|
||||||
|
<input id="id_from" class="span10" name="date_from" value="{{ start }}" type="text" readonly="readonly" />
|
||||||
</div>
|
</div>
|
||||||
<div class="input-prepend">
|
<div class="input-prepend">
|
||||||
<span class="add-on"><i class="icon-indent-right"></i></span><input id="id_to" class="span10" name="date_to" value="{{ end }}" type="text" />
|
<span class="add-on"><i class="icon-indent-right"></i></span>
|
||||||
|
<input id="id_to" class="span10" name="date_to" value="{{ end }}" type="text" readonly="readonly" />
|
||||||
</div>
|
</div>
|
||||||
<button class="btn" id="customsend">{% trans "Apply" %}</button>
|
<button class="btn" id="customsend">{% trans "Apply" %}</button>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user