mailcow.yml aktualisiert

This commit is contained in:
olli 2023-09-30 08:24:59 +02:00
parent 593e5bdef7
commit 26d9a792bd

View File

@ -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