mutt -e 'set content_type="text/plain; charset=utf-8"' -s "Re: $SUBJECT" "$RETURN_PATH";
mark_read "${a}";
echo "Handled '${SUBJECT}'";
+ elif egrep -q '^Subject: Should I build' "$a"; then
+ echo 'ok'| \
+ mutt -e 'set content_type="text/plain; charset=utf-8"' -s "Re: $SUBJECT" "$RETURN_PATH";
+ mark_read "${a}";
+ echo "Handled '${SUBJECT}'";
elif egrep -q '^Subject: Log.+attempted' "$a" &&
egrep -q "ERROR: dependency .* is not available for package .*" "$a"; then
(echo -n 'fail '; egrep "ERROR: dependency .* is not available for package .*" "$a")| \
mutt -e 'set content_type="text/plain; charset=utf-8"' -s "Re: $SUBJECT" "$RETURN_PATH";
mark_read "${a}";
echo "Handled '${SUBJECT}'";
+ else
+ echo "Marking '$SUBJECT' read";
+ mark_read "${a}";
+ echo "Handled '${SUBJECT}'";
fi;
done;