move newmail script to dovecot tasks; add changepw script; fix quota-warning script
[ansible.git] / roles / email / tasks / postfix.yml
index fb8f703ad41716c02993e3c347ad60800ad730c4..67e459d738aa45d9a16fe5bbcb3578357e8b1ed6 100644 (file)
     dest: /etc/cron.daily/check-for-local-mail
     src: files/check-for-local-mail
     mode: u=rwx,g=rx,o=rx
     dest: /etc/cron.daily/check-for-local-mail
     src: files/check-for-local-mail
     mode: u=rwx,g=rx,o=rx
-# tools
-- block:
-  - name: create newmail dir
-    file: path=/root/newmail state=directory
-  - name: install newmail script
-    copy:
-      dest: /root/newmail/newmail
-      src: files/newmail/newmail
-      mode: u=rwx,g=rx,o=rx
-  - name: install newmail templates
-    copy:
-      dest: /root/newmail/templates.py
-      src: files/newmail/templates.py
-  when: postfix.dovecot is defined