Author: Jeffrey Starin Date: To: Exim-Users Mailing List Subject: Re: [exim] reactive filtering to log files with exim possible?
On 3/7/2012 12:05 PM, Graeme Fowler wrote: > 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
>
> My apologies: this information is contained in the "retry" section of
exim.con