new structure checks and fixes

- markdown formatting
- turn soft-serve.md into soft-serve/README.md
This commit is contained in:
2024-12-04 15:42:21 +01:00
parent eb5d3b018b
commit 7c28e70eb4
4 changed files with 26 additions and 10 deletions

22
splintrs/smtpd/smtp.mk Normal file
View File

@@ -0,0 +1,22 @@
# This make file produces the smtp daemon for the current backup domain: splint.rs
# It is missing the cert, so you'll have to make another.
# It hasn't been tested in a few years, and I have no idea how to make a
# containerized test which will check DNS, and SSL certificates.
DOMAIN=splint.rs
output: service
/usr/bin/smtp:
pacman -S smtpd
cp etc/smtpd/* /etc/smtpd
smtpd -n
/etc/smtpd/mailname: /usr/bin/smtp
echo $(DOMAIN) > /etc/smtpd/mailname
.PHONY: service
service: /etc/systemd/system/multi-user.target.wants/smtpd.service
/etc/systemd/system/multi-user.target.wants/smtpd.service: /etc/smtpd/mailname
systemctl enable --now smtpd