dovecot-2.2: lib-lda: Don't alow %variables for hostname setting...

dovecot at dovecot.org dovecot at dovecot.org
Tue Aug 13 21:00:07 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/72ce58d50d2c
changeset: 16691:72ce58d50d2c
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Aug 13 20:57:41 2013 +0300
description:
lib-lda: Don't alow %variables for hostname setting after all.
I was thinking maybe %d could be used there, but with LMTP the hostname is
used already in the greeting message before any RCPT TO is even done.

diffstat:

 src/lib-lda/lda-settings.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 179f90dc0b1c -r 72ce58d50d2c src/lib-lda/lda-settings.c
--- a/src/lib-lda/lda-settings.c	Mon Aug 12 19:02:07 2013 +0300
+++ b/src/lib-lda/lda-settings.c	Tue Aug 13 20:57:41 2013 +0300
@@ -19,7 +19,7 @@
 
 static const struct setting_define lda_setting_defines[] = {
 	DEF(SET_STR_VARS, postmaster_address),
-	DEF(SET_STR_VARS, hostname),
+	DEF(SET_STR, hostname),
 	DEF(SET_STR_VARS, submission_host),
 	DEF(SET_STR_VARS, sendmail_path),
 	DEF(SET_STR, rejection_subject),


More information about the dovecot-cvs mailing list