---

- name: install postfwd
  pacman: name=postfwd state=present

- name: install postfwd.cf
  template: src=postfwd.cf.j2 dest=/etc/postfwd/postfwd.cf owner=postfwd group=root mode=0600
  notify:
    - reload postfwd

- name: start and enable postfwd
  service: name=postfwd enabled=yes state=started
