]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveconf: add hostname to output
authorJarkko Mourujärvi <jarkko.mourujarvi@dovecot.fi>
Thu, 28 Dec 2017 11:53:14 +0000 (13:53 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 15 Jan 2018 09:18:52 +0000 (11:18 +0200)
src/config/doveconf.c

index d645e7f4ce99083b7761c6017079f20bed8e0bc5..7718626344a58e4521bff8d8ab28d5568faa916d 100644 (file)
@@ -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)