Browse Source

ansible-playbooks/forward.yml: send test mail to ssl-tools.net

Fabian Peter Hammerle 4 years ago
parent
commit
10fcb3a09f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      ansible-playbooks/forward.yml

+ 5 - 0
ansible-playbooks/forward.yml

@@ -141,3 +141,8 @@
       published_ports: ['25:25']
       restart_policy: unless-stopped
       restart: '{{ config.changed or virtual_alias_map.changed or smtpd_cert.changed }}'
+  - name: send test mail
+    command: docker exec postfix sendmail check@ssl-tools.net
+  - name: ssl-tools test url
+    debug:
+      msg: 'https://ssl-tools.net/mailservers/{{ hostname }}'