diff --git a/doc/integration/imap_and_smtp.rst b/doc/integration/imap_and_smtp.rst index be670a535..130e5d009 100644 --- a/doc/integration/imap_and_smtp.rst +++ b/doc/integration/imap_and_smtp.rst @@ -422,7 +422,7 @@ 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:: - $ modoboa-admin.py postfix_maps --dbtype --extensions all + $ modoboa-admin.py postfix_maps --extensions all --dbtype ```` is the directory where the files will be stored. Answer the few questions and you're done. @@ -453,6 +453,15 @@ 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-domain-aliases.cf + :/etc/postfix/sql-sender-login-catchall-aliases.cf + + smtpd_sender_restrictions = + reject_sender_login_mismatch + # Stuff after Replace ```` by the name of the database you use.