ref: 8cfb91116032e63877e35be1d6a54e600e659605
parent: 4acf0b60f1623b61897a98915ceba6f0c99387ea
author: jrmu <jrmu@cloud9p.org>
date: Wed Sep 25 23:46:44 EDT 2024
Offer SMTP over TLS
--- a/smtpd.ms
+++ b/smtpd.ms
@@ -89,3 +89,17 @@
Type a message, then a newline, then EOF.
If your email address is simply $user, you may be able to omit the upasname variable provided the domain is correctly configured elsewhere.
+
+To offer SMTP over TLS (submission port):
+
+First, create a file /rc/bin/service/tcp587:
+
+#!/bin/rc
+
+user=`{cat /dev/user}
+
+exec upas/smtpd -a -c /sys/lib/tls/acmed/example.com.crt -e -f -s -n $3
+
+Next, set the file to executable:
+
+cpu% chmod +x tcp587