mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Set proper mail configuration (#450)
* email * Update _common.sh * Update scripts/_common.sh Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com> * Auto-update README --------- Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
parent
3c766ca4a7
commit
13beebc31c
3 changed files with 9 additions and 3 deletions
|
@ -253,12 +253,12 @@
|
|||
"UseChannelInEmailNotifications": false,
|
||||
"RequireEmailVerification": false,
|
||||
"FeedbackName": "Mattermost notification",
|
||||
"FeedbackEmail": "no-reply@__DOMAIN__",
|
||||
"FeedbackEmail": "no-reply@__MAIN_DOMAIN__",
|
||||
"ReplyToAddress": "",
|
||||
"FeedbackOrganization": "",
|
||||
"EnableSMTPAuth": false,
|
||||
"SMTPUsername": "mattermost",
|
||||
"SMTPPassword": "__SMTP_USER_PWD__",
|
||||
"SMTPUsername": "__APP__",
|
||||
"SMTPPassword": "__MAIL_PWD__",
|
||||
"SMTPServer": "localhost",
|
||||
"SMTPPort": "25",
|
||||
"SMTPServerTimeout": 10,
|
||||
|
|
|
@ -87,6 +87,7 @@ ram.runtime = "50M"
|
|||
arm64.sha256 = "c75860817858eddde852075ec0c0091f53cec7858be30cc7f849f31e215bd23d"
|
||||
|
||||
[resources.system_user]
|
||||
allow_email = true
|
||||
|
||||
[resources.install_dir]
|
||||
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
# We want Mattermost emails to be sent from the main domain
|
||||
# (the one for which the emails headers are properly configured),
|
||||
# and not the subdomain or secondary domain used for Mattermost.
|
||||
main_domain=$(cat /etc/yunohost/current_host)
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue