ref: bb85a392498445b03ac01137ed1043c397b6c5a8
parent: 75955a24c85f16b17b0a9549559ef488b8265859
author: mkf <mkf@cloud9p.org>
date: Mon Aug 12 13:56:59 EDT 2024
smtpd.ms: fix formatting
--- a/smtpd.ms
+++ b/smtpd.ms
@@ -1,6 +1,7 @@
+.LP
Make sure to chmod +x /bin/service/tcp25 or else the mail server won't be able to start
-
+.P1
; cat /bin/service/tcp25
#!/bin/rc
#smtp serv net incalldir user
@@ -7,9 +8,10 @@
user=`{cat /dev/user}
exec upas/smtpd -s -e -n $3
-
+.P2
+.LP
Make sure to edit /mail/lib/smtpd.conf:
-
+.P1
#
# sample smtpd configuration options for inside connections
#
@@ -35,9 +37,9 @@
Copy /mail/lib/rewrite.direct to /mail/lib/rewrite.
-$a
+.P2
+.LP
See dkim.ms guide for enabling dkim. Make sure to add spf and dmarc records as indicated in ndb.ms guide.
-
To test sending an email:
.P1
@@ -45,5 +47,4 @@
.P2
Type a message, then a newline, then EOF.
-