Documentation fix.

fix #725
This commit is contained in:
Antoine Nguyen
2015-05-06 12:15:01 +02:00
parent 720129335c
commit 35be247da7
+10 -1
View File
@@ -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 <mysql|postgres|sqlite> --extensions all <directory>
$ modoboa-admin.py postfix_maps --extensions all --dbtype <mysql|postgres|sqlite> <directory>
``<directory>`` 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 =
<driver>:/etc/postfix/sql-sender-login-mailboxes.cf
<driver>:/etc/postfix/sql-sender-login-aliases.cf
<driver>:/etc/postfix/sql-sender-login-domain-aliases.cf
<driver>:/etc/postfix/sql-sender-login-catchall-aliases.cf
smtpd_sender_restrictions =
reject_sender_login_mismatch
# Stuff after
Replace ``<driver>`` by the name of the database you use.