summaryrefslogtreecommitdiff
path: root/tools/makefile
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-06-03 00:01:46 -0700
committerJohn Denker <jsd@av8n.com>2012-06-03 00:01:46 -0700
commit332213df3e305f06bdda6a191a7f98834c61aa9a (patch)
treef143526559efd663f0fe978223e449c88eebce19 /tools/makefile
parente866b3e47fe92eafc9d6d40a579993c8919b9842 (diff)
move code from makefile to script, to give better control;
defaults should not clobber non-defaults
Diffstat (limited to 'tools/makefile')
-rw-r--r--tools/makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/makefile b/tools/makefile
index 005b408..dbe4806 100644
--- a/tools/makefile
+++ b/tools/makefile
@@ -27,10 +27,7 @@ install:
chown qmaild /var/qmail/control/*.crtkey
/etc/tcpserver/smtp.rules :
- install -d /etc/tcpserver
- @echo '10.:allow,RELAYCLIENT=""' > $@
- @echo '127.0.0.:allow,RELAYCLIENT=""' >> $@
- @echo ':allow' >> $@
+ ./mk_smtp_rules
tcprules : /etc/tcpserver/smtp.rules
< $< tcprules /etc/tcpserver/smtp.cdb /etc/tcpserver/smtp.tmp