St?phane MERLE:
[ Charset ISO-8859-1 unsupported, converting... ]
> Hi,
> 
> First, I would like to appologize if I don't do thing correctly, but 
> english is not my mother langage and I'm not alway sure of what I 
> understand ... (I think of "Please do not top-post.", which I though I 
> wasn't doing, as I stay in the same thread ...).
> 
> My aim, is to be able to s?parate bounced/sent statistics from the log 
> file. Lets say we have 30 SMTP POSTFIX Servers, we sent 10 differents 
> mailing for 3 or 4 diff?rents customers. For now, I can't tell to my 1st 
> client, you're mailing number #4012  had  30% of bounces, 50% of sent 
> and 20% of deferred that are still pending.

The envelope sender address can give you the ID. Just embed it 
as an address extension.

/etc/postfix/main.cf:
    recipient_delimiter = -

Send mail as foo-4...@example.com, and use routine logfile
analysis to match the delivery records and the bounces.

The envelope sender is logged in the Postfix logs.

        Wietse

> The only way to do that is to use one IP by mailing which is not really 
> easy. For that, I would like to have an ID (my mailing id) added to the 
> logs [I do understood that postfix may not know exactly which mail is 
> what when it bounced].  I would find a way out with the Return-Path if I 
> could get it in the logs (not in a new line but within the sent or 
> bounced lines, this way, I could parse it with grep).
> 
> Thanks for your patience.
> 
> St?phane
> 
> 
> St?phane MERLE a ?crit :
> > Hi,
> >
> > 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.
> >
> > Is that possible ?
> >
> > Thanks.
> >
> > St?phan
> >
> >
> >
> 
> 
> 
> 

Reply via email to