On Wed, Jun 25, 2014 at 02:31:18PM -0700, Julian Mehnle wrote:

> > You may be misreading the logs.  What evidence do you have that
> > in fact there is a separate delivery for each recipient.  LOGS!
> 
> Here's a log excerpt:
> 
> > Jun 25 00:17:14 etl-qa-00 postfix/qmgr[19911]: 8830140409E9E:
> >     from=<mailer-dae...@athena.vistabroadband.net>,
> >     size=3023, nrcpt=2 (queue active)
> > Jun 25 00:44:26 etl-qa-00 postfix/pipe[29392]: 8830140409E9E:
> >     to=<automat...@etl.qa.agari.com>, relay=dmarc-aggregate,
> >     delay=1632, delays=0.03/1613/0/19, dsn=2.0.0, status=sent
> >     (delivered via dmarc-aggregate service)
> > Jun 25 00:44:27 etl-qa-00 postfix/pipe[28007]: 8830140409E9E:
> >     to=<automat...@etl.qa.agari.com>, relay=dmarc-aggregate,
> >     delay=1633, delays=0.03/1614/0/19, dsn=2.0.0, status=sent
> >     (delivered via dmarc-aggregate service)
> > Jun 25 00:44:27 etl-qa-00 postfix/qmgr[19911]: 8830140409E9E: removed

Yes, this is two deliveries, for two recipient records in the queue
file, that are in fact the same recipient address?  Why does this
message have to identical envelope recipients?  The pipe(8) pid
would be the same for a single delivery with two recipients, as
would "delays".

> This happens only for messages that have two "<queue-id>: to=?
> (delivered via dmarc-aggregate service)" lines in the Postfix log,
> not for any other message delivered via the dmarc-aggregate service.

So do any other messages deliver multiple recipients together via
this transport?

> > That said, if the pipe transport is reached via "mailbox_transport",
> > then indeed you get one delivery per recipient, because the recipient
> > concurrency for the "local" transport (correctly) defaults to 1,
> > and "mailbox_transport" is local(8) delivery agent feature, in
> > which some mail is punted to another transport for delivery after
> > alias expansion.
> 
> I don't think we're delivering messages via any means other than
> our dmarc-aggregate service, which is defined as a pipe delivery.
> How do I verify whether "mailbox_transport" is involved?

What is the address class of the recipient domain (etl.qa.agari.com)?
What configuration settings result in the use of the pipe transport?

-- 
        Viktor.

Reply via email to