Relaying
Promiscuous relaying is the process of accepting email from outside your site and then transmitting it to another host also outside your site. Hosts that relay are quickly discovered by spam programs, and used to mask the identity of the originating spam site. Prior to V8.9, promiscuous relaying was allowed by default. Beginning with V8.9, promiscuous relaying is turned off by default.
In place of default relaying, V8.9 and above
sendmail provides a variety of features, macros,
and databases that allow you to relay in a variety of manners. The
access database (Section 7.5)
provides a way to relay on a host-by-host, or network basis. Adding
domains to the class $=R
($=R) is another method. In this section we
describe features that allow you to tune relaying to your taste.
Table 7-2 lists the features available as of
V8.12.
Feature |
§ |
Description |
|
Screen addresses and set policy | |
|
Allow %-hack relaying | |
|
Allow all relaying | |
|
Relay for any site for which you are an MX server | |
|
Relay based on $=m | |
|
Interpret domains in relay-domains, and access database, as hosts | |
|
Relay if SMTP MAIL domain is in $=w | |
|
Relay if SMTP MAIL address is RELAY in access database, and provided the entry is properly tagged. ... |
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.