From c9b8c60fbd5ef1ef17262a72da9e7a3a8372bebd 2015-04-10 22:10:57 From: Branko Majic Date: 2015-04-10 22:10:57 Subject: [PATCH] MAR-4: Deploy the SWAKS utility on servers that forward their mails via relay. Useful for testing. --- diff --git a/docs/rolereference.rst b/docs/rolereference.rst index 136026a40c778ce1d2c87f18b06a39c9723fe1ba..7ae99c3633baecb12afe2f609f16efc8aeea440e 100644 --- a/docs/rolereference.rst +++ b/docs/rolereference.rst @@ -751,6 +751,7 @@ The role implements the following: * Installs and configures Postfix. * Purges Exim4 configuration (just in case). * Sets-up aliases for the local recipients. +* Installs SWAKS (utility for testing SMTP servers). Postfix is configured as follows: diff --git a/roles/mail_forwarder/tasks/main.yml b/roles/mail_forwarder/tasks/main.yml index 5ed5ab44c3897767f6530d1860f3d0ec152dfc42..c48110623c21941e79e69623c086d305df52e514 100644 --- a/roles/mail_forwarder/tasks/main.yml +++ b/roles/mail_forwarder/tasks/main.yml @@ -19,3 +19,6 @@ with_dict: local_mail_aliases notify: - Rebuild mail aliases + +- name: Install SWAKS + apt: name="swaks" state=installed