On Mon, Jan 24, 2022 at 10:29:15PM +0100, Jaroslaw Rafa <r...@rafa.eu.org> wrote:
> Dnia 24.01.2022 o godz. 15:51:33 Ruben Safir pisze: > > > > So what is the smtpd on the above line? Am I telling port 25 to obey > > the rules for port 587? > > Did you notice the comments at the top of default master.cf file? They > explain the syntax: > > > # service type private unpriv chroot wakeup maxproc command + args > > If you compare this to the line in question: > > > smtp inet n - n - - smtpd > > "service" is "smtp" > "type" is "inet" > "private" is "n" > "unpriv" is "-" ("-" means use default value) > "chroot" is "n" > "wakeup" is "-" (default) > "maxproc" is "-" (default) > "command + args" is "smtpd" > > So answer to your question is: "smtpd" is the name of the executable that is > run to provide this service. Both services, on port 25 and 587, are provided > by two instances of the same executable, therefore "smtp" in both cases. You meant: therefore "smtpd" in both cases. > After "smtpd" there can be arguments used to call this executable - these > arguments are used to make both services operate differently. > -- > Regards, > Jaroslaw Rafa > r...@rafa.eu.org > -- > "In a million years, when kids go to school, they're gonna know: once there > was a Hushpuppy, and she lived with her daddy in the Bathtub."