1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

Merge pull request #40 from YunoHost-Apps/mail

Mail
This commit is contained in:
Robles Rodolphe 2023-11-28 22:45:33 +01:00 committed by GitHub
commit 17b6fdc8a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 11 deletions

View file

@ -411,7 +411,7 @@ const USE_CRON = true;
* Défaut : false
*/
//const SMTP_HOST = true;
const SMTP_HOST = '__DOMAIN__';
/**
* Port du serveur SMTP
@ -422,7 +422,7 @@ const USE_CRON = true;
* Défaut : 587
*/
//const SMTP_PORT = 25;
const SMTP_PORT = 25;
/**
* Login utilisateur pour le server SMTP
@ -432,7 +432,7 @@ const USE_CRON = true;
* Défaut : null
*/
//const SMTP_USER = '';
const SMTP_USER = '__APP__';
/**
* Mot de passe pour le serveur SMTP
@ -442,7 +442,7 @@ const USE_CRON = true;
* Défaut : null
*/
//const SMTP_PASSWORD = '';
const SMTP_PASSWORD = '__MAIL_PWD__';
/**
* Sécurité du serveur SMTP
@ -455,7 +455,7 @@ const USE_CRON = true;
* Défaut : STARTTLS
*/
//const SMTP_SECURITY = 'NONE';
const SMTP_SECURITY = 'STARTTLS';
/**
* Nom du serveur utilisé dans le HELO SMTP
@ -468,7 +468,7 @@ const USE_CRON = true;
* @var null|string
*/
//const SMTP_HELO_HOSTNAME = 'localhost';
const SMTP_HELO_HOSTNAME = '__DOMAIN__';
/**
* Adresse e-mail destinée à recevoir les erreurs de mail
@ -484,7 +484,7 @@ const USE_CRON = true;
* Défaut : null
*/
//const MAIL_RETURN_PATH = 'returns@__DOMAIN__';
const MAIL_RETURN_PATH = '__APP__@__DOMAIN__';
/**
@ -502,7 +502,7 @@ const USE_CRON = true;
* Défaut : null
*/
//const MAIL_SENDER = 'associations@__DOMAIN__';
const MAIL_SENDER = '__APP__@__DOMAIN__';
/**
* Mot de passe pour l'accès à l'API permettant de gérer les mails d'erreur

View file

@ -1,3 +1,3 @@
@daily __APP__ /usr/bin/php__PHPVERSION__ __INSTALL_DIR__/scripts/cron.php
* * * * * __APP__ /usr/bin/php__PHPVERSION__ __INSTALL_DIR__/scripts/emails.php

View file

@ -1 +1,3 @@
If you wish, you can add custom configurations inside `__INSTALL_DIR__/config.local.php`.
If you wish, you can add custom configurations inside `__INSTALL_DIR__/config.local.php`.
For more than one instance, each will need a dedicated domain name for mail configuration, for example: domain.tld/paheko, paheko.domain.tld, paheko2.domain.tld

View file

@ -1 +1,5 @@
Vous pouvez si vous le souhaitez ajouter des configurations personnelles en éditant le fichier `__INSTALL_DIR__/config.local.php`.
Pour plus d'une instance, chacune aura besoin d'un nom de domaine dédié pour la configuration des mails, exemple: domain.tld/paheko, paheko.domain.tld, paheko2.domain.tld

View file

@ -44,7 +44,8 @@ ram.runtime = "50M"
sha256 = "a47f81a9607dc9b20ab12ccfbd3e3ae64a46352fafe658bc2137327687588833"
[resources.system_user]
allow_email = true
[resources.install_dir]
[resources.data_dir]