Browse Source

- replace "all" with "any"

- add examples for how to accept mail from external source and for a
specific domain
OPENBSD_5_3
gilles 11 years ago
parent
commit
cd01db31b9
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      src/etc/mail/smtpd.conf

+ 7
- 2
src/etc/mail/smtpd.conf View File

@ -1,11 +1,16 @@
# $OpenBSD: smtpd.conf,v 1.4 2012/07/16 05:56:16 jmc Exp $
# $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
#
listen on lo0
map aliases source db "/etc/mail/aliases.db"
# Uncomment the following to accept external mail for domain "example.org"
#
# accept from any for domain "example.org" alias aliases deliver to mbox
accept for local alias aliases deliver to mbox
accept for all relay
accept for any relay

Loading…
Cancel
Save