From c4db97ea7abdb27a2ba4787d84954fa8c181c3a0 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Sat, 31 Mar 2018 14:27:37 +0200 Subject: [PATCH] Updated README. --- README.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.rst b/README.rst index f24c596..bed8d5f 100644 --- a/README.rst +++ b/README.rst @@ -65,6 +65,26 @@ a previous one using the ``--version`` option:: If you want more information about the installation process, add the ``--debug`` option to your command line. +Change the generated hostname +----------------------------- + +By default, the installer will setup your email server using the +following hostname: ``mail.``. If you want a different +value, generate the configuration file like this:: + + $ ./run.py --stop-after-configfile-check + +Then edit ``installer.cfg`` and look for the following section:: + + [general] + hostname = mail.%(domain)s + +Replace ``mail`` by the value you want to use and save your +modifications. + +Finally, run the installer without the +``--stop-after-configfile-check`` option. + Let's Encrypt certificate -------------------------