postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: postqueue -p && postsuper ageout, tra

Re: postqueue -p && postsuper ageout, transfer, ...

From: Victor Duchovni <Victor.Duchovni_at_nospam>
Date: Wed Oct 27 2010 - 19:10:11 GMT

On Wed, Oct 27, 2010 at 07:30:07PM +0200, Mark Martinec wrote:

> Rok Poto??nik writes:
> > and last but not least... postqueue -p and wish of printing out sender's
> > ip address:
> > I really miss a possibility of postqueue to print out client's IP
> > address, sometimes it would really help me out debugging some problems
> > and even though it would be possible to find it out using processing the
> > maillog for the last couple of days... but still...
> Seems to me that this feature request would fit naturally into Victor's
> 'qshape' program (written in perl, posted here a long time ago but still
> very useful). Similar to its -s option, a new option could request a
> display by a log_client_address (or whatever is the most suitable
> attribute).

I have not needed this filter, but it is not an unnatural enhancement.
Anyone want to contribute a code/documentation update?

Probably the option argument should be a CIDR mask for aggregating client
IPs, with an optional prefix to match. So that one can get a feel for
the volume aggregated on /28 or /24 boundaries, before zooming in on
sub-block of interest.

-- Viktor.