diff options
| author | Jon duSaint | 2022-11-27 11:25:11 -0800 |
|---|---|---|
| committer | Jon duSaint | 2022-11-27 11:25:11 -0800 |
| commit | 254e41ba237796ce1ad6bf670aebf1b92eed98be (patch) | |
| tree | 1be7770ddf0e78a7e262535f7e5dd47bb9b73575 /etc/mail | |
| parent | a49cb4da526c86385e942323e069a8e978d0cf4c (diff) | |
Diffstat (limited to 'etc/mail')
| -rw-r--r-- | etc/mail/aliases | 7 | ||||
| -rw-r--r-- | etc/mail/smtpd.conf | 21 |
2 files changed, 28 insertions, 0 deletions
diff --git a/etc/mail/aliases b/etc/mail/aliases new file mode 100644 index 0000000..0c32841 --- /dev/null +++ b/etc/mail/aliases @@ -0,0 +1,7 @@ + +.... add the below in .... + +# Well-known aliases -- these should be filled in! +root: jon@rockgeeks.net +manager: root +dumper: root diff --git a/etc/mail/smtpd.conf b/etc/mail/smtpd.conf new file mode 100644 index 0000000..fcf92fe --- /dev/null +++ b/etc/mail/smtpd.conf @@ -0,0 +1,21 @@ +# $OpenBSD: smtpd.conf,v 1.14 2019/11/26 20:14:38 gilles Exp $ + +# This is the smtpd server system-wide configuration file. +# See smtpd.conf(5) for more information. + +table aliases file:/etc/mail/aliases + +listen on socket + +# To accept external mail, replace with: listen on all +# +listen on lo0 + +action "local_mail" mbox alias <aliases> +action "outbound" relay + +# Uncomment the following to accept external mail for domain "example.org" +# +# match from any for domain "example.org" action "local_mail" +match from local for local action "local_mail" +match from local for any action "outbound" |
