summaryrefslogtreecommitdiff
path: root/user/netqmail/smtpd.run
diff options
context:
space:
mode:
Diffstat (limited to 'user/netqmail/smtpd.run')
-rw-r--r--user/netqmail/smtpd.run9
1 files changed, 9 insertions, 0 deletions
diff --git a/user/netqmail/smtpd.run b/user/netqmail/smtpd.run
new file mode 100644
index 000000000..7f10dbdbb
--- /dev/null
+++ b/user/netqmail/smtpd.run
@@ -0,0 +1,9 @@
+#!/bin/execlineb -P
+
+fdmove -c 2 1
+s6-envdir env
+importas -u IP IP
+fdmove 1 3
+s6-tcpserver -v2 -1U -c 255 -- $IP 25
+s6-tcpserver-access -v2 -DRpl0 -t 5000 -i data/rules --
+qmail-smtpd