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