Magnus B?ck:
> On Mon, June 15, 2009 10:35 am, St?phane MERLE said:
> 
> > I would love to customize a little the logs of postfix. We are using
> > postfix for massmailing and I'd like to be able to get statistic on
> > mailing, so I would like to tag each mail with the mailing number so I
> > can split the log files by mailing and then get the bounced/sent/spam
> > detection for each mailing and get back to our users with specific data
> > for there mailings.
> 
> Use the queue id to correlate log entries for a single message. That'll
> let you obtain statistics for delivered and rejected messages. Bounces are
> another thing -- there is no way for Postfix to know that a particular
> bounce message is for a specific message that Postfix has sent. What you
> can do is use VERP to at least identify which recipient addresses lead to
> bounces.

As of a few releases, Postfix will log the "original" queue ID
when sending a bounce.

        Wietse

Reply via email to