RejectLogInterval

Limit how often high load-average warnings should be logged V8.13 and later

Prior to V8.13, whenever the load level on a machine became greater than the setting for the RefuseLA option (RefuseLA on page 1078), further inbound connections would be refused, and the following warning message would be logged:

rejecting connections on daemon name: load average=load

Beginning with V8.13 sendmail, you may now specify how often additional warnings should be logged. Note that the same message is logged when refusing begins, but if connections continue to be refused, you will be notified with a different message, to aid you in taking corrective actions.

The RejectLogInterval option tells sendmail how often (at what intervals) it should log a message saying that connections are still being refused. The RejectLogInterval option is declared like this:

O RejectLogInterval=interval                      ← configuration file (V8.13 and
later)
-ORejectLogInterval=interval                      ← command-line (V8.13 and later)
define(`confREJECT_LOG_INTERVAL', `interval')     ← mc configuration (V8.13 and
later)

Here, interval is of type time. The default (if this option is omitted) is three hours. The default units are hours. For example, both of following set the periodic logging interval to one hour:

define(`confREJECT_LOG_INTERVAL', `60m')
define(`confREJECT_LOG_INTERVAL', `1')

When connections are first refused because the load level is too high, the following warning is logged, as before:

rejecting connections on daemon name: load ...

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.