diff --git a/conf/config.local.php b/conf/config.local.php index 4a0186b..c8efcb2 100644 --- a/conf/config.local.php +++ b/conf/config.local.php @@ -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 diff --git a/conf/cron b/conf/cron index 80068eb..a05c75e 100644 --- a/conf/cron +++ b/conf/cron @@ -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 - + \ No newline at end of file diff --git a/doc/ADMIN.md b/doc/ADMIN.md index 2094e6a..5dd1161 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -1 +1,3 @@ -If you wish, you can add custom configurations inside `__INSTALL_DIR__/config.local.php`. \ No newline at end of file +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 diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index adf99ef..2dd06fa 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -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 + + diff --git a/manifest.toml b/manifest.toml index a4b6fef..c4dcec8 100644 --- a/manifest.toml +++ b/manifest.toml @@ -44,7 +44,8 @@ ram.runtime = "50M" sha256 = "a47f81a9607dc9b20ab12ccfbd3e3ae64a46352fafe658bc2137327687588833" [resources.system_user] - + allow_email = true + [resources.install_dir] [resources.data_dir]