pouvoir utiliser le serveur d'envoi de mail local au scribe (fixes #26)
This commit is contained in:
@ -30,6 +30,12 @@ parameters:
|
||||
database_name: ninegate
|
||||
database_user: ninegate
|
||||
database_password: "changeme"
|
||||
%if %%getVar("ninegate_activer_localmail", 'non') == "oui"
|
||||
mailer_transport: sendmail
|
||||
mailer_host: '/usr/sbin/sendmail'
|
||||
mailer_user: ~
|
||||
mailer_password: ~
|
||||
%else
|
||||
mailer_transport: smtp
|
||||
%if %%is_defined("ninegate_smtphost")
|
||||
mailer_host: '%%ninegate_smtphost'
|
||||
@ -39,5 +45,6 @@ parameters:
|
||||
mailer_host: 'localhost'
|
||||
mailer_user: ''
|
||||
mailer_password: ''
|
||||
%end if
|
||||
%end if
|
||||
secret: ThisTokenIsNotSoSecretChangeIt
|
||||
|
@ -408,7 +408,7 @@ parameters:
|
||||
mailer_port: '2525'
|
||||
mailer_encryption: null
|
||||
mailer_authmode: null
|
||||
noreply: %%system_mail_to
|
||||
noreply: %%ninegate_noreply
|
||||
%end if
|
||||
|
||||
# Doctrine Configuration
|
||||
|
Reference in New Issue
Block a user