summaryrefslogtreecommitdiff
path: root/swift/etc/smtpd
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-01-21 08:42:15 +0100
committerMarc Vertes <mvertes@free.fr>2025-01-21 08:42:15 +0100
commit0ad4e2b969c28d2b39d29e55e53ae632db710030 (patch)
tree62bb292d8da9a835becb679b5d6917c50da3d950 /swift/etc/smtpd
parentbac7296bb38bb46b51e4fd70c5fe234f2a58d553 (diff)
parent6d506e0b30569c547f41f6d6334a1b5133774da4 (diff)
Merge github.com:mvertes/dotfiles
Diffstat (limited to 'swift/etc/smtpd')
-rw-r--r--swift/etc/smtpd/smtpd.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/swift/etc/smtpd/smtpd.conf b/swift/etc/smtpd/smtpd.conf
new file mode 100644
index 0000000..ac4dabf
--- /dev/null
+++ b/swift/etc/smtpd/smtpd.conf
@@ -0,0 +1,20 @@
+# $OpenBSD: smtpd.conf,v 1.10 2018/05/24 11:40:17 gilles Exp $
+
+# This is the smtpd server system-wide configuration file.
+# See smtpd.conf(5) for more information.
+
+table aliases file:/etc/smtpd/aliases
+table secrets file:/etc/smtpd/secrets
+
+# To accept external mail, replace with: listen on all
+#
+listen on localhost
+
+action "local" maildir alias <aliases>
+action "relay" relay host smtps://mvertes@smtp.free.fr auth <secrets>
+
+# Uncomment the following to accept external mail for domain "example.org"
+#
+# match from any for domain "example.org" action "local"
+match for local action "local"
+match for any action "relay"