Browse Source

end to end, part 1

pull/1/head
theonlydoo 9 years ago
parent
commit
b1d82c5000
2 changed files with 7 additions and 5 deletions
  1. +3
    -0
      roles/mail/handlers/main.yml
  2. +4
    -5
      roles/mail/tasks/main.yml

+ 3
- 0
roles/mail/handlers/main.yml View File

@ -1,4 +1,7 @@
- name: restart amavis
service: name=amavis state=restarted
- name: restart saslauthd
service: name=saslauthd state=restarted

+ 4
- 5
roles/mail/tasks/main.yml View File

@ -105,13 +105,12 @@
copy: src=etc-amavis-conf.d-50-user dest=/etc/amavis/conf.d/50-user
- name: Virus repository
shell: mkdir /var/spool/virusmails
- name: chown
shell: chown amavis:amavis /var/spool/virusmails
file: path=/var/spool/virusmails state=directory owner=amavis group=amavis
- name: update SA
shell: sa-update -D
notify: restart amavis
- name: Config SA
copy: src=etc-default-spamassassin dest=/etc/default/spamassassin

Loading…
Cancel
Save