<acct-file>
By default only errors are written to the log. The line adds messages about normal operation and makes error entries more detailed.
This is the main tool for investigating the webhook. All faults have one symptom — intermediate files pile up; the causes differ: a wrong token, a receiver refusal, an unresolvable name, a batch that is too large, mismatched compression. They can be told apart only by the log.
It writes to the engine’s common log, not a separate one — the path is set by the log-file directive.
The line is diagnostic. On a fleet with one-minute batches, constant detailed logging means several lines a minute from every node.
Enabled for the duration of an investigation:
| Value | When |
|---|---|
| false (default) | normal operation |
| true | batches do not go out, and you need to understand why |
The order of investigation. Files pile up → enable this line → look at the receiver’s reply code → treat by code: 401 — the token, 413 — batch size, 5xx — the receiver.
# for the duration of the investigation: batches pile up, cause unknown <acct-file /var/log/pmta/webhook.json> http-webhook-url https://hub.example.com/api/telemetry/pmta/7 http-webhook-log-verbose true</acct-file>
what people get wrong and how it ends2 mistakes▶
our experience
our experience
1 relation
grep -i webhook /var/log/pmta/pmta.log | tail -30
3 articles
◇What the node tells about itself and through which channelsSeven observation surfaces: the web monitor, the console in four formats, the log, accounting, accounting search, metrics and export to external analytics.◇Two inbound report processors and what to do with themBounces by message and complaints are parsed by two identically structured blocks; each has its own address list and its own pair of decisions about the message’s fate.◇Five ways for a queue to hand off a messageA queue does not have to use SMTP: it can write to a file, run a program, call over HTTP or discard.