cf/README for sendmail 8.12.3

Eric Allman of the Sendmail Consortium

Administrative Details

  1. Rulesets
  2. Mailers
  3. Macros
  4. Classes
  5. M4 Diversions

The following sections detail usage of certain internal parts of the sendmail.cf file. Read them carefully if you are trying to modify the current model. If you find the above descriptions adequate, these should be {boring, confusing, tedious, ridiculous} (pick one or more).

Rulesets

No.built inPurpose
0yesParsing
1yesSender rewriting
2yesRecipient rewriting
3yesCanonicalization
4yesPost cleanup
5yesLocal address rewrite (after aliasing)
1xnomailer rules (sender qualification)
2xnomailer rules (recipient qualification)
3xnomailer rules (sender header qualification)
4xnomailer rules (recipient header qualification)
5xnomailer subroutines (general)
6xnomailer subroutines (general)
7xnomailer subroutines (general)
8xnoreserved
90noMailertable host stripping
96noBottom half of Ruleset 3 (ruleset 6 in old sendmail)
97noHook for recursive ruleset 0 call (ruleset 7 in old sendmail)
98noLocal part of ruleset 0 (ruleset 8 in old sendmail)

MAILERS

No.nameDescription
0local, proglocal and program mailers
1[e]smtp, relaySMTP channel
2uucp-*UNIX-to-UNIX Copy Program
3netnewsNetwork News delivery
4faxSam Leffler's HylaFAX software
5mail11DECnet mailer

MACROS

MacroDescription
A 
BBitnet Relay
CDECnet Relay
DThe local domain -- usually not needed
Ereserved for X.400 Relay
FFAX Relay
GF 
Hmail Hub (for mail clusters)
IF 
JF 
KF 
LLuser Relay
MMasquerade (who you claim to be)
NF 
OF 
PF 
QF 
RRelay (for unqualified names)
SSmart Host
TF 
Umy UUCP name (if you have a UUCP connection)
VUUCP Relay (class {V} hosts)
WUUCP Relay (class {W} hosts)
XUUCP Relay (class {X} hosts)
YUUCP Relay (all other hosts)
ZVersion number

CLASSES

ClassDescription
A 
Bdomains that are candidates for bestmx lookup
C 
D 
Eaddresses that should not seem to come from $M
Fhosts this system forward for
Gdomains that should be looked up in genericstable
H 
I 
J 
K 
Laddresses that should not be forwarded to $R
Mdomains that should be mapped to $M
Nhost/domains that should not be mapped to $M
Ooperators that indicate network operations (cannot be in local names)
Ptop level pseudo-domains: BITNET, DECNET, FAX, UUCP, etc.
Q 
Rdomains this system is willing to relay (pass anti-spam filters)
S 
T 
Ulocally connected UUCP hosts
VUUCP hosts connected to relay $V
WUUCP hosts connected to relay $W
XUUCP hosts connected to relay $X
Ylocally connected smart UUCP hosts
Zlocally connected domain-ized UUCP hosts
.the class containing only a dot
[the class containing only a left bracket

M4 Diversions

DiversionDescription
1Local host detection and resolution
2Local Ruleset 3 additions
3Local Ruleset 0 additions
4UUCP Ruleset 0 additions
5locally interpreted names (overrides $R)
6local configuration (at top of file)
7mailer definitions
8DNS based blacklists
9special local rulesets (1 and 2)