The name of the category assigned by a pattern based on the text of the receiver’s response.
Written by default in bounce and transient failure records, in delivery 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.
The category can be redefined with your own patterns — then our name gets into accounting instead of the vendor’s.
Where the field exists and whether the star includes it:
| Record type | In the star |
|---|---|
| d — delivery | no |
| b — bounce | yes |
| t — temporary failure | yes |
| rb, rs — external report | 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 *, bounceCat</acct-file>
0 relations
head -1 "$(ls -t /var/log/pmta/acct-*.csv | head -1)" | tr -d '\r' | tr ',' '\n' | grep -n '^bounceCat$'