diff options
Diffstat (limited to 'roles/amavis')
-rw-r--r-- | roles/amavis/tasks/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/amavis/tasks/main.yml b/roles/amavis/tasks/main.yml index c061d09..d4298b8 100644 --- a/roles/amavis/tasks/main.yml +++ b/roles/amavis/tasks/main.yml @@ -30,6 +30,16 @@ - Restart ClamAV - Restart Amavis +- name: Add an 'amavis' alias + lineinfile: dest=/etc/aliases create=yes + regexp="^amavis{{':'}} " + line="amavis{{':'}} root" + +- name: Compile the static local Postfix database + postmap: cmd=postalias src=/etc/aliases db=cdb + owner=root group=root + mode=0644 + - name: Create directory /var/lib/dkim file: path=/var/lib/dkim state=directory |