mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Merge pull request #1338 from fyfe/fix/update-docs
fix postfix documentation
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
=====
|
||||
|
||||
|
||||
Reference in New Issue
Block a user