Merge pull request #1338 from fyfe/fix/update-docs

fix postfix documentation
This commit is contained in:
Antoine Nguyen
2018-01-12 11:13:32 +01:00
committed by GitHub
2 changed files with 17 additions and 8 deletions
+2 -8
View File
@@ -36,15 +36,12 @@ Use the following configuration in the :file:`/etc/postfix/main.cf` file
# Stuff before
virtual_transport = lmtp:unix:private/dovecot-lmtp
relay_domains =
virtual_mailbox_domains = <driver>:/etc/postfix/sql-domains.cf
virtual_alias_domains = <driver>:/etc/postfix/sql-domain-aliases.cf
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
<driver>:/etc/postfix/sql-relaydomains-transport.cf
transport_maps = <driver>:/etc/postfix/sql-spliteddomains-transport.cf
smtpd_recipient_restrictions =
# ...
@@ -56,10 +53,7 @@ Use the following configuration in the :file:`/etc/postfix/main.cf` file
reject_unverified_recipient
# ...
smtpd_sender_login_maps =
<driver>:/etc/postfix/sql-sender-login-mailboxes.cf
<driver>:/etc/postfix/sql-sender-login-aliases.cf
<driver>:/etc/postfix/sql-sender-login-mailboxes-extra.cf
smtpd_sender_login_maps = <driver>:/etc/postfix/sql-sender-login-map.cf
smtpd_sender_restrictions =
reject_sender_login_mismatch
+15
View File
@@ -89,6 +89,21 @@ Rebuild Virtual Environment
Specific instructions
*********************
1.10.0
======
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::
If transport_maps contains sql-relaydomains-transport.cf, remove it.
Finally, reload postfix.
1.9.2
=====