Administrative Details
- Rulesets
- Mailers
- Macros
- Classes
- 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).
No. | built in | Purpose |
0 | yes | Parsing |
1 | yes | Sender rewriting |
2 | yes | Recipient rewriting |
3 | yes | Canonicalization |
4 | yes | Post cleanup |
5 | yes | Local address rewrite (after aliasing) |
1x | no | mailer rules (sender qualification) |
2x | no | mailer rules (recipient qualification) |
3x | no | mailer rules (sender header qualification) |
4x | no | mailer rules (recipient header qualification) |
5x | no | mailer subroutines (general) |
6x | no | mailer subroutines (general) |
7x | no | mailer subroutines (general) |
8x | no | reserved |
90 | no | Mailertable host stripping |
96 | no | Bottom half of Ruleset 3 (ruleset 6 in old sendmail) |
97 | no | Hook for recursive ruleset 0 call (ruleset 7 in old sendmail) |
98 | no | Local part of ruleset 0 (ruleset 8 in old sendmail) |
No. | name | Description |
0 | local, prog | local and program mailers |
1 | [e]smtp, relay | SMTP channel |
2 | uucp-* | UNIX-to-UNIX Copy Program |
3 | netnews | Network News delivery |
4 | fax | Sam Leffler's HylaFAX software |
5 | mail11 | DECnet mailer |
Macro | Description |
A | |
B | Bitnet Relay |
C | DECnet Relay |
D | The local domain -- usually not needed |
E | reserved for X.400 Relay |
F | FAX Relay |
GF | |
H | mail Hub (for mail clusters) |
IF | |
JF | |
KF | |
L | Luser Relay |
M | Masquerade (who you claim to be) |
NF | |
OF | |
PF | |
QF | |
R | Relay (for unqualified names) |
S | Smart Host |
TF | |
U | my UUCP name (if you have a UUCP connection) |
V | UUCP Relay (class {V} hosts) |
W | UUCP Relay (class {W} hosts) |
X | UUCP Relay (class {X} hosts) |
Y | UUCP Relay (all other hosts) |
Z | Version number |
Class | Description |
A | |
B | domains that are candidates for bestmx lookup |
C | |
D | |
E | addresses that should not seem to come from $M |
F | hosts this system forward for |
G | domains that should be looked up in genericstable |
H | |
I | |
J | |
K | |
L | addresses that should not be forwarded to $R |
M | domains that should be mapped to $M |
N | host/domains that should not be mapped to $M |
O | operators that indicate network operations (cannot be in local names) |
P | top level pseudo-domains: BITNET, DECNET, FAX, UUCP, etc. |
Q | |
R | domains this system is willing to relay (pass anti-spam filters) |
S | |
T | |
U | locally connected UUCP hosts |
V | UUCP hosts connected to relay $V |
W | UUCP hosts connected to relay $W |
X | UUCP hosts connected to relay $X |
Y | locally connected smart UUCP hosts |
Z | locally connected domain-ized UUCP hosts |
. | the class containing only a dot |
[ | the class containing only a left bracket |
Diversion | Description |
1 | Local host detection and resolution |
2 | Local Ruleset 3 additions |
3 | Local Ruleset 0 additions |
4 | UUCP Ruleset 0 additions |
5 | locally interpreted names (overrides $R) |
6 | local configuration (at top of file) |
7 | mailer definitions |
8 | DNS based blacklists |
9 | special local rulesets (1 and 2) |
|