On Thu, Jul 09, 2009 at 06:23:09AM +0200, Magnus Bäck wrote:

> On Thursday, July 09, 2009 at 03:44 CEST,
>      Sahil Tandon <sa...@tandon.net> wrote:
> 
> [...]
> 
> > You might be able to use the fact that qmgr(8) logs the original recipient
> > count.  Example:
> > 
> > postfix/qmgr[54662]: 98EF25C51: from=<f...@bar.org>, size=717, nrcpt=5
> > 
> > Take care to avoid double counting in situations where mail to some
> > recipients is temporarily deferred.  In that case, Postfix periodically
> > retries and similar qmgr(8) log entries will contain that same recipient
> > count with that same queue ID.  That is probably one of many caveats when
> > parsing the logs to aggregate recipients per sender over any time period.
> 
> Doesn't the nrcpt atttribute contain the number of *remaining*
> recipients? In that case the number will be steadily decreasing.

No, the recipient count does not change, it is read from the "size"
record at the top of the queue file.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to