+ unexpected=$(( unexpected + ${#results[@]} ))
+ for miss in ${missing[@]}; do
+ # We expect dns reputation services to go down from time to time, so
+ # we count them separately and alert differently.
+ case $miss in
+ RCVD_IN_DNSWL_MED|DKIMWL_WL_HIGH)
+ missing_dnswl+=1
+ ;;
+ *)
+ unexpected+=1
+ ;;
+ esac
+ done