diff options
author | Eric Faurot <eric@faurot.net> | 2013-05-15 11:18:43 +0200 |
---|---|---|
committer | Eric Faurot <eric@faurot.net> | 2013-05-15 11:18:43 +0200 |
commit | 8fd41496cd42592dbb0d8be1527b443139b1f881 (patch) | |
tree | cd0d7de852e061ac1ca953b01fddc132c4bb273c /smtpd/smtpd.conf | |
parent | NetBSD has swapped strnvis parameters ... (diff) | |
download | OpenSMTPD-8fd41496cd42592dbb0d8be1527b443139b1f881.tar.xz OpenSMTPD-8fd41496cd42592dbb0d8be1527b443139b1f881.zip |
Simplify the default config file
Diffstat (limited to '')
-rw-r--r-- | smtpd/smtpd.conf | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/smtpd/smtpd.conf b/smtpd/smtpd.conf index 1bdb7d71..2764b43e 100644 --- a/smtpd/smtpd.conf +++ b/smtpd/smtpd.conf @@ -1,18 +1,14 @@ -# $OpenBSD: smtpd.conf,v 1.5 2012/10/11 21:16:28 gilles Exp $ - # This is the smtpd server system-wide configuration file. # See smtpd.conf(5) for more information. # To accept external mail, replace with: listen on all -# -# XXX try to find a portable way to get the IP interface -#listen on lo0 -listen on 127.0.0.1 +listen on localhost -table aliases db:/etc/mail/aliases.db +# If you edit the file, you have to run "smtpctl update table aliases" +table aliases file:/etc/aliases # Uncomment the following to accept external mail for domain "example.org" -# -# accept from any for domain "example.org" alias <aliases> deliver to mbox +#accept from any for domain "example.org" alias <aliases> deliver to mbox + accept for local alias <aliases> deliver to mbox accept for any relay |