From: Jarkko Mourujärvi Date: Thu, 28 Dec 2017 11:53:14 +0000 (+0200) Subject: doveconf: add hostname to output X-Git-Tag: 2.2.34~147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a81eb5982b211e58719eda5decf728bf766d97db;p=thirdparty%2Fdovecot%2Fcore.git doveconf: add hostname to output --- diff --git a/src/config/doveconf.c b/src/config/doveconf.c index d645e7f4ce..7718626344 100644 --- a/src/config/doveconf.c +++ b/src/config/doveconf.c @@ -857,6 +857,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)