added support for smtp auth

This commit is contained in:
nd 2020-06-10 00:26:13 +02:00
parent f6887f80d3
commit 7c06a367b4
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 4 additions and 1 deletions

View file

@ -8,6 +8,7 @@ nextcloud:
mail: mail:
from: www-data from: www-data
domain: localhost domain: localhost
server: ~
admin: admin:
pw: "{{ lookup('password', '/dev/null') }}" pw: "{{ lookup('password', '/dev/null') }}"
name: admin name: admin

View file

@ -41,8 +41,10 @@
- { key: "mail_domain", value: "{{ nextcloud.mail.domain }}" } - { key: "mail_domain", value: "{{ nextcloud.mail.domain }}" }
- { key: "mail_smtpmode", value: "smtp" } - { key: "mail_smtpmode", value: "smtp" }
- { key: "mail_smtpauthtype", value: "PLAIN" } - { key: "mail_smtpauthtype", value: "PLAIN" }
- { key: "mail_smtphost", value: "{{ mail.server }}" } - { key: "mail_smtphost", value: "{{ nextcloud.mail.server }}" }
- { key: "mail_smtpport", value: "25" } - { key: "mail_smtpport", value: "25" }
- { key: "mail_smtppassword", value: "{{ nextcloud.mail.password }}" }
- { key: "mail_smtpname", value: "{{ nextcloud.mail.user }}" }
- { key: "memcache.local", value: '{{ "\OC\Memcache\APCu" }}' } - { key: "memcache.local", value: '{{ "\OC\Memcache\APCu" }}' }
- { key: "datadirectory", value: "{{ nextcloud.datadir }}" } - { key: "datadirectory", value: "{{ nextcloud.datadir }}" }