On Sat, Jan 16, 2016 at 04:00:48PM +0800, Paul Goyette wrote: > my_smtp:12345 inet n - n - - smtpd > > But it's not clear to me if this syntax will define a new listener (in > which case this would belong on my primary-MX machine) or if this would > enable an _outgoing_ connection to primary-MX's port 12345 (in which > case this would belong on the backup-MX machine).
Does the documentation patch below help: -- Viktor. diff --git a/proto/master b/proto/master index 8f54459..740c5d5 100644 --- a/proto/master +++ b/proto/master @@ -55,8 +55,12 @@ # Specify one of the following service types: # .RS # .IP \fBinet\fR -# The service listens on a TCP/IP socket and is accessible -# via the network. +# The service listens on a TCP/IP socket and is accessible via the +# network. Services that receive incoming mail use this service type, +# either directly as with smtpd(8), qmqpd(8) or indirectly as with +# postscreen(8). Do not confuse the smtp/inet service which receives +# inbound mail via smtpd(8) with the smtp/unix service which sends +# outbound mail via smtp(8). # # The service name is specified as \fIhost:port\fR, denoting # the host and port on which new connections should be @@ -79,8 +83,14 @@ # of hard-coding loopback IP address information in master.cf # or in main.cf. # .IP \fBunix\fR -# The service listens on a UNIX-domain socket and is accessible -# for local clients only. +# The service listens on a UNIX-domain socket and is accessible for local +# clients only. Delivery agents that implement Postfix \fItransports\fR +# use this service type. Thus, for example, master.cf(5) entries for +# outbound mail sent by smtp(8), have \fBunix\fR as their service type. +# Other delivery agents include lmtp(8), local(8), virtual(8), pipe(8), +# error(8), retry(8) and discard(8). Do not confuse the smtp/inet +# service which receives inbound mail via smtpd(8) with the smtp/unix +# service which sends outbound mail via smtp(8). # # The service name is a pathname relative to the Postfix # queue directory (pathname controlled with the \fBqueue_directory\fR