From 548e6b5a043d0e2e152e68282bb1f52db8e9d281 Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Fri, 29 Jan 2021 10:22:32 +0100 Subject: [PATCH] doc: add a FAQ section --- docs/faq.rst | 22 ++++++++++++++++++++++ docs/index.rst | 1 + 2 files changed, 23 insertions(+) create mode 100644 docs/faq.rst 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 `__ 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::