Immediately rotates all configured accounting files, and with a file name — only that one. This does not cancel the automatic midnight rotation.
Needed when the file is taken for processing and the engine must start writing to a new one.
When to use it:
| Question | This command or not |
|---|---|
| close the current accounting file for processing | yes |
| rotate the log | no — rotate log |
# rotate all accounting files pmta rotate acct
2 relations
Start a new log fileThe same operation for the second stream. § 6.3.9
Accounting sent by the node instead of accounting collected from the nodeWith sending, the file switch happens by itself — at the batch interval, and there is no need to call the command. inferenceA file, a program or an endpoint — and a file under each of the threeManually rotating the accounting file is the same action as a batch going to the endpoint: the file is closed and frees up space. inference
ls -lt /var/log/pmta/ | head
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.