mysociety/alaveteli — pull request #656 by mlandauer (2012-10-10 06:15:30+00:00)
Title: Add Postfix support for log viewing in admin console

Wanted to open this pull request early for feedback.

What's done:
* `EximLog.load_file` now automatically detects whether the file is a postfix or an exim log file and does the sensible thing.
* Updated `script/load-exim-logs` so that you can configure the path to the log files in `config/general.yml`
* Updated `script/load-exim-logs` so that it tries to load the 3 most recently changed files (irrespective of whether they're named with a date)

What's not done (yet):
* Renaming of `EximLog` and `EximLogDone` tables and models to better reflect that it's not exim specific
* `EximLog.check_recent_requests_have_been_sent` not updated with postfix support
More cleanup on `EximLog` code and tests generally