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 z.mailspike.net
zombie.dnsbl.sorbs.net" zombie.dnsbl.sorbs.net"
for list in $rbllist #for list in $rbllist
do #do
rblopts="$opts -s $list" # rblopts="$opts -s $list"
done #done
# only run at 6:2Xh ## only run at 6:2Xh
if date +%H:%M | egrep -q "^06:2" #if date +%H:%M | egrep -q "^06:2"
then #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 # 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 # then
g_echo_error "$(grep -v ' not listed by ' ${g_tmp}/rbloutput)" # g_echo_error "$(grep -v ' not listed by ' ${g_tmp}/rbloutput)"
fi # fi
fi #fi
backup: yes backup: yes
validate: /bin/bash -n %s validate: /bin/bash -n %s