Re: [exim] Connection age feature?

Top Pagina
Delete this message
Reply to this message
Auteur: Marc Perkel
Datum:  
Aan: exim-users@exim.org >> \"'exim-users@exim.org'\"
Onderwerp: Re: [exim] Connection age feature?


On 7/14/2010 11:41 AM, Graeme Fowler wrote:
> On Wed, 2010-07-14 at 09:02 -0700, Marc Perkel wrote:
>
>> Is there a variable that returns the number of seconds the connection
>> has been open?
>>
> No.
>
> However in the connect ACL you could set a connection variable to hold
> the value of $tod_epoch (or one of the variants) and then check against
> that when the connection is closed.
>
> Note that this is unlikely to be reliable, because all manner of things
> could cause the connection to be open for a long time - and at least 50%
> of those reasons are at your end.
>
> Graeme
>



It works. And most everything that takes more than 30 seconds to reach
the data acl is spam (that not a large message and when load levels are
normal) It does seem to be somewhat useful in detecting spam in
combination with other factors.