Project

General

Profile

Feature #132

Create script which reports Yahoo temporary deferrals

Added by Deoren Moor almost 3 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
Report - Deferrals
Target version:
Start date:
11/24/2014
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

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.

Associated revisions

Revision 51 (diff)
Added by Deoren Moor almost 3 years ago

[issues #132]
First draft of a script to report temporary deferrals by Yahoo's mail servers.

Revision 52 (diff)
Added by Deoren Moor almost 3 years ago

[issues #132]
Added some documentation comments.

Revision 53 (diff)
Added by Deoren Moor almost 3 years ago

[issues #132]
  • Output Redmine headers and bullets if mode is enabled (it is by default)
  • Fixed log file parsing to only look for queue ids originally present in the file (duh)

Also available in: Atom PDF