Re: [exim] GreyListing

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Matt
Data:  
Para: exim-users
Assunto: Re: [exim] GreyListing
> On Thu, Aug 30, 2012 at 9:30 AM, Matt <matt.mailinglists@???> wrote:
>> I am using this greylisting implementation.
>> http://wiki.exim.org/DbLessGreyListingRun
>>
>> Works great. I want to extend the defer period for IP's that fail
>> "verify = reverse_host_lookup" from 3 minutes too an hour. How would
>> I do that?
>
> Change the correct variable in the acl code. Quoting the docs that you
> referenced:
>
> ===========
> defer log_message = greylisted
> condition = ${if exists{$acl_m_greyfile}\
> {${if >{${eval:$tod_epoch-\
> ${extract{mtime}{${stat:$acl_m_greyfile}} }}\
> }{180}{0}{1}}\
> }{${if eq{${run{/usr/bin/touch $acl_m_greyfile} }}{}{1}{1} }} }
> message = Deferred: Temporary error, please try again later
>
> Here the first sg does the same as $cidr_mask=24 in Michael's script,
> 180 is defer timeout in seconds.
> ==============
>
> So all you have to do is increase the 180 (60 sec/min * 3 min) to 3600
> (60 sec/min * 60 min and restart exim.


Yes, that is simple. But not what I am asking. I ONLY want to grey
list for 60 minutes if the sending IP lacks a matching forward and
reverse DNS entry.