Re: [exim] GreyListing

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Todd Lyons
Date:  
À: Matt
CC: exim-users
Sujet: 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.

...Todd
--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine