Re: [exim] Connection age feature?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Graeme Fowler
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Connection age feature?
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