<acct-file>
The line sets the form of timestamps. The default is yes, that is, ISO format.
The alternative is the number of seconds since the start of 1970. It is more compact and more convenient for a machine, but unreadable for a human and requires knowing the time zone separately.
ISO format carries the zone offset within it — that is what makes it good for a fleet whose nodes are in different countries: a record stays unambiguous without knowing where the node that wrote it is.
The line concerns only accounting. It does not affect the engine log or message headers.
There is almost never a need to change it:
| Value | When |
|---|---|
| yes (default) | always |
| no | the accounting receiver requires seconds since the epoch |
# the default written explicitly — the timestamp carries the zone offset <acct-file /var/log/pmta/acct.csv> records d, b iso-times yes</acct-file>
what people get wrong and how it ends1 mistake▶
our experience
1 relation
head -2 "$(ls -t /var/log/pmta/acct-*.csv | head -1)"
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.