The current postqueue output format is somewhat like this:

$ postqueue -p
----Queue ID----- --Size-- ---Arrival Time---- --Sender/Recipient------
3n97rq4vbmz1gT        2660 Tue Sep  8 03:18:03 dane-users-boun...@sys4.de
                  (connect to some.server.tld[12.34.56.78]:25: Connection 
refused)
                                               lists...@server.tld
(conversation with some.otherserver.tld[78.90.12.34] timed out while receiving 
the initial server greeting)
                                               r...@remote-destination.tld


I - at least I - find it hard to write scripts that parse this output and
generate e.g. statistics from it. This is mostly due to the multiline nature of
the output.

Would it be possible to create an additional output format that puts it all
into one line and maybe also use some sort of field separator?

p@rick

-- 
Patrick Ben Koetter
p...@state-of-mind.de

Reply via email to