Look at your logs mail server(the one which answer on tcp port 25) if there's something interesting in it...
Regards,
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/08204b07-6128-416c-b89d-6dcddd41f0d2o%40googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b9f7d451-9c39-5f2f-01d0-a76aeb6e2b96%40lenhof.eu.org.
- hosts:
- localhost
tasks:
- name: Sending an e-mail using Gmail SMTP servers
mail:
host: smtp.gmail.com
port: 587
username: user...@gmail.com
password: your-password
to: recipient-name <recipient-email@domain>
subject: Ansible Report
body: System [[ ansible_hostname ]] has been successfully provisioned.
delegate_to: localhostTo view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAA%3Dr5yedn4WgwpGUiBcY__avQwGW_G2q5WrAUN2VU2Sc4Tj24Q%40mail.gmail.com.
If so, what the logs says ?
I'm not sure you understand what is daemon listening on port 25 ?
Regards,
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAA%3Dr5yedn4WgwpGUiBcY__avQwGW_G2q5WrAUN2VU2Sc4Tj24Q%40mail.gmail.com.