changeset 22742:c02917345173

doveconf: add hostname to output
author Jarkko Mourujärvi <jarkko.mourujarvi@dovecot.fi>
date Thu, 28 Dec 2017 13:53:14 +0200
parents b09a8c92479b
children 957acbcdb6ca
files src/config/doveconf.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/config/doveconf.c	Thu Dec 28 10:47:28 2017 +0200
+++ b/src/config/doveconf.c	Thu Dec 28 13:53:14 2017 +0200
@@ -857,6 +857,7 @@
 		info = sysinfo_get(get_setting("mail", "mail_location"));
 		if (*info != '\0')
 			printf("# %s\n", info);
+		printf("# Hostname: %s\n", my_hostdomain());
 		if (!config_path_specified)
 			check_wrong_config(config_path);
 		if (scope == CONFIG_DUMP_SCOPE_ALL)