DOKK / manpages / debian 12 / postfix / postfix-collate.1.en
postfix-collate(1) postfix-collate(1)
This script, by Viktor Dukhovni, untangles a Postfix logfile and groups the records one "session" at a time based on queue ID and process ID information. From auxiliary/collate/collate.pl.

Records from different sessions are separated by an empty line. Such text is easy to process with $/="" in perl, or RS="" in awk.

Usage: postfix-collate file...

It reads standard input when no file is specified.

26 January 2024 postfix-3.7.10