Create script which reports Yahoo temporary deferrals
I've been using this bit of shell scripting to capture the mail "conversations" which are temporarily deferred by Yahoo:
for queue_id in $(cat /var/log/mail/mail.log.1 | grep '\[GL' | grep -Eo ': [A-Z0-9]+: ' | sed -r 's/\s|://g' | sort | uniq); do echo -e "\n" && grep $queue_id /var/log/mail/mail.log.1; done
I can't speak to its efficiency, but it seems to work well enough for me. My goal is to take that and create a proper shell script which kicks out the same results but also reports the affected aliases. To make it easier to review I'll probably pass it through
ccze to colorize the output.
First draft of a script to report temporary deferrals by Yahoo's mail servers.