Fix permissions and reduce freq of crons
This commit is contained in:
parent
ad06965f5e
commit
33b0e38391
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue