Преглед изворни кода

update email verification manual entry

tags/v2.5.0-rc1
Shivaram Lingamneni пре 3 година
родитељ
комит
9a28cd38c3
1 измењених фајлова са 10 додато и 12 уклоњено
  1. 10
    12
      docs/MANUAL.md

+ 10
- 12
docs/MANUAL.md Прегледај датотеку

@@ -310,20 +310,18 @@ To enable this mode, use the configs from the "nick equals account" section (i.e
310 310
 By default, account registrations complete immediately and do not require a verification step. However, like other service frameworks, Oragono's NickServ can be configured to require email verification of registrations. The main challenge here is to prevent your emails from being marked as spam, which you can do by configuring [SPF](https://en.wikipedia.org/wiki/Sender_Policy_Framework), [DKIM](https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail), and [DMARC](https://en.wikipedia.org/wiki/DMARC). For example, this configuration (when added to the `accounts.registration` section) enables email verification, with the emails being signed with a DKIM key and sent directly from Oragono:
311 311
 
312 312
 ```yaml
313
-        enabled-callbacks:
314
-            - mailto
315
-
316
-        callbacks:
317
-            mailto:
318
-                sender: "admin@my.network"
319
-                require-tls: true
320
-                dkim:
321
-                    domain: "my.network"
322
-                    selector: "20200525"
323
-                    key-file: "dkim-private-20200525.pem"
313
+        email-verification:
314
+            enabled: true
315
+            sender: "admin@my.network"
316
+            require-tls: true
317
+            helo-domain: "my.network" # defaults to server name if unset
318
+            dkim:
319
+                domain: "my.network"
320
+                selector: "20200229"
321
+                key-file: "dkim.pem"
324 322
 ```
325 323
 
326
-You must create the corresponding TXT record `20200525._domainkey.my.network` to hold your public key. You can also use an MTA ("relay" or "smarthost") to send the email, in which case DKIM signing can be deferred to the MTA; see the example config for details.
324
+You must create the corresponding TXT record `20200229._domainkey.my.network` to hold your public key. You can also use an MTA ("relay" or "smarthost") to send the email, in which case DKIM signing can be deferred to the MTA; see the example config for details.
327 325
 
328 326
 
329 327
 ## Channel Registration

Loading…
Откажи
Сачувај