> 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.
Was really wandering if there was an easier way then parsing files.
Perhaps an exim queue command.
http://serversitters.com/exim-mail-queue-commands.html
Just not finding anything that lists host_address. Am I missing something?