From: Tom Kistner Date: Wed, 16 Jan 2008 09:56:55 +0000 (+0000) Subject: bugzilla 612 - write recipients list in X-Envelope-To header of MBOX spool file X-Git-Tag: DEVEL_PDKIM_START~87 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c5537c6e21da5c92ab74fc567f663becc59d3f07;p=exim.git bugzilla 612 - write recipients list in X-Envelope-To header of MBOX spool file --- diff --git a/src/src/spool_mbox.c b/src/src/spool_mbox.c index e723cd8c9..42a2fe171 100644 --- a/src/src/spool_mbox.c +++ b/src/src/spool_mbox.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/spool_mbox.c,v 1.13 2006/09/22 08:41:59 ph10 Exp $ */ +/* $Cambridge: exim/src/src/spool_mbox.c,v 1.14 2008/01/16 09:56:55 tom Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -69,7 +69,7 @@ FILE *spool_mbox(unsigned long *mbox_file_size) { temp_string = expand_string( US"From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n" "${if def:sender_address{X-Envelope-From: <${sender_address}>\n}}" - "${if def:received_for{X-Envelope-To: <${received_for}>\n}}"); + "${if def:recipients{X-Envelope-To: ${recipients}\n}}"); if (temp_string != NULL) { i = fwrite(temp_string, Ustrlen(temp_string), 1, mbox_file);