On Tue, Jan 12, 2021 at 02:49:38AM +0000, Bob Jones wrote:

> You are absolutely right about the master.cf. The bounce line looks like the 
> following:
>
> bounce              unix        -       -       n       -       0       
> discard

That is an invalid configuration.  Nowhere is it documented that you can
drop bounces by setting "discard" to be your "bounce" service program.
The "bounce" service is not a mail delivery transport, and its role
cannot be fulfilled by a delivery agent (discard, error, retry, smtp,
lmtp, local, virtual, pipe) program.

> What is a good configuration for this?

The only valid setting for this and related services is the stock one
that comes with Postfix:

    bounce    unix  -       -       n       -       0       bounce
    defer     unix  -       -       n       -       0       bounce
    trace     unix  -       -       n       -       0       bounce

Similarly, you can't replace "qmgr" with "tlsmgr", "flush" with
"cleanup", "smtpd" with "pickup", ...

> Also, what does all this mean essentially (in English)?

The glib/concise answer is that you shouldn't just invent plausible
looking configurations, that are not documented to do what you might
hope they'll do. :-)

The long answer is that "bounce" is not a delivery process, rather
it orchestrates non-delivery message generation, and submits these
for processing by real delivery agents.  It is a core serice for
which is there is no documented replacement.

Also, you should not be trying to discard bounces.

-- 
    Viktor.

Reply via email to