mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 10:41:37 +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
|
||||
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_pass: HISTORY_PURGED_SECRET
|
||||
|
||||
|
||||
@@ -78,3 +78,11 @@
|
||||
src: nginx_default.conf
|
||||
dest: /etc/nginx/sites-available/default
|
||||
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 :
|
||||
password : "{{ smtp_service_pass }}"
|
||||
replyToDisplayName: ""
|
||||
starttls: "false"
|
||||
starttls: "true"
|
||||
auth: "true"
|
||||
replyTo: ""
|
||||
envelopeFrom: ""
|
||||
from: "{{ smtp_service_user }}@atlantishq.de"
|
||||
fromDisplayName: ""
|
||||
host: "{{ smtp_internal_host }}"
|
||||
port: "25"
|
||||
port: "{{ smtp_internal_host_port }}"
|
||||
ssl: "false"
|
||||
user: "{{ smtp_service_user }}"
|
||||
|
||||
Reference in New Issue
Block a user