@@ -11,15 +11,15 @@ Local and outbound delivery:
1111- Run "@RCD_SCRIPTS_DIR@/qmail start".
1212
1313Incoming SMTP on port 25:
14- - Set qmailsmtpd=YES in /etc/rc.conf.
1514- Add any qmail-rcptcheck programs to control/rcptchecks.
1615- Add any qmail-qfilter programs to control/smtpfilters.
1716- Add any qmail-spp programs (such as greylisting) to control/smtpplugins.
17+ - Set qmailsmtpd=YES in /etc/rc.conf.
1818- Run "@RCD_SCRIPTS_DIR@/qmailsmtpd start".
1919
2020Authenticated message submission on port 587:
21- - Set qmailofmipd=YES in /etc/rc.conf.
2221- Add any qmail-qfilter programs to control/ofmipfilters.
22+ - Set qmailofmipd=YES in /etc/rc.conf.
2323- Run "@RCD_SCRIPTS_DIR@/qmailofmipd start".
2424
2525POP3 (for Maildirs only) on port 110:
@@ -44,39 +44,40 @@ SPF (Sender Policy Framework) outbound:
4444 @PREFIX@/share/doc/qmail/README.srs)
4545 so that servers which enforce the forwarded domains' SPF policies will
4646 accept these messages from you.
47- - Publish a DNS TXT record with your domain's SPF policy.
47+ - Publish your domain's SPF policy as a DNS TXT record .
4848
4949SPF incoming:
5050- To greylist SPF-passing incoming messages (assuming greylisting is
5151 enabled), remove SPP_SPF_RESULT_PASS="SGL_WHITELISTED=1" from
5252 control/tcprules/smtp, then run "@RCD_SCRIPTS_DIR@/qmailsmtpd cdb".
53- By default, such messages are accepted.
54- - To reject SPF-failing incoming messages ( including auto-forwards from
55- servers that forgot to configure SRS) when the domain's policy is
53+ ( By default, such messages are accepted.)
54+ - To reject SPF-failing incoming messages -- including auto-forwards from
55+ servers that forgot to configure SRS -- when the domain's policy is
5656 explicit-fail, add SPP_SPF_RESULT_FAIL="E550 spf_smtp_msg" to
5757 control/tcprules/smtp, then run "@RCD_SCRIPTS_DIR@/qmailsmtpd cdb".
58- By default, such messages are accepted.
58+ ( By default, such messages are accepted.)
5959
6060DKIM (DomainKeys Identified Mail) outbound:
61- - Run "mkdir control/domainkeys && chown qmailr control/domainkeys".
62- - Run "cd control/domainkeys && mkdir yourdomain.com && cd yourdomain.com"
63- - Generate a DKIM keypair for yourdomain.com:
61+ - Generate a DKIM keypair for yourdom.ain:
62+ mkdir control/domainkeys && chown @QMAIL_REMOTE_USER@ control/domainkeys
63+ cd control/domainkeys && mkdir yourdom.ain && cd yourdom.ain
6464 openssl genrsa -out default 1024 && chmod 640 default
6565 openssl rsa -in default -pubout -out default.pub
66- - Publish a DNS TXT record for the "default" selector containing your
67- domain's DKIM policy and public key .
68- - To turn off signing entirely, set
69- qmailsend_postenv="QMAILREMOTE=@PREFIX@/bin/qmail-remote"
70- in /etc/rc.conf.
71- By default, messages from domains that have DKIM keys will be signed.
66+ - Publish your domain's "default" DKIM policy and public key as a DNS
67+ TXT record .
68+ - To stop signing outbound messages from domains with DKIM keys present,
69+ set qmailsend_postenv="QMAILREMOTE=@PREFIX@/bin/qmail-remote"
70+ in /etc/rc.conf, then run "@RCD_SCRIPTS_DIR@/qmailsend restart" .
71+ ( By default, such messages are signed.)
7272
7373DKIM incoming:
74- - To verify DKIM signatures on incoming messages, read through
75- @PREFIX@/bin/qmail-dkimverify-queue, set QMAILQUEUE to invoke it, set
76- DKVERIFY in the environment to enable verification, be prepared to
77- figure out what's not working, and report your findings to this
78- package's maintainer. (It might just work; I haven't tried it yet.)
79- By default, messages are accepted without verifying.
74+ - The package maintainer has not tested this yet. Be prepared to figure
75+ out what's not working, and please report your findings.
76+ - To verify DKIM signatures on incoming messages, add
77+ QMAILQUEUE="@PREFIX@/bin/qmail-dkimverify-queue" to control/tcprules/smtp.
78+ Set DKVERIFY in that script's environment, perhaps in the same tcprules.
79+ Then run "@RCD_SCRIPTS_DIR@/qmailsmtpd cdb".
80+ (By default, no verification is performed.)
8081- To get useful headers prepended, it's likely you'll need this custom
8182 dkimverify.pl: <URL:https://www.memoryhole.net/qmail/dkimverify.pl>
8283
0 commit comments