diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2013-02-05 09:49:39 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2013-02-05 09:49:39 +0000 |
commit | 171e1c4aa36309f3cd9fc25b05956bc81d2261ce (patch) | |
tree | f43713cb2e98ba2a2d979266da515e6192385ac3 | |
parent | addd78cf9c816d79f5b74559fdd3796112209f75 (diff) |
commit documentation for "helo" in relay rules
-rw-r--r-- | usr.sbin/smtpd/smtpd.conf.5 | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.conf.5 b/usr.sbin/smtpd/smtpd.conf.5 index 44ac0be6f64..d4a0f47a62e 100644 --- a/usr.sbin/smtpd/smtpd.conf.5 +++ b/usr.sbin/smtpd/smtpd.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: smtpd.conf.5,v 1.80 2013/02/04 05:55:58 gilles Exp $ +.\" $OpenBSD: smtpd.conf.5,v 1.81 2013/02/05 09:49:38 gilles Exp $ .\" .\" Copyright (c) 2008 Janne Johansson <jj@openbsd.org> .\" Copyright (c) 2009 Jacek Masiulaniec <jacekm@dobremiasto.net> @@ -17,7 +17,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .\" -.Dd $Mdocdate: February 4 2013 $ +.Dd $Mdocdate: February 5 2013 $ .Dt SMTPD.CONF 5 .Os .Sh NAME @@ -463,6 +463,7 @@ This parameter may use conversion specifiers that are expanded before use .Op Ic backup Op Ar mx .Op Ic as Ar address .Op Ic source Ar source +.Op Ic helo Ar names .Xc Mail is relayed. The routing decision is based on the DNS system. @@ -500,6 +501,19 @@ will explicitly bind to an address found in the table referenced by when connecting to the relay. If the table contains more than one address, they are picked in turn each time a new connection is opened. +.Pp +By default, +.Xr smtpd 8 +advertises its local hostname when connecting to a remote server. +A +.Ic helo +parameter may be specified to advertise an alternate hostname. +Table +.Ar names +contains a mapping of IP addresses to hostnames and +.Xr smtpd 8 +will automatically select the name that matches its source address +when connected to the remote server. .It Xo .Ic relay via .Ar host @@ -507,6 +521,7 @@ time a new connection is opened. .Op Ic auth Ar <auth> .Op Ic as Ar address .Op Ic source Ar source +.Op Ic helo Ar names .Xc Mail is relayed through the specified .Ar host @@ -578,6 +593,14 @@ will explicitly bind to an address found in the table referenced by when connecting to the relay. If the table contains more than one address, they are picked in turn each time a new connection is opened. +.Ic helo +parameter may be specified to advertise an alternate hostname. +Table +.Ar names +contains a mapping of IP addresses to hostnames and +.Xr smtpd 8 +will automatically select the name that matches its source address +when connected to the remote server. .El .It Ic expire Ar n {s|m|h|d} Specify how long a message that matched this rule can stay in the queue. |