Name
RecipientFactor
Synopsis
Not all messages need to be treated equally. When sendmail processes the messages in its queue, it sorts them by priority.[57] The priority that is given to a message is calculated once, when it is first created, and adjusted (incremented or decremented) each time it is processed in the queue. You can think of priority as a cost, where mail with the lowest priority number (lowest cost) is handled first. The formula for the initial calculation is:
priority = nbytes - (class * z) + (recipients * y)
The items in this calculation are as follows:
priority
Priority of the message when it was first created.
nbytes
Number of bytes in the total message, including the header and body of the message.
class
Value given to a message by the
Precedence
: line in the header of the message. The string following thePrecedence
: is usually eitherfirst-class
,special-delivery
,junk
,bulk
, orlist
. That string is converted to a numeric value determined by theP
command (Section 25.10) in the sendmail.cf file.z
Value given the
ClassFactor
option (ClassFactor) and a weighting factor to adjust the relative importance of theclass
.recipients
Number of recipients to whom the message is addressed. This number is counted after all alias expansion.
y
Value given this
RecipientFactor
option and weighting factor to adjust the relative importance of the number of recipients.
The forms of the RecipientFactor
option are as
follows:
O RecipientFactor=factor ← configuration file (V8.7 and later) ...
Get Sendmail, 3rd 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.