From 593e5bdef7d22bca0c9426d4a905bda594bec493 Mon Sep 17 00:00:00 2001 From: olli Date: Sat, 30 Sep 2023 08:23:14 +0200 Subject: [PATCH] mailcow.yml aktualisiert --- mailcow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mailcow.yml b/mailcow.yml index eb26525..60bb035 100644 --- a/mailcow.yml +++ b/mailcow.yml @@ -402,12 +402,12 @@ for list in $rbllist do - opts="$opts -s $list" + rblopts="$opts -s $list" done - # only run al 6:2Xh + # only run at 6:2Xh if date +%H:%M | egrep -q "^06:2" then - if ! rblcheck $opts -- {{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 g_echo_error "$(grep -v ' not listed by ' ${g_tmp}/rbloutput)" fi