For those hosts, we recommend
you tune acceptance or rejection of unqualified addresses on a port-by-port
basis.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
7.5 The access Database | 277
The DaemonPortOptions option u modifier (?§24.9.27.7 on page 996), when set, has the
same effect as declaring this feature for the given single port. That is, unqualified
addresses are accepted on a port-by-port basis, without the need to declare this
feature.
The DaemonPortOptions option f modifier (?§24.9.27.7 on page 996), when set, tells
sendmail to reject unqualified addresses received on this port, even if this feature is
declared. That is, you accept unqualified addresses on all ports by declaring this feature,
and then reject them on a port-by-port basis with this f keyword.
7.5 The access Database
The access database was introduced in V8.9 sendmail, and improved upon in V8.10.
It provides a single, central database withrules to accept, reject, and discard messages
based on the sender name, address, or IP address. It is enabled with the
FEATURE(access_db).*
For example, consider an access database with the following contents:
From:postmaster@spam.com OK
From:spam.com REJECT
Here, mail from postmaster at the site spam.com is accepted, whereas mail from any
other sender at that site is rejected.
Pages:
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514