[exim] Parsing Spool Files

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Matt
Dátum:  
Címzett: exim-users
Tárgy: [exim] Parsing Spool Files
Looking at format of spool files.

Format of spool files:
http://www.exim.org/exim-html-3.20/doc/html/spec_56.html

What I would like to do is parse all the Header files and count the
number of recipients that are in the Queue for every "host_address"
and add them up. I would like to do this every 15 minutes and defer
messages from any IP that has over 50 recipients in the queue due to
delivery issues. Not wanting to reinvent the wheel but is there any
script out there already that does this?

Perhaps there is an easier way to do this? I want a count of how many
undelivered recipients in the queue for each "host_address" that has
messages in the queue.