if [ -z "$BASH_VERSION" ]; then echo "error: shell is not bash" >&2; exit 1; fi
-source /a/bin/errhandle/err
+source /a/bin/bash-bear-trap/bash-bear
shopt -s nullglob
shopt -s dotglob
# temp disabled: x2wg kwwg
# this list duplicated in brc2 ralerts
-for h in bk je li frodo x3wg kdwg sywg; do
+for h in bk je li x3wg kdwg sywg; do
statedir=/b/bash_unpublished/mailq-state
statefile=$statedir/$h
[[ -d $statedir ]] || continue