diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-02-02 13:34:47 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-11-30 21:09:29 +0800 |
commit | 9934dd538b0ce116e3b1600272cb46369b082246 (patch) | |
tree | 2f28c6c362201151eaf8218e566479ed7eb72070 /smtpd/Makefile |
init commit
Diffstat (limited to 'smtpd/Makefile')
-rw-r--r-- | smtpd/Makefile | 8 |
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 @@ | |||
1 | all: 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/ | ||
5 | dkim: | ||
6 | ls /etc/mail/{passwd,dkim.key,dkim.txt} | ||
7 | passwd: | ||
8 | sudo echo $$(id -un):$$(smtpctl encrypt) | ||