$t is intended for use in configuration-file header definitions. $t is transient. If it is defined
in the configuration file or in the command line, that definition can be ignored by sendmail.
Note that a $& prefix is necessary when you reference this macro in rules (that is, use
$&t, not $t).
21.9.93 ${time}
Current time in time(3) seconds V8.13 and later
The C-language time(3) routine returns an integer value (type time_t) that represents the
current time as the number of seconds that have elapsed since January 1, 1970 (00:00:00).
The current time is instantiated at three different moments as sendmail processes
envelopes:
??? Just after a connection to the server has been accepted, but before the SMTP conversation
begins
??? Just as the queue??™s qf file is being read
??? Just as a new envelope is being created to handle bounced email
At each of these three moments, an ASCII representation of the current number of elapsed
seconds is placed into the ${time} macro. At the same moment, the following other macros
are also given the current time but in other formats:
??? $b holds the current time in RFC2822 format.
??? $d holds the current time in Unix ctime(3) format.
??? $t holds the current time to the minute in the format YYYYMMDDhhmm.
Although the ${time} macro is not used in the standard configuration file, it is available to
use in rule sets of your own design.
Pages:
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494