On Thu, Oct 28, 2010 at 01:04:35AM +0200, Rok Poto??nik wrote: >> The default summary is for the incoming and active queues. An explicit >> list of queue names can be given on the command line. Non-absolute queue >> names are interpreted relative to the Postfix queue directory. Use >> <config_directory> to specify a non-default Postfix instance. Values of >> the main.cf queue_directory parameter that use variable expansions are >> not supported. If necessary, use explicit absolute paths for all queues. > > Mark, even though qshape gives some excellent statistical information about > queue usage it lacks the most important thing I'd need - queue id of each > 'sender IP' email. > Your proposal would expose client's IP address that sends the most deferred > messages, but afterwards I should still parse the log file. I belive the > best solution would be if both postqueue -p *and* qshape would provide me > with client's IP...
Wshape was designed to provide aggregate, not per-message data, so that one can get a feel for the health of the queue. The qshape utility is a relatively easy to understand short Perl script. Feel free to reshape into a tool that meets your needs. The only downside is that if the Postfix queue-file format changes, and you have a custom "qshape", you have to port it to the new format. -- Viktor.