# HG changeset patch # User Augie Fackler # Date 1547636704 18000 # Node ID 6eb4b38fa1ce44eb3a3c29a64e032b891c2285d0 # Parent c6639657b6f37c5e63b0f65210a7273e8fd0827a smailq: add shell launch script to warn on queued messages diff --git a/.shell.d/99.smailq-check.sh b/.shell.d/99.smailq-check.sh new file mode 100644 --- /dev/null +++ b/.shell.d/99.smailq-check.sh @@ -0,0 +1,3 @@ +if [ "$(smailq --list)" != "0 mails in the queue." ] ; then + echo "Warning: queued messages in smailq!" +fi