A string assigned by the submitting side to each message.
It is part of the default set, but filled only if the submitting side passed ENVID. 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.
It differs from the job in being unique to the message rather than to the mailing.
Where the field exists and whether the star includes it:
| Record type | In the star |
|---|---|
| d — delivery | yes |
| b — bounce | yes |
| t — temporary failure | yes |
| r — reception | yes |
| rb, rs — external report | yes |
| f — complaint | yes |
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.
<acct-file /var/log/pmta/acct.csv> record-fields d *, !orcpt</acct-file>
head -1 "$(ls -t /var/log/pmta/acct-*.csv | head -1)" | tr -d '\r' | tr ',' '\n' | grep -n '^envId$'