summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.conf.5
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-03-17 00:18:40 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-03-17 00:18:40 +0000
commit66a01f5dc048013e7a931affbd8d7108fa96da5b (patch)
treea618f4437353c1223b1b5a3302cee75cd3cf8c29 /usr.sbin/smtpd/smtpd.conf.5
parent3fff496cd16b82a605403b1451ab59f0a84b3471 (diff)
update a bit, but more work is needed on this man page, working on it and
will commit an up to date version tomorrow
Diffstat (limited to 'usr.sbin/smtpd/smtpd.conf.5')
-rw-r--r--usr.sbin/smtpd/smtpd.conf.514
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/smtpd/smtpd.conf.5 b/usr.sbin/smtpd/smtpd.conf.5
index 8ad6d35e9f5..d3bdb2cc46d 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.6 2008/12/20 00:22:09 gilles Exp $
+.\" $OpenBSD: smtpd.conf.5,v 1.7 2009/03/17 00:18:39 gilles Exp $
.\"
.\" Copyright (c) 2008 Janne Johansson <jj@openbsd.org>
.\"
@@ -15,7 +15,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\"
-.Dd $Mdocdate: December 20 2008 $
+.Dd $Mdocdate: March 17 2009 $
.Dt SMTPD.CONF 5
.Os
.Sh NAME
@@ -53,8 +53,8 @@ Macros are not expanded inside quotes.
.Pp
For example,
.Bd -literal -offset indent
-smtp_port = 25
-listen on 127.0.0.1 port $smtp_port
+smtpport = 25
+listen on 127.0.0.1 port $smtpport
listen on fxp0 port $smtp_port
ssmtp listen on fxp0 port $smtp_port enable auth
.Ed
@@ -89,9 +89,9 @@ for both localhost and example.com, as well as the relaying of mail
destined for example.org through the mx1.example.org server and mail
destined for example.net through regular MX records lookup:
.Bd -literal -offset indent
-listen on 0.0.0.0 port 25
-accept for domain "localhost" deliver to mbox "/var/mail/%u"
-accept for domain "example.com" deliver to maildir "/home/%u/Maildir"
+listen on lo0
+accept for local deliver to mbox
+accept for domain "example.com" deliver to mbox
accept for domain "example.org" relay via "mx1.example.org"
accept for domain "example.net" relay
.Ed