dovecot-2.2: master: Added --hostdomain setting to show the curr...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Aug 6 14:36:31 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/5a3821097f3c
changeset: 16664:5a3821097f3c
user: Timo Sirainen <tss at iki.fi>
date: Tue Aug 06 14:36:25 2013 +0300
description:
master: Added --hostdomain setting to show the current hostdomain.
diffstat:
src/master/main.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r ef5518ee5ab2 -r 5a3821097f3c src/master/main.c
--- a/src/master/main.c Tue Aug 06 14:25:49 2013 +0300
+++ b/src/master/main.c Tue Aug 06 14:36:25 2013 +0300
@@ -823,6 +823,9 @@
} else if (strcmp(argv[optind], "version") == 0) {
printf("%s\n", DOVECOT_VERSION_FULL);
return 0;
+ } else if (strcmp(argv[optind], "hostdomain") == 0) {
+ printf("%s\n", my_hostdomain());
+ return 0;
} else if (strcmp(argv[optind], "build-options") == 0) {
print_build_options();
return 0;
More information about the dovecot-cvs
mailing list