diff options
author | EuAndreh <eu@euandre.org> | 2021-02-22 00:24:23 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-22 00:24:23 -0300 |
commit | 96141a04882d867510bb2084e24449e963f2af8a (patch) | |
tree | 0355f8dbf184a29967ff9b4f495619ab8ccdc1e7 | |
parent | Remove frivoulous "my-machine" definition (diff) | |
download | toph-96141a04882d867510bb2084e24449e963f2af8a.tar.gz toph-96141a04882d867510bb2084e24449e963f2af8a.tar.xz |
vps/machines.scm: Move OpenSMTPD (plain-file ...) into (operating-system ...)
-rw-r--r-- | servers/vps/machines.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/vps/machines.scm b/servers/vps/machines.scm index b247f12..8d6e48a 100644 --- a/servers/vps/machines.scm +++ b/servers/vps/machines.scm @@ -184,7 +184,7 @@ root ALL=(ALL) ALL (string-append letsencrypt-prefix domain "/privkey.pem")) (define opensmtpd-config - (plain-file "euandreh-smtpd.conf" (string-append " + (string-append " listen on eth0 # File comes from mail-aliases-service-type table aliases file:/etc/aliases @@ -193,7 +193,7 @@ accept for local alias <aliases> deliver to maildir accept for any relay pki " mail-domain " cert \"" (tls-pub-for mail-domain) "\" -pki " mail-domain " key \"" (tls-priv-for mail-domain) "\""))) +pki " mail-domain " key \"" (tls-priv-for mail-domain) "\"")) (define tls-prefixes (list mail-domain-prefix @@ -259,7 +259,7 @@ pki " mail-domain " key \"" (tls-priv-for mail-domain) "\""))) #; (service opensmtpd-service-type (opensmtpd-configuration - (config-file opensmtpd-config))) + (config-file (plain-file "euandreh-smtpd.conf" opensmtpd-config)))) #; (service mail-aliases-service-type `(("postmaster" "root") |