From 9934dd538b0ce116e3b1600272cb46369b082246 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 2 Feb 2022 13:34:47 +0800 Subject: init commit --- smtpd/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 smtpd/Makefile (limited to 'smtpd/Makefile') diff --git a/smtpd/Makefile b/smtpd/Makefile new file mode 100644 index 0000000..a29254f --- /dev/null +++ b/smtpd/Makefile @@ -0,0 +1,8 @@ +all: dkim + sudo mkdir -p /etc/smtpd /etc/mail + sudo ln -sf `pwd`/smtpd.conf /etc/smtpd/smtpd.conf + sudo cp mail/* /etc/mail/ +dkim: + ls /etc/mail/{passwd,dkim.key,dkim.txt} +passwd: + sudo echo $$(id -un):$$(smtpctl encrypt) -- cgit v1.2.3-70-g09d2