The timestamp of the first delivery attempt. It is enabled with a separate node directive.
It is not written by default — the field has to be named in record-fields. The field set is defined in the accounting block, and fields are worth adding deliberately: there are as many delivery records as delivered recipients, and every extra column is multiplied by that volume.
Three timestamps together — queuing, first attempt, logging — split the delay into two parts: how long the message waited for us and how long for the receiver.
Where the field exists and whether the star includes it:
| Record type | In the star |
|---|---|
| d — delivery | no |
| b — bounce | no |
| t — temporary failure | no |
In a shared file an empty value comes in two kinds: the line has no data — or the field is not selected for its record type.
track-time-first-attempt true <acct-file /var/log/pmta/acct.csv> record-fields d *, timeFirstAttempt</acct-file>
0 relations
head -1 "$(ls -t /var/log/pmta/acct-*.csv | head -1)" | tr -d '\r' | tr ',' '\n' | grep -n '^timeFirstAttempt$'