From 0eaff83a2e567d9fe0b03da7e7e8b486f9c80cac Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Fri, 30 Sep 2016 21:34:53 +0200 Subject: [PATCH] Update documentation. --- doc/integration/imap_and_smtp.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/integration/imap_and_smtp.rst b/doc/integration/imap_and_smtp.rst index 7c8d1163d..60bfd23a4 100644 --- a/doc/integration/imap_and_smtp.rst +++ b/doc/integration/imap_and_smtp.rst @@ -420,12 +420,12 @@ You first need to create configuration files (or map files) that will be used by Postfix to lookup into Modoboa tables. To automaticaly generate the requested map files and store them in a -directory, run the following command:: +directory, run the following commands:: - $ modoboa-admin.py postfix_maps --dbtype + $ cd + $ python manage.py generate_postfix_maps --destdir -```` is the directory where the files will be -stored. Answer the few questions and you're done. +```` is the directory where the files will be stored. .. _postfix_config: @@ -461,6 +461,7 @@ Use the following configuration in the :file:`/etc/postfix/main.cf` file 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_restrictions = reject_sender_login_mismatch