summaryrefslogtreecommitdiffhomepage
path: root/smtpd/Makefile
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-02-02 13:34:47 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-11-30 21:09:29 +0800
commit9934dd538b0ce116e3b1600272cb46369b082246 (patch)
tree2f28c6c362201151eaf8218e566479ed7eb72070 /smtpd/Makefile
init commit
Diffstat (limited to 'smtpd/Makefile')
-rw-r--r--smtpd/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/smtpd/Makefile b/smtpd/Makefile
new file mode 100644
index 0000000..a29254f
--- /dev/null
+++ b/smtpd/Makefile
@@ -0,0 +1,8 @@
1all: dkim
2 sudo mkdir -p /etc/smtpd /etc/mail
3 sudo ln -sf `pwd`/smtpd.conf /etc/smtpd/smtpd.conf
4 sudo cp mail/* /etc/mail/
5dkim:
6 ls /etc/mail/{passwd,dkim.key,dkim.txt}
7passwd:
8 sudo echo $$(id -un):$$(smtpctl encrypt)