From: Jarkko Mourujärvi Date: Thu, 28 Dec 2017 11:53:14 +0000 (+0200) Subject: doveconf: add hostname to output X-Git-Tag: 2.3.1~416 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e61bf46941c6615f34815a6c717aee717189e60;p=thirdparty%2Fdovecot%2Fcore.git doveconf: add hostname to output --- diff --git a/src/config/doveconf.c b/src/config/doveconf.c index b6e4571698..ba2ccea495 100644 --- a/src/config/doveconf.c +++ b/src/config/doveconf.c @@ -863,6 +863,7 @@ int main(int argc, char *argv[]) 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)