diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-03-16 23:40:29 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-03-16 23:40:29 +0000 |
commit | 0f1e1acc078dcacd96b261ea8cb21e13b1a69987 (patch) | |
tree | e6872e71952354c18e3a55549374b0bb660c60e9 | |
parent | c1bd33657ef25e7775e031c375ef019b4e18dd35 (diff) |
change smtpd.conf to what it will be by default:
- only listen on lo0
- support aliases
- accept mail for "localhost" and the system hostname
- accept relaying mail for all domains
-rw-r--r-- | usr.sbin/smtpd/smtpd.conf | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/usr.sbin/smtpd/smtpd.conf b/usr.sbin/smtpd/smtpd.conf index 07470ad5edc..2538b3ee56a 100644 --- a/usr.sbin/smtpd/smtpd.conf +++ b/usr.sbin/smtpd/smtpd.conf @@ -1,17 +1,11 @@ -# $OpenBSD: smtpd.conf,v 1.6 2009/03/09 01:43:19 gilles Exp $ +# $OpenBSD: smtpd.conf,v 1.7 2009/03/16 23:40:28 gilles Exp $ -listen on lo0 port 25 -#ssmtp listen on localhost port 465 enable auth -hostname localhost +# This is the smtpd server system-wide configuration file. +# See smtpd.conf(5) for more information. -#map "aliases" { source db "/etc/mail/aliases.db" } -#map "virtual" { source db "/etc/mail/virtual.db" } -#map "secrets" { source db "/etc/mail/secrets.db" } +listen on lo0 -accept for domain "localhost" deliver to mbox -#accept for domain "localhost" deliver to maildir "~/Maildir" -#accept for domain "localhost" deliver to mda "/usr/local/bin/mymda -u %u" +map "aliases" { source db "/etc/mail/aliases.db" } +accept for local deliver to mbox accept for all relay -#accept for all relay via "mx.example.org" -#accept for all relay via ssl "mx.example.org" enable auth |