libravatar: configure postfix to encrypt emails
This commit is contained in:
parent
82539ae00b
commit
7587faded2
1 changed files with 6 additions and 4 deletions
|
@ -22,10 +22,12 @@
|
||||||
- "mod_ssl"
|
- "mod_ssl"
|
||||||
- "letsencrypt"
|
- "letsencrypt"
|
||||||
|
|
||||||
- lineinfile:
|
- name: configure postfix for email encryption
|
||||||
path: /etc/postfix/main.cf
|
- command: "{{ item }}"
|
||||||
state: absent
|
with_items:
|
||||||
regexp: '^relayhost = bastion'
|
- postconf -e 'smtpd_tls_cert_file = /etc/letsencrypt/live/{{ inventory_hostname }}/fullchain.pem'
|
||||||
|
- postconf -e 'smtpd_tls_key_file = /etc/letsencrypt/live/{{ inventory_hostname }}/privkey.pem'
|
||||||
|
- postconf -e 'smtp_use_tls = yes'
|
||||||
|
|
||||||
- git:
|
- git:
|
||||||
repo: https://git.linux-kernel.at/oliver/ivatar.git
|
repo: https://git.linux-kernel.at/oliver/ivatar.git
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue