ph10 2005/03/22 16:52:06 GMT
Modified files:
exim-doc/doc-txt ChangeLog NewStuff
exim-src/src expand.c
Log:
Tony's $received_time addition.
Revision Changes Path
1.99 +2 -0 exim/exim-doc/doc-txt/ChangeLog
1.30 +3 -0 exim/exim-doc/doc-txt/NewStuff
1.18 +2 -1 exim/exim-src/src/expand.c
Index: ChangeLog
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- ChangeLog 22 Mar 2005 16:44:04 -0000 1.98
+++ ChangeLog 22 Mar 2005 16:52:06 -0000 1.99
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.98 2005/03/22 16:44:04 ph10 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.99 2005/03/22 16:52:06 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -74,6 +74,8 @@
PH/13 If "headers_add" in a transport didn't end in a newline, Exim printed
the result incorrectly in the debug output. (It correctly added a newline
to what was transported.)
+
+TF/01 Added $received_time.
A note about Exim versions 4.44 and 4.50
Index: NewStuff
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/NewStuff,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- NewStuff 22 Mar 2005 15:02:34 -0000 1.29
+++ NewStuff 22 Mar 2005 16:52:06 -0000 1.30
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/NewStuff,v 1.29 2005/03/22 15:02:34 ph10 Exp $
+$Cambridge: exim/exim-doc/doc-txt/NewStuff,v 1.30 2005/03/22 16:52:06 ph10 Exp $
New Features in Exim
--------------------
@@ -87,6 +87,9 @@
you need to add -shared to the gcc command. Also, in the Exim build-time
configuration, you must add -export-dynamic to EXTRALIBS.
+TF/01 $received_time is a new expansion variable containing the time and date
+ as a number of seconds since the start of the Unix epoch when the
+ current message was received.
Version 4.50
------------
Index: expand.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/expand.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- expand.c 22 Mar 2005 14:11:54 -0000 1.17
+++ expand.c 22 Mar 2005 16:52:06 -0000 1.18
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/expand.c,v 1.17 2005/03/22 14:11:54 ph10 Exp $ */
+/* $Cambridge: exim/exim-src/src/expand.c,v 1.18 2005/03/22 16:52:06 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -439,6 +439,7 @@
{ "received_count", vtype_int, &received_count },
{ "received_for", vtype_stringptr, &received_for },
{ "received_protocol", vtype_stringptr, &received_protocol },
+ { "received_time", vtype_int, &received_time },
{ "recipient_data", vtype_stringptr, &recipient_data },
{ "recipient_verify_failure",vtype_stringptr,&recipient_verify_failure },
{ "recipients", vtype_recipients, NULL },
@@ -3920,7 +3921,7 @@
{
expand_string_message = string_sprintf("dlsym \"%s\" in \"%s\" failed: "
"%s", argv[1], argv[0], dlerror());
- log_write(0, LOG_MAIN|LOG_PANIC, "%s", expand_string_message);
+ log_write(0, LOG_MAIN|LOG_PANIC, "%s", expand_string_message);
goto EXPAND_FAILED;
}