summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2021-01-29 10:22:32 +0100
committerlewo <lewo@abesis.fr>2021-03-03 08:36:08 +0000
commit548e6b5a043d0e2e152e68282bb1f52db8e9d281 (patch)
tree75f2c871b71995d0d024458f383af24bc04de1a1
parent7e84fd4c937ae7d40b19e715492fcc5ec577d6c7 (diff)
doc: add a FAQ section
-rw-r--r--docs/faq.rst22
-rw-r--r--docs/index.rst1
2 files changed, 23 insertions, 0 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
new file mode 100644
index 0000000..ef306de
--- /dev/null
+++ b/docs/faq.rst
@@ -0,0 +1,22 @@
+FAQ
+===
+
+``catchAll`` users can't send email as user other than themself
+---------------------------------------------------------------
+
+To allow a ``catchAll`` user to send mail with the address used as
+recipient, the option ``aliases`` has to be used instead of ``catchAll``.
+
+For instance, to allow ``user@example.com`` to catch all mails to the
+domain ``example.com`` and send mails with any address of this domain:
+
+
+.. code:: nix
+
+ mailserver.loginAccounts = {
+ "user@example.com" = {
+ aliases = [ "@example.com" ];
+ };
+ };
+
+See also `this discussion <https://github.com/r-raymond/nixos-mailserver/issues/49>`__ for details.
diff --git a/docs/index.rst b/docs/index.rst
index 4961f21..155871a 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -16,6 +16,7 @@ Welcome to NixOS Mailserver's documentation!
quick-start
setup-guide
howto-develop
+ faq
release-notes
.. toctree::