2019-11-26 12:14:38 -08:00
|
|
|
# $OpenBSD: smtpd.conf,v 1.14 2019/11/26 20:14:38 gilles Exp $
|
2008-11-05 04:14:45 -08:00
|
|
|
|
2009-03-16 16:40:28 -07:00
|
|
|
# This is the smtpd server system-wide configuration file.
|
|
|
|
# See smtpd.conf(5) for more information.
|
2008-11-01 14:35:28 -07:00
|
|
|
|
2016-05-03 11:43:45 -07:00
|
|
|
table aliases file:/etc/mail/aliases
|
|
|
|
|
2019-11-26 12:14:38 -08:00
|
|
|
listen on socket
|
|
|
|
|
2012-10-11 14:16:28 -07:00
|
|
|
# To accept external mail, replace with: listen on all
|
|
|
|
#
|
2009-03-16 16:40:28 -07:00
|
|
|
listen on lo0
|
2008-11-01 14:35:28 -07:00
|
|
|
|
2019-07-24 08:31:53 -07:00
|
|
|
action "local_mail" mbox alias <aliases>
|
|
|
|
action "outbound" relay
|
2018-05-24 04:40:17 -07:00
|
|
|
|
2012-10-11 14:16:28 -07:00
|
|
|
# Uncomment the following to accept external mail for domain "example.org"
|
|
|
|
#
|
2019-07-24 08:31:53 -07:00
|
|
|
# match from any for domain "example.org" action "local_mail"
|
2019-11-25 05:30:04 -08:00
|
|
|
match from local for local action "local_mail"
|
|
|
|
match from local for any action "outbound"
|