Relays
A relay is a rule that sends all of one type of mail to a specific destination. One example is email fax transmissions. Clearly, even though local mail should be delivered locally, mail to the pseudouser fax should always be sent to a special fax-handling machine.
The complete list of relays supported by the V8 sendmail mc technique is shown in Table 4-4.
|
Relay |
§ |
Version |
Description |
|
BITNET_RELAY |
V8.1 and above |
The BITNET relay | |
|
DECNET_RELAY |
V8.7 and above |
The DECnet relay | |
|
FAX_RELAY |
V8.6 and above |
The FAX relay | |
|
LOCAL_RELAY |
V8.1 and above |
Relay for unqualified users | |
|
LUSER_RELAY |
V8.7 and above |
Relay for unknown local users | |
|
MAIL_HUB |
V8.6 and above |
All local delivery on a central server | |
|
SMART_HOST |
V8.6 and above |
The ultimate relay | |
|
UUCP_RELAY |
V8.1 and above |
The UUCP relay |
All relays are declared in the same fashion. For example:
define(`LOCAL_RELAY',`agent:host')Here, agent is the name of a delivery
agent to use, and host is the name of the
machine to which all such mail will be relayed. If
agent: is missing, it defaults to a
literal relay:.
If the host is listed under a domain that
uses wildcard MX records (Section 9.3.4), you should
specify it with a trailing dot, as, for example:
define(`LOCAL_RELAY', `smtp:relay.sub.domain.')
↑trailing dotIn Section 19.5 we deal with the flow of rules
through the parse rule set ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access