The name of the format of the incoming report.
In complaint records it is part of the default set, in asynchronous bounce records it 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.
There are several complaint formats, and they are parsed differently: this field shows which one was parsed.
Where the field exists and whether the star includes it:
| Record type | In the star |
|---|---|
| rb, rs — external report | no |
| 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 rb *, format</acct-file>
head -1 "$(ls -t /var/log/pmta/acct-*.csv | head -1)" | tr -d '\r' | tr ',' '\n' | grep -n '^format$'