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 [email protected]
                  (connect to some.server.tld[12.34.56.78]:25: Connection 
refused)
                                               [email protected]
(conversation with some.otherserver.tld[78.90.12.34] timed out while receiving 
the initial server greeting)
                                               [email protected]


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
[email protected]

Reply via email to