${total_rate}

Total rate of all inbound client connections V8.13 and later

When a host connects to the listening sendmail server, the server forks a child copy of itself to handle the connection. Before forking, the server increments the total count of all connections. That count is then used to update the connection rate over time for all connections.

The rate is measured over an interval defined by the ConnectionRateWindowSize option (ConnectionRateWindowSize on page 989), which defaults to 60 seconds. Note that this total rate (the rate for all connections) differs from the client rate (the rate for a particular connection).

The ${total_rate} macro is not used in the standard configuration file but is available for your use in rule sets of your own design.

If you are interested in knowing the rate of connections from individual clients, see the ${client_rate} macro (${client_rate} on page 814).

${clienttotal_rate_rate} is transient. If it is defined in the configuration file or in the command line, that definition is ignored by sendmail. Note that a $& prefix is necessary when you reference this macro in rules (that is, use $&{total_rate}, not ${total_rate}).

Get sendmail, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.