Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update configuring-playbook-bot-postmoogle.md #2623

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/configuring-playbook-bot-postmoogle.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ matrix_bot_postmoogle_enabled: true

# Generate a strong password here. Consider generating it with `pwgen -s 64 1`
matrix_bot_postmoogle_password: PASSWORD_FOR_THE_BOT

# Custom domains configuration for Postmoogle (optional)
matrix_bot_postmoogle_domains:
- "other.domain"
- "{{ matrix_server_fqn_matrix }}"

# SSL certificates configuration for custom domains
# Optional configuration, required if custom domains for postmoogle are used
matrix_ssl_additional_domains_to_obtain_certificates_for:
- "other.domain"
Comment on lines +30 to +33
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part is incorrect.

The matrix_bot_postmoogle_domains list is already automatically injected into matrix_ssl_domains_to_obtain_certificates_for as seen here:

(matrix_bot_postmoogle_domains if matrix_bot_postmoogle_enabled else [])

There's no need to add them a second time by manually adding them as additional domains in matrix_ssl_additional_domains_to_obtain_certificates_for

Copy link
Author

@Gregivy Gregivy Apr 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without explicitly setting this variable matrix_ssl_additional_domains_to_obtain_certificates_for it wasn't working. The same problem as here #2613 with matrix-traefik-certs-dumper-wait-for-domain remained until I added the additional domains line.

```

You will also need to add several DNS records so that postmoogle can send emails.
Expand Down