dovecot-2.2: lib-lda: Added %{to_envelope} to deliver_log_format

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 2 20:47:42 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/d79006a6ea65
changeset: 18810:d79006a6ea65
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 02 23:43:05 2015 +0300
description:
lib-lda: Added %{to_envelope} to deliver_log_format

diffstat:

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

diffs (19 lines):

diff -r 357fe95d487f -r d79006a6ea65 src/lib-lda/mail-deliver.c
--- a/src/lib-lda/mail-deliver.c	Tue Jun 02 23:35:23 2015 +0300
+++ b/src/lib-lda/mail-deliver.c	Tue Jun 02 23:43:05 2015 +0300
@@ -67,6 +67,7 @@
 		{ 'w', NULL, "vsize" },
 		{ '\0', NULL, "delivery_time" },
 		{ '\0', NULL, "session_time" },
+		{ '\0', NULL, "to_envelope" },
 		{ '\0', NULL, NULL }
 	};
 	struct var_expand_table *tab;
@@ -97,6 +98,7 @@
 		mail_deliver_log_var_expand_table_update_times(ctx, tab);
 		tab[8].value = dec2str(ctx->session_time_msecs);
 	}
+	tab[9].value = ctx->dest_addr;
 	return tab;
 }
 


More information about the dovecot-cvs mailing list