Re: [exim] reactive filtering to log files with exim possibl…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Graeme Fowler
Date:  
À: Exim-Users Mailing List
Sujet: Re: [exim] reactive filtering to log files with exim possible?
On Tue, 2012-03-06 at 11:03 -0500, Jeffrey Starin wrote:
> Can Exim be configured to react to log files?


Directly? Not that I am aware of.

> There is talk out there in the internet about other MTAs like Port25
> which has the ability to react in real time to log files such that if a
> log entry contains a Yahoo 421 message, either switch IPs or otherwise
> shut down the queue.
>
> This sounds like a great idea and I'm wondering if Exim has the muscle
> to do this?


You can do this with retry rules like the following example:

yahoo.com rcpt_421 F,24h,6h

That is - for all messages for recipients in the yahoo.com domain which
receive a 421 response to a RCPT command, park them in the queue for 24
hours and only try every 6 hours.

I highly recommend familiarising yourself with the retry configuration:

http://www.exim.org/exim-html-current/doc/html/spec_html/ch32.html

It will very likely do exactly what you need without any external
"assistance".

Graeme