summaryrefslogtreecommitdiff
path: root/etc/mail
diff options
context:
space:
mode:
authorJon duSaint2022-11-27 11:25:11 -0800
committerJon duSaint2022-11-27 11:25:11 -0800
commit254e41ba237796ce1ad6bf670aebf1b92eed98be (patch)
tree1be7770ddf0e78a7e262535f7e5dd47bb9b73575 /etc/mail
parenta49cb4da526c86385e942323e069a8e978d0cf4c (diff)

etc: all the interesting config files for the server

HEADmain
Diffstat (limited to 'etc/mail')
-rw-r--r--etc/mail/aliases7
-rw-r--r--etc/mail/smtpd.conf21
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"