]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
docs: Fix note about the required Postfix rights
authorAli Alnubani <alialnu@mellanox.com>
Mon, 21 Oct 2019 15:06:24 +0000 (15:06 +0000)
committerStephen Finucane <stephen@that.guru>
Sat, 30 Nov 2019 15:26:28 +0000 (15:26 +0000)
The permissions for the user running the postfix process are
not the ones used for external file or command delivery by default.
The ones defined by default_privs are (in case the aliases(5) file
that is owned by root was being used). A privileged user or the
postfix owner should not be used in this case.

See http://www.postfix.org/postconf.5.html#default_privs and
local(8).

Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
Reviewed-by: Stephen Finucane <stephen@that.guru>
docs/deployment/installation.rst

index f477a110f292aac3354ea08f15d0e1a651e33dea..667a6a69dc8aa28a61f9efee329d9a232a886624 100644 (file)
@@ -623,11 +623,11 @@ they can be loaded as seen below:
 
 .. note::
 
-   This assumes your Postfix process is running as the ``nobody`` user.  If
-   this is not correct (use of ``postfix`` user is also common), you should
-   change both the username in the ``createuser`` command above and substitute
-   the username in the ``grant-all-postgres.sql`` script with the appropriate
-   alternative.
+   This assumes that you are using the aliases(5) file that is owned by root,
+   and that Postfix's ``default_privs`` configuration is set as ``nobody``. If
+   this is not the case, you should change both the username in the ``createuser``
+   command above and substitute the username in the ``grant-all.postgres.sql``
+   script with the appropriate alternative.
 
 __ http://www.postfix.org/