aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-03-20 01:48:01 -0300
committerEuAndreh <eu@euandre.org>2022-03-20 01:48:01 -0300
commit0931e4528c0f9bc1c693dacd4bc90f3cfe60bcc6 (patch)
tree579e60d8aecb0ce7cec1030a417f25f64d59311a /src
parentTODOs.md: Add #td-39864f91-afa7-5a9d-1d3b-230c75b8b36f (diff)
downloadtoph-0931e4528c0f9bc1c693dacd4bc90f3cfe60bcc6.tar.gz
toph-0931e4528c0f9bc1c693dacd4bc90f3cfe60bcc6.tar.xz
src/machines.scm: WIP OpenSMTPD config
Diffstat (limited to 'src')
-rw-r--r--src/machines.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/machines.scm b/src/machines.scm
index 9bcd55f..6c239d6 100644
--- a/src/machines.scm
+++ b/src/machines.scm
@@ -195,6 +195,17 @@
(define opensmtpd.conf
(plain-file "opensmtpd.conf" #"""-
+ listen on 0.0.0.0
+
+ action inbound mbox
+ match for local action inbound
+
+ action outbound relay
+ match from local for any action outbound
+"""#))
+
+(define opensmtpd.conf1
+ (plain-file "opensmtpd.conf" #"""-
table aliases file:/etc/aliases
table creds { }