From 0ac1b415f20a01cbafc62c02142949883bf8051f Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Fri, 29 Dec 2017 14:40:48 +0000 Subject: [PATCH] fix postfix documentation Fix instructions for a new installs, and upgrades to reflect recent changes. - #1309 removed `sql-relaydomains-transport.cf` - #1322 merged `sql-sender-login-*.cf` into `sql-sender-login-map.cf` - remove duplicate `relay_domains` --- doc/manual_installation/postfix.rst | 10 ++-------- doc/upgrade.rst | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/doc/manual_installation/postfix.rst b/doc/manual_installation/postfix.rst index 18df715a2..d742e566b 100644 --- a/doc/manual_installation/postfix.rst +++ b/doc/manual_installation/postfix.rst @@ -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 = :/etc/postfix/sql-domains.cf virtual_alias_domains = :/etc/postfix/sql-domain-aliases.cf virtual_alias_maps = :/etc/postfix/sql-aliases.cf relay_domains = :/etc/postfix/sql-relaydomains.cf - transport_maps = - :/etc/postfix/sql-spliteddomains-transport.cf - :/etc/postfix/sql-relaydomains-transport.cf + transport_maps = :/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 = - :/etc/postfix/sql-sender-login-mailboxes.cf - :/etc/postfix/sql-sender-login-aliases.cf - :/etc/postfix/sql-sender-login-mailboxes-extra.cf + smtpd_sender_login_maps = :/etc/postfix/sql-sender-login-map.cf smtpd_sender_restrictions = reject_sender_login_mismatch diff --git a/doc/upgrade.rst b/doc/upgrade.rst index 227ec52ea..5ff4174e5 100644 --- a/doc/upgrade.rst +++ b/doc/upgrade.rst @@ -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 + +Then, modify postfix's configuration as follows:: + +If transport_maps contains sql-relaydomains-transport.cf, remove it. + +Finally, reload postfix. + 1.9.2 =====