$=t

List trusted users V8.7 and later

Trusted users are those who can run sendmail with the -f command-line switch to specify who sent the message, without generating a warning. Prior to V8.6 sendmail, such users had to be listed with the T command (Declare trusted users (ignored V8.1 through V8.6) on page 174). That command was ignored in V8.1 through V8.6, and with those versions anyone could use the -f switch. Beginning with V8.7 sendmail, the T command was reintroduced, but it now causes the list of trusted users to be added to the class $=t. Now, any user who uses the -f switch and who is not listed in class $=t will cause the following error message (X-Authentication-Warning: on page 1167) to be included in the outgoing mail message (if the PrivacyOptions option, PrivacyOptions on page 1065, has authwarnings set):

X-Authentication-Warning: user set sender to other using -f

See FEATURE(use_ct_file) (FEATURE(use_ct_file) on page 643) for an easy way to add users to this class using the m4 technique.

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.