aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/msmtp-listqueue.sh
blob: cc97c58bf627f5685c6f37d2e2c249104ff229ae (plain) (blame)
1
2
3
4
5
6
7
8
#!/usr/bin/env sh

QUEUEDIR=$HOME/.msmtpqueue

for i in $QUEUEDIR/*.mail; do
	grep -E -s --colour -h '(^From:|^To:|^Subject:)' "$i" || echo "No mail in queue";
	echo " "
done