Re: [exim] Connection Count

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Connection Count
Marc Perkel wrote:
> Jeremy Harris wrote:
>> Marc Perkel wrote:
>>> Is there a variable where I can read the connection count

[...]
>> I've just done this for myself; can send you the patch if you want?
>> I've not submitted it yet as I want to give it some soak time.

[...]
> Sure - post it here. Maybe others might want to use it too.


--- src/expand.c        (revision 1686)
+++ src.new/expand.c        (working copy)
@@ -463,6 +463,7 @@
   { "sender_rate_period",  vtype_stringptr,   &sender_rate_period },
   { "sender_rcvhost",      vtype_stringptr,   &sender_rcvhost },
   { "sender_verify_failure",vtype_stringptr,  &sender_verify_failure },
+  { "smtp_accept_count",   vtype_int,         &smtp_accept_count },
   { "smtp_active_hostname", vtype_stringptr,  &smtp_active_hostname },
   { "smtp_command",        vtype_stringptr,   &smtp_cmd_buffer },
   { "smtp_command_argument", vtype_stringptr, &smtp_cmd_argument },