mailcow.yml aktualisiert
This commit is contained in:
parent
593e5bdef7
commit
26d9a792bd
24
mailcow.yml
24
mailcow.yml
@ -400,18 +400,18 @@
|
||||
z.mailspike.net
|
||||
zombie.dnsbl.sorbs.net"
|
||||
|
||||
for list in $rbllist
|
||||
do
|
||||
rblopts="$opts -s $list"
|
||||
done
|
||||
# only run at 6:2Xh
|
||||
if date +%H:%M | egrep -q "^06:2"
|
||||
then
|
||||
if ! rblcheck $rblopts -- {{inventory_hostname}} mail.{{inventory_hostname}} $(curl -s https://checkipv4.dedyn.io) $(curl -s https://checkipv6.dedyn.io) >${g_tmp}/rbloutput 2>&1
|
||||
then
|
||||
g_echo_error "$(grep -v ' not listed by ' ${g_tmp}/rbloutput)"
|
||||
fi
|
||||
fi
|
||||
#for list in $rbllist
|
||||
#do
|
||||
# rblopts="$opts -s $list"
|
||||
#done
|
||||
## only run at 6:2Xh
|
||||
#if date +%H:%M | egrep -q "^06:2"
|
||||
#then
|
||||
# if ! rblcheck $rblopts -- {{inventory_hostname}} mail.{{inventory_hostname}} $(curl -s https://checkipv4.dedyn.io) $(curl -s https://checkipv6.dedyn.io) >${g_tmp}/rbloutput 2>&1
|
||||
# then
|
||||
# g_echo_error "$(grep -v ' not listed by ' ${g_tmp}/rbloutput)"
|
||||
# fi
|
||||
#fi
|
||||
backup: yes
|
||||
validate: /bin/bash -n %s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user