mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 14:51:38 +01:00
fix: use start tls for internal smtp
do this by adding a new non transparent port forward and connect via this port and the normal mail.atlantishq.de address also always copy the passwd file for dovecot
This commit is contained in:
@@ -7,7 +7,8 @@ nsca_password: HISTORY_PURGED_SECRET
|
|||||||
RSYSLOG_SERVER: internal.monitoring.atlantishq.de
|
RSYSLOG_SERVER: internal.monitoring.atlantishq.de
|
||||||
influxdb_telegraf_password: HISTORY_PURGED_SECRET
|
influxdb_telegraf_password: HISTORY_PURGED_SECRET
|
||||||
|
|
||||||
smtp_internal_host: 192.168.122.101
|
smtp_internal_host: mail.atlantishq.de
|
||||||
|
smtp_internal_host_port: 8025
|
||||||
smtp_service_user: noreply
|
smtp_service_user: noreply
|
||||||
smtp_service_pass: HISTORY_PURGED_SECRET
|
smtp_service_pass: HISTORY_PURGED_SECRET
|
||||||
|
|
||||||
|
|||||||
@@ -78,3 +78,11 @@
|
|||||||
src: nginx_default.conf
|
src: nginx_default.conf
|
||||||
dest: /etc/nginx/sites-available/default
|
dest: /etc/nginx/sites-available/default
|
||||||
notify: restart nginx
|
notify: restart nginx
|
||||||
|
|
||||||
|
- name: Deploy user passwd config
|
||||||
|
copy:
|
||||||
|
src: dovecot_passwd
|
||||||
|
dest: /var/dovecot/auth/passwd
|
||||||
|
owner: dovecot
|
||||||
|
group: dovecot
|
||||||
|
notify: restart dovecot
|
||||||
|
|||||||
@@ -83,13 +83,13 @@
|
|||||||
smtpServer :
|
smtpServer :
|
||||||
password : "{{ smtp_service_pass }}"
|
password : "{{ smtp_service_pass }}"
|
||||||
replyToDisplayName: ""
|
replyToDisplayName: ""
|
||||||
starttls: "false"
|
starttls: "true"
|
||||||
auth: "true"
|
auth: "true"
|
||||||
replyTo: ""
|
replyTo: ""
|
||||||
envelopeFrom: ""
|
envelopeFrom: ""
|
||||||
from: "{{ smtp_service_user }}@atlantishq.de"
|
from: "{{ smtp_service_user }}@atlantishq.de"
|
||||||
fromDisplayName: ""
|
fromDisplayName: ""
|
||||||
host: "{{ smtp_internal_host }}"
|
host: "{{ smtp_internal_host }}"
|
||||||
port: "25"
|
port: "{{ smtp_internal_host_port }}"
|
||||||
ssl: "false"
|
ssl: "false"
|
||||||
user: "{{ smtp_service_user }}"
|
user: "{{ smtp_service_user }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user