Prev | Current Page 503 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


Note that this example uses V8.10 syntax. Next, we will describe the access database
using the old V8.9 syntax, and then describe the V8.10 and V8.12 updates.
7.5.1 Enabling the access Database Generally
To enable use of this access database, declare it in your mc configuration file like this:
FEATURE(`access_db??)
This enables use of the access database, and enables the default database type and
path as:
hash /etc/mail/access ?†? V8.11 and earlier
hash -T /etc/mail/access ?†? V8.12 and later
Note that with V8.12 and later a -T has been added to specify that temporary
errors should return a 4xy SMTP code.
If you wishto use a different database type or pathname, you can do so by providing
an appropriate argument to the FEATURE(access_db):
FEATURE(`access_db??, `hash -o /etc/mail/access??) ?†? V8.11 and earlier
FEATURE(`access_db??, `hash -o -T /etc/mail/access??) ?†? V8.12 and later
* Another feature, FEATURE(blacklist_recipients), allows recipients to also be rejected. Yet another,
FEATURE(delay_checks), allows even finer tuning based on the desire of individual recipients.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
278 | Chapter 7: How to Handle Spam
Here, we add the -o switch (?§23.3.10 on page 889) to the definition to make the
existence of the /etc/mail/access database file optional.


Pages:
491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515
dieta light Connie Talbot zarządzanie nieruchomościami życzenia dakolen