Prev | Current Page 494 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


Note that you should not use this FEATURE(relay_based_on_MX) if you also use the -z
switch with the bestmx database map (?§23.7.3 on page 902).
Also note that relaying for MX purposes is different from relaying for the % hack (see
?§7.4.2 on page 270).
7.4.5 FEATURE(relay_entire_domain)
By default, only hosts listed in the access database (?§7.5 on page 277) with the righthand
side keyword RELAY, or hosts that are listed with the RELAY_DOMAIN macro
(?§7.4.1.1 on page 269), are allowed to relay mail through the local host. You can
allow all the hosts in your domain to relay mail through the mail server by listing
them there, but it is much easier to use the shorthand method provided by the
FEATURE(relay_entire_domain):
FEATURE(`relay_entire_domain??)
When you define this feature, you enable any host listed in the class $=m (which contains
your domain; ?§22.6.7 on page 872) to relay mail through the local host. Note,
however, that if your host is named something such as bob.gov, your host and
domain will be the same. Whatever you do, never put a top-level domain such as
gov, or com, or de into $=m, or you will find your site relaying mail for any host in that
top-level domain.
Note that $=m should not be used to have mail accepted as local under a variety of
domains. Instead, use the FEATURE(domaintable) (?§17.8.16 on page 621).


Pages:
482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506
gry on line życzenia ślubne gustowne meble katowice felgi aluminiowe poznań katalog firm