forgejo: enable mail notifications on mention by default

This commit is contained in:
Timotej Lazar 2025-11-20 14:52:03 +01:00
parent a4b1c668a6
commit 70c9d72ff4

View file

@ -42,8 +42,10 @@
- { section: security, option: INSTALL_LOCK, value: 'true' }
- { section: mailer, option: ENABLED, value: 'true' }
- { section: mailer, option: PROTOCOL, value: 'sendmail' }
- { section: mailer, option: FROM, value: 'noreply@{{ dns_name }}' }
- { section: mailer, option: FROM, value: 'Forgejo <noreply@{{ dns_name }}>' }
- { section: mailer, option: SEND_AS_PLAIN_TEXT, value: 'true' }
- { section: service, option: ENABLE_NOTIFY_MAIL, value: 'true' }
- { section: admin, option: DEFAULT_EMAIL_NOTIFICATIONS, value: 'onmention' }
notify: restart forgejo
- name: Enable forgejo service