Viktor Dukhovni: > On Tue, Sep 01, 2020 at 02:45:50PM -0400, Viktor Dukhovni wrote: > > > > smtp-sndmail > > > unix - - y - - smtp > > > -o { inet_interfaces = } > > > -o { myhostname = smtp-sndmail } > > > -o { bounce_service_name = bounce-discard } > > > > Setting the bounce service here does not work the way you'd expect. > > Delivery agents append messages to the bounce log, but it is the queue > > manager that ultimately requests for the failed recipients (from > > multiple delivery attempts by one or more delivery agents) to be > > bounced. > > FWIW, the following is not explained as clearly in the Postfix > documentation as one might wish, and it would be good to have better > coverage of this topic in the docs (in the appropriate places): > > - What is a delivery agent? > - How are they related to transports? > - Which Postfix components are delivery agents? > > - What is an internal service (that is not a delivery agent)? > - What are the various internal services? > > - What are the "..._service" parameters, and in what context > can they be used (correctly)? > > Some of this is in http://www.postfix.org/OVERVIEW.html, but the > taxonomy of internal services is not explicitly presented.
OVERVIEW.html would be the right place for such information; it is the only document that shows each component in context, and it would not make sense to have the taxonomy separate from the overview. There is no good reason to cover detail of services that are not already covered in configuration examples. In particular, internal services do not feature in Postfix configuration examples, such as bounce, anvil, dnsblog, and trivial-rewrite. This is for a reason. The only sensible guidance for these is to leave them alone or risk breaking Postfix. Wietse