> I only skimmed through your diff, I need to apply it and read in
> context but I like it a lot.
> 
> I'll test today and come back with comments once I've spent more
> time reading it ;-)
> 
> Thanks

Awesome, thank you Gilles!

Just in case the previous diff is OK, I am attaching the patch to the
smtpd.conf man page.

Thanks!
--peter



Index: smtpd.conf.5
===================================================================
RCS file: /cvs/src/usr.sbin/smtpd/smtpd.conf.5,v
retrieving revision 1.153
diff -u -p -r1.153 smtpd.conf.5
--- smtpd.conf.5        21 Jan 2016 23:40:27 -0000      1.153
+++ smtpd.conf.5        12 Feb 2016 20:45:00 -0000
@@ -654,6 +654,12 @@ of inflight envelopes falls below
 Changing the default value might degrade performance.
 .It Xo
 .Bk -words
+.Ic listen on socket
+.Op Ic filter Ar name
+.Op Ic mask-source
+.Ek
+.br
+.Bk -words
 .Ic listen on Ar interface
 .Op Ar family
 .Op Ic port Ar port
@@ -671,11 +677,25 @@ Changing the default value might degrade
 .Ek
 .Xc
 .Pp
-Specify an
+Specify a
+.Ic socket
+or an
+.Ar interface
+to listen on for incoming connections. A
+.Ic listen on socket
+directive is used to customize listening behavior for messages submitted
+through local queues, for example, via the
+.Xr mail 1
+utility. This is an optional directive, and if not supplied,
+.Xr smtpd 8
+will listen for connections on the
+.Ic socket
+only.
+.Pp
+To listen on a specific network interface, specify an
 .Ar interface
-and
-.Ar port
-to listen on.
+and an optional
+.Ar port .
 An interface group, an IP address or a domain name may
 be used in place of
 .Ar interface .

Reply via email to