diff options
author | mkljczk <git@mkljczk.pl> | 2025-02-17 17:36:02 +0100 |
---|---|---|
committer | mkljczk <git@mkljczk.pl> | 2025-02-17 17:36:02 +0100 |
commit | ea01b5934f41a13f480221e554723f2b214d67e3 (patch) | |
tree | 631c5aa815ef8a133461e45437ff917149f23e0c /docs/configuration | |
parent | 3e5517e7bb549d22258d2d7788ba52797648d6b7 (diff) | |
parent | a1f4da7ae2ed5d063b3d146f223a96b9db9bb505 (diff) | |
download | pleroma-ea01b5934f41a13f480221e554723f2b214d67e3.tar.gz pleroma-ea01b5934f41a13f480221e554723f2b214d67e3.zip |
Merge remote-tracking branch 'origin/develop' into post-languages
Diffstat (limited to 'docs/configuration')
-rw-r--r-- | docs/configuration/cheatsheet.md | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index 0b4e53b6f..36e9cbba2 100644 --- a/docs/configuration/cheatsheet.md +++ b/docs/configuration/cheatsheet.md @@ -742,6 +742,21 @@ config :pleroma, Pleroma.Emails.Mailer, auth: :always ``` +An example for Mua adapter: + +```elixir +config :pleroma, Pleroma.Emails.Mailer, + enabled: true, + adapter: Swoosh.Adapters.Mua, + relay: "mail.example.com", + port: 465, + auth: [ + username: "YOUR_USERNAME@domain.tld", + password: "YOUR_SMTP_PASSWORD" + ], + protocol: :ssl +``` + ### :email_notifications Email notifications settings. @@ -968,12 +983,13 @@ Pleroma account will be created with the same name as the LDAP user name. * `enabled`: enables LDAP authentication * `host`: LDAP server hostname * `port`: LDAP port, e.g. 389 or 636 -* `ssl`: true to use SSL, usually implies the port 636 +* `ssl`: true to use implicit SSL/TLS, usually port 636 * `sslopts`: additional SSL options -* `tls`: true to start TLS, usually implies the port 389 +* `tls`: true to use explicit TLS (STARTTLS), usually port 389 * `tlsopts`: additional TLS options * `base`: LDAP base, e.g. "dc=example,dc=com" * `uid`: LDAP attribute name to authenticate the user, e.g. when "cn", the filter will be "cn=username,base" +* `cacertfile`: Path to alternate CA root certificates file Note, if your LDAP server is an Active Directory server the correct value is commonly `uid: "cn"`, but if you use an OpenLDAP server the value may be `uid: "uid"`. |