From: Philip Hazel Date: Mon, 1 Aug 2005 14:00:34 +0000 (+0000) Subject: Add $message_exim_id as a synonym for $message_id, which will now be X-Git-Tag: exim-4_53~78 X-Git-Url: https://git.exim.org/users/jgh/exim.git/commitdiff_plain/1ab52c6910907a13b2f1895f53f43d0255a39d35 Add $message_exim_id as a synonym for $message_id, which will now be deprecated (it got confused with the Message-ID: header). --- diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index fa5a05123..5f37fd9c3 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.185 2005/08/01 13:51:05 ph10 Exp $ +$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.186 2005/08/01 14:00:34 ph10 Exp $ Change log file for Exim from version 4.21 ------------------------------------------- @@ -17,6 +17,10 @@ PH/03 When creating an mbox file for a virus/spam scan, use fseek() instead of fread() to skip over the body file's header line, because in Cygwin the header line is locked and is inaccessible. +PH/04 Added $message_exim_id, ultimately to replace $message_id (they will both + co-exist for some time) to make it clear that it is the Exim ID that is + referenced, not the Message-ID: header line. + Exim version 4.52 ----------------- diff --git a/doc/doc-txt/NewStuff b/doc/doc-txt/NewStuff index 795944868..976a1e89e 100644 --- a/doc/doc-txt/NewStuff +++ b/doc/doc-txt/NewStuff @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/NewStuff,v 1.57 2005/08/01 13:20:28 ph10 Exp $ +$Cambridge: exim/doc/doc-txt/NewStuff,v 1.58 2005/08/01 14:00:34 ph10 Exp $ New Features in Exim -------------------- @@ -47,6 +47,9 @@ PH/01 Support for SQLite database lookups has been added. This is another EXTRALIBS setting. And of course, you have to install SQLite on your host first. +PH/02 The variable $message_id is now deprecated, to be replaced by + $message_exim_id, which makes it clearer which ID is being referenced. + Exim version 4.52 ----------------- diff --git a/src/src/expand.c b/src/src/expand.c index e4e0d21e8..86d410499 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/expand.c,v 1.37 2005/08/01 13:20:28 ph10 Exp $ */ +/* $Cambridge: exim/src/src/expand.c,v 1.38 2005/08/01 14:00:35 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -399,6 +399,7 @@ static var_entry var_table[] = { { "message_body", vtype_msgbody, &message_body }, { "message_body_end", vtype_msgbody_end, &message_body_end }, { "message_body_size", vtype_int, &message_body_size }, + { "message_exim_id", vtype_stringptr, &message_id }, { "message_headers", vtype_msgheaders, NULL }, { "message_id", vtype_stringptr, &message_id }, { "message_linecount", vtype_int, &message_linecount }, diff --git a/src/src/globals.c b/src/src/globals.c index 1f57ff383..ff27aee71 100644 --- a/src/src/globals.c +++ b/src/src/globals.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/globals.c,v 1.30 2005/06/21 14:14:55 ph10 Exp $ */ +/* $Cambridge: exim/src/src/globals.c,v 1.31 2005/08/01 14:00:35 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -821,7 +821,7 @@ uschar *received_header_text = US "${if def:tls_cipher {($tls_cipher)\n\t}}" #endif "(Exim $version_number)\n\t" - "id $message_id" + "id $message_exim_id" "${if def:received_for {\n\tfor $received_for}}" "\0<---------------Space to patch received_header_text->";