Prev | Current Page 495 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
7.4 Relaying | 273
7.4.6 FEATURE(relay_hosts_only)
Normally, relaying is based on the domains listed with the RELAY_DOMAIN mc macro
(?§7.4.1.1 on page 269) or in the file specified by the RELAY_DOMAIN_FILE mc macro
(?§7.4.1.2 on page 269) or on the domains allowed to relay in the access database.
When sendmail checks to see whether a domain should be allowed to relay, it interprets
eachdomain as a top-level domain. For example, if RELAY_DOMAIN listed the following
entry, or if the RELAY_DOMAIN_FILE file contained the following entry:
your.domain
all the following domains would also match that single domain entry:
sub.your.domain
a.very.deep.sub.your.domain
As an alternative, you can have sendmail interpret eachname as the literal name of a
host. If you prefer this second method, you can enable it by declaring the relay_
hosts_only feature like this:
FEATURE(relay_hosts_only)
Withth is feature declared, sendmail will compare the sending host to the list of
hosts, and to hosts looked up in the access database, on a host-by-host basis. For
example, if the RELAY_DOMAIN defined the following:
sub.domain
only a host named sub.domain would be allowed to relay. Another host??”say,
hostB.sub.domain??”would not be allowed to relay unless it too was listed, or OK??™d
by the access database.


Pages:
483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507
dieta light życzenia z okazji urodzin dakolen katalog firm Jaki wybrać olej