1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00

Merge pull request #173 from YunoHost-Apps/mail

fix
This commit is contained in:
eric_G 2023-10-24 09:59:43 +02:00 committed by GitHub
commit d1d06fba9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -42,19 +42,19 @@ define('FILES_DIR', DATA_DIR.DIRECTORY_SEPARATOR.'files');
define('MAIL_CONFIGURATION', true); define('MAIL_CONFIGURATION', true);
// E-mail address used for the "From" header (notifications) // E-mail address used for the "From" header (notifications)
define('MAIL_FROM', '__EMAIL__'); define('MAIL_FROM', 'noreply@__DOMAIN__');
// E-mail address used for the "Bcc" header to send a copy of all notifications // E-mail address used for the "Bcc" header to send a copy of all notifications
define('MAIL_BCC', ''); define('MAIL_BCC', '');
// Mail transport available: "smtp", "sendmail", "mail" (PHP mail function), "postmark", "mailgun", "sendgrid" // Mail transport available: "smtp", "sendmail", "mail" (PHP mail function), "postmark", "mailgun", "sendgrid"
define('MAIL_TRANSPORT', 'mail'); define('MAIL_TRANSPORT', 'smtp');
// SMTP configuration to use when the "smtp" transport is chosen // SMTP configuration to use when the "smtp" transport is chosen
define('MAIL_SMTP_HOSTNAME', 'localhost'); define('MAIL_SMTP_HOSTNAME', 'localhost');
define('MAIL_SMTP_PORT', 25); define('MAIL_SMTP_PORT', 25);
define('MAIL_SMTP_USERNAME', ''); define('MAIL_SMTP_USERNAME', '__APP__');
define('MAIL_SMTP_PASSWORD', ''); define('MAIL_SMTP_PASSWORD', '__MAIL_PWD__');
define('MAIL_SMTP_ENCRYPTION', null); // Valid values are "null", "ssl" or "tls" define('MAIL_SMTP_ENCRYPTION', null); // Valid values are "null", "ssl" or "tls"
// Sendmail command to use when the transport is "sendmail" // Sendmail command to use when the transport is "sendmail"

View file

@ -51,12 +51,12 @@ ram.runtime = "50M"
autoupdate.strategy = "latest_github_tag" autoupdate.strategy = "latest_github_tag"
[resources.system_user] [resources.system_user]
allow_email = true
[resources.install_dir] [resources.install_dir]
[resources.permissions] [resources.permissions]
main.url = "/" main.url = "/"
#main.auth_header = false
ics.url = "/?controller=ICalendarController" ics.url = "/?controller=ICalendarController"
ics.show_tile = false ics.show_tile = false
ics.allowed = "visitors" ics.allowed = "visitors"

View file

@ -65,7 +65,7 @@ chown -R $app:www-data "$install_dir"
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=5 ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=5
# Create a dedicated PHP-FPM config # Create a dedicated PHP-FPM config
ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_footprint ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
# Create a dedicated NGINX config # Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config