Patrick Ben Koetter: > Would it be possible to implement a new postqueue options that prints the top > senders currently in queue? Something like 'postqueue -t': > > 109 sen...@example.com > 7 some...@example.com > . ... > > Of course I can do that with sort, awk, uniq etc.
The current output format was cloned from sendmail, which was OK to get started, but was not meant to be the only form. To provide other output forms, I think that the showq daemon should spit out raw data, and that the formatting should happen in a client program. Someone else on the list already did an attempt in that direction a few months ago. One option would be for Postfix to output just the raw data, so that it becomes more useful for processing by other programs. Wietse