From 35be247da7f50582f04e3b6433e281a06eb87a62 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Wed, 6 May 2015 12:15:01 +0200 Subject: [PATCH] Documentation fix. fix #725 --- doc/integration/imap_and_smtp.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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.