Fixed configuration for 1.10.0.

This commit is contained in:
Antoine Nguyen
2018-01-12 11:18:55 +01:00
parent 3d7009b845
commit 68b3158d08
2 changed files with 11 additions and 17 deletions
+3 -1
View File
@@ -41,7 +41,9 @@ Use the following configuration in the :file:`/etc/postfix/main.cf` file
virtual_alias_maps = <driver>:/etc/postfix/sql-aliases.cf
relay_domains = <driver>:/etc/postfix/sql-relaydomains.cf
transport_maps = <driver>:/etc/postfix/sql-spliteddomains-transport.cf
transport_maps =
<driver>:/etc/postfix/sql-transport.cf
<driver>:/etc/postfix/sql-spliteddomains-transport.cf
smtpd_recipient_restrictions =
# ...
+8 -16
View File
@@ -100,26 +100,18 @@ First of all, update postfix map files as follows:
Then, modify postfix's configuration as follows::
If transport_maps contains sql-relaydomains-transport.cf, remove it.
Finally, reload postfix.
1.9.2
=====
First of all, update postfix map files as follows:
.. sourcecode:: bash
> python manage.py generate_postfix_maps --destdir <path>
Then, modify postfix's configuration as follows::
smtpd_sender_login_maps =
smtpd_sender_login_maps =
<driver>:<path>/sql-sender-login-map.cf
transport_maps =
<driver>:<path>/sql-transport.cf
<driver>:<path>/sql-spliteddomains-transport.cf
# other map files...
Replace ``<driver>`` and ``<path>`` by your values.
If ``transport_maps`` contains ``sql-relaydomains-transport.cf``, remove it.
Finally, reload postfix.
1.9.0