diff --git a/files/update_clients.sh b/files/update_clients.sh index b22265c..26f60bb 100644 --- a/files/update_clients.sh +++ b/files/update_clients.sh @@ -6,6 +6,7 @@ rm /etc/postfix/allowed_clients touch /etc/postfix/allowed_clients chown postfix.postfix /etc/postfix/allowed_clients chmod o-rwx /etc/postfix/allowed_clients +chmod ug+rw /etc/postfix/allowed_clients for client in "${clients[@]}" do diff --git a/tasks/configure.yml b/tasks/configure.yml index 41a62f2..93d166b 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -173,7 +173,7 @@ service: name: saslauthd state: started - enable: true + enabled: true - name: Ensure CRON job to update clients exists cron: @@ -181,12 +181,13 @@ job: '/etc/postfix/scripts/update_clients.sh' user: root minute: '20' + hour: '*/2' - name: Ensure cron to check if authdaemond is stuck exists cron: name: check authdaemond stuck job: /etc/postfix/scripts/authdaemond_check_stuck.sh - minute: '*/5' + minute: '*/15' state: absent - name: Resolve host names