Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vitamui-pr-pastis
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dad
vitamui-pr-pastis
Commits
1bf47ae7
Commit
1bf47ae7
authored
5 years ago
by
Olivier MARSOL
Browse files
Options
Downloads
Patches
Plain Diff
Added some more tuning for sending mail
parent
8c308c15
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
deploymentByVitam/environments/group_vars/all/infra.yml
+5
-0
5 additions, 0 deletions
deploymentByVitam/environments/group_vars/all/infra.yml
deploymentByVitam/roles/vitamui/templates/cas-server/application.yml.j2
+11
-4
11 additions, 4 deletions
...tam/roles/vitamui/templates/cas-server/application.yml.j2
with
16 additions
and
4 deletions
deploymentByVitam/environments/group_vars/all/infra.yml
+
5
−
0
View file @
1bf47ae7
...
...
@@ -2,11 +2,16 @@
smtp
:
host
:
host
port
:
389
protocol
:
smtp
user
:
utilisateur
password
:
password
test_smtp_connection
:
false
#none@nomail.com ???
auth
:
true
tls_enable
:
true
smtps
:
checkserveridentity
:
false
trust
:
"
*"
timeout
:
8000
cas
:
sender
:
"
serveur-cas@noreply.com"
expiration
:
10
# in minutes
...
...
This diff is collapsed.
Click to expand it.
deploymentByVitam/roles/vitamui/templates/cas-server/application.yml.j2
+
11
−
4
View file @
1bf47ae7
...
...
@@ -86,12 +86,19 @@ cas.authn.pm.autoLogin: true
spring.mail.host: {{ smtp.host }}
spring.mail.port: {{ smtp.port }}
spring.mail.protocol: {{ smtp.protocol|lower }}
spring.mail.username: {{ smtp.user }}
spring.mail.password: {{ smtp.password }}
spring.mail.testConnection: {{ smtp.test_smtp_connection }}
spring.mail.properties.mail.smtp.auth: {{ smtp.auth|lower }}
spring.mail.properties.mail.smtp.starttls.enable: {{ smtp.tls_enable|lower }}
spring.mail.testConnection: {{ smtp.test_smtp_connection|lower }}
spring.mail.properties.mail.{{ smtp.protocol|lower }}.auth: {{ smtp.auth|lower }}
spring.mail.properties.mail.{{ smtp.protocol|lower }}.starttls.enable: {{ smtp.tls_enable|lower }}
spring.mail.properties.mail.transport.protocol: {{ smtp.protocol|lower }}
{% if smtp.protocol|lower == 'smtps' %}
spring.mail.properties.mail.smtps.ssl.checkserveridentity: {{ smtp.smtps.checkserveridentity|lower }}
spring.mail.properties.mail.smtps.ssl.trust: "{{ smtp.smtps.trust|lower }}"
spring.mail.properties.mail.smtps.timeout: {{ smtp.smtps.timeout|default('8000') }}
{% endif %}
# TODO OMA : check if working if not declared
{% if sms.enabled|lower == "true" %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment