add more documentation

This commit is contained in:
Robin Raymond 2017-08-12 17:09:32 +02:00
parent f291391a27
commit 9cbd131ffc
1 changed files with 17 additions and 4 deletions

View File

@ -77,11 +77,17 @@ let
# #
# 1) You specify locations and manually copy certificates there. # 1) You specify locations and manually copy certificates there.
# 2) You let the server create new (self signed) certificates on the fly. # 2) You let the server create new (self signed) certificates on the fly.
# 3) You let the server create a certificate via `Let's Encrypt`. Not that # 3) You let the server create a certificate via `Let's Encrypt`. Note that
# this implies that a stripped down webserver has to be started. # this implies that a stripped down webserver has to be started. This also
# implies that the FQDN must be set as an `A` record to point to the IP of
# the server. TODO: Explain more details
# #
cert_file = "mail-server.crt"; # TODO: Only certificate scheme 1) works as of yet.
key_file = "mail-server.key"; certificate_scheme = 1;
# Sceme 1)
cert_file = "/root/mail-server.crt";
key_file = "/root/mail-server.key";
# #
# Whether to enable imap / pop3. Both variants are only supported in the # Whether to enable imap / pop3. Both variants are only supported in the
@ -102,6 +108,13 @@ let
# TODO: Implement # TODO: Implement
# #
virus_scanning = false; virus_scanning = false;
#
# Whether to activate dkim signing.
# TODO: Explain how to put signature into domain record
# TODO: Implement
#
dkim_signing = true;
in in
{ {
services = import ./mail-server/services.nix { services = import ./mail-server/services.nix {