norig_rcpt logs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

norig_rcpt logs

Marco-2
Hello,

  Postfix logs to syslog the number of recipients in the "nrctp" field.

The nrcpt field reports the number of recipient after the expansion (ie:
by virtual table).

A field reporting the number of recipients written by the client (number
of "RCTP TO") could be very useful too, to perform data analysis.

If this is already possible, I would ask an help to configure Postfix in
order to obtain this log. Otherwise, I thank you very much if you could
consider to add this feature in future.

Today, I can obtain this information grouping all logs with the same
queue_id and counting the different "orig_to" fields, where they are
present. So it is possible, but the operation is quite complex.

Many thanks
Cheers
Marco
Reply | Threaded
Open this post in threaded view
|

Re: norig_rcpt logs

Wietse Venema
Marco:
[ Charset ISO-8859-15 converted... ]
> Hello,
>
>   Postfix logs to syslog the number of recipients in the "nrctp" field.
>
> The nrcpt field reports the number of recipient after the expansion (ie:
> by virtual table).
>
> A field reporting the number of recipients written by the client (number
> of "RCTP TO") could be very useful too, to perform data analysis.

Each recipient has its own status= logfile record. Use the tools
in $postfix-source/auxiliary/collate to group all the records related
to a specific email message. no new tools needed.

        Wietse

> If this is already possible, I would ask an help to configure Postfix in
> order to obtain this log. Otherwise, I thank you very much if you could
> consider to add this feature in future.
>
> Today, I can obtain this information grouping all logs with the same
> queue_id and counting the different "orig_to" fields, where they are
> present. So it is possible, but the operation is quite complex.
>
> Many thanks
> Cheers
> Marco
>