summaryrefslogtreecommitdiff
path: root/user/netqmail/smtpd-notls.run
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2023-01-15 19:39:25 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2023-01-15 22:47:38 +0000
commitc7463dd3f6857af03af871bea754535feb0af3e6 (patch)
tree298f6b2e9cd1627f959370cf06c73ef8bfc5f90c /user/netqmail/smtpd-notls.run
parent8bc45c494da91875604612d85e5bb596892b096c (diff)
downloadpackages-c7463dd3f6857af03af871bea754535feb0af3e6.tar.gz
packages-c7463dd3f6857af03af871bea754535feb0af3e6.tar.bz2
packages-c7463dd3f6857af03af871bea754535feb0af3e6.tar.xz
packages-c7463dd3f6857af03af871bea754535feb0af3e6.zip
user/netqmail: support STARTTLS, manage conflict with ssmtp
Diffstat (limited to 'user/netqmail/smtpd-notls.run')
-rw-r--r--user/netqmail/smtpd-notls.run9
1 files changed, 9 insertions, 0 deletions
diff --git a/user/netqmail/smtpd-notls.run b/user/netqmail/smtpd-notls.run
new file mode 100644
index 000000000..f29015401
--- /dev/null
+++ b/user/netqmail/smtpd-notls.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 -t5000 -i data/rules --
+qmail-smtpd