wm: doc

ref: d8e841de8404a534c5ea60446cc1b8d7dacb6b30
dir: /popimap.ms/

View raw version
To offer IMAP with mandatory TLS:

cpu% cp (/bin/service/)^(!tcp993 tcp993)

#!/bin/rc

exec tlssrv -c /sys/lib/tls/acmed/example.com.crt -limap4d \
-r`{cat $3/remote} /bin/upas/imap4d -p -d example.com \
-r`{cat $3/remote} >>[2]/sys/log/imap4d