add sendmail support
This commit is contained in:
parent
7c06a367b4
commit
8d57c52637
2 changed files with 5 additions and 4 deletions
|
|
@ -6,6 +6,7 @@ nextcloud:
|
|||
datadir: /var/www/nextcloud/data
|
||||
externalurl: example.com
|
||||
mail:
|
||||
mode: sendmail
|
||||
from: www-data
|
||||
domain: localhost
|
||||
server: ~
|
||||
|
|
|
|||
|
|
@ -39,12 +39,12 @@
|
|||
with_items:
|
||||
- { key: "mail_from_address", value: "{{ nextcloud.mail.from }}" }
|
||||
- { key: "mail_domain", value: "{{ nextcloud.mail.domain }}" }
|
||||
- { key: "mail_smtpmode", value: "smtp" }
|
||||
- { key: "mail_smtpmode", value: "{{ nextcloud.mail.mode }}" }
|
||||
- { key: "mail_smtpauthtype", value: "PLAIN" }
|
||||
- { key: "mail_smtphost", value: "{{ nextcloud.mail.server }}" }
|
||||
- { key: "mail_smtphost", value: "{{ nextcloud.mail.server|d('') }}" }
|
||||
- { key: "mail_smtpport", value: "25" }
|
||||
- { key: "mail_smtppassword", value: "{{ nextcloud.mail.password }}" }
|
||||
- { key: "mail_smtpname", value: "{{ nextcloud.mail.user }}" }
|
||||
- { key: "mail_smtppassword", value: "{{ nextcloud.mail.password|d('') }}" }
|
||||
- { key: "mail_smtpname", value: "{{ nextcloud.mail.user|d('') }}" }
|
||||
- { key: "memcache.local", value: '{{ "\OC\Memcache\APCu" }}' }
|
||||
- { key: "datadirectory", value: "{{ nextcloud.datadir }}" }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue