dotfiles/scripts/prefix/bin/msmtp-listqueue
2017-03-14 15:18:28 +01:00

8 lines
167 B
Bash
Executable file

#!/bin/sh
QUEUEDIR=$HOME/.msmtpqueue
for i in $QUEUEDIR/*.mail; do
egrep -s --colour -h '(^From:|^To:|^Subject:)' "$i" || echo "No mail in queue";
echo " "
done