* Accepting and rejecting based on the user part of an address require that you also declare the
FEATURE(blacklist_recipients) (?§7.5.5 on page 284).
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
286 | Chapter 7: How to Handle Spam
One reason to check the SMTP RCPT To: address first might be to allow mail from a
spam site to be delivered to a specific local user, but still block mail from that site for
all other users. Another reason might be to block mail from a spam site for a specific
user, but allow it to be delivered to all others. You can tune the access database to do
one (but only one) of these two things by defining the FEATURE(delay_checks) withan
extra argument that must be one, and only one, of two possible lowercase words:
FEATURE(access_db)
FEATURE(`delay_checks??, `friend??) ?†? this one or
FEATURE(`delay_checks??, `hater??) ?†? this one, but not both
When the extra argument is friend, you can allow mail from a spam site to a specific
local user, while still blocking mail from that site for all other users. When the extra
argument is hater, you can block mail from a spam site for a specific user, while
allowing it to be delivered to all other users. If the extra argument is neither (or was
uppercase), the following error will be printed when you build your configuration
file, and that file will be incomplete:
*** ERROR: illegal argument bad word here for FEATURE(delay_checks)
The check_rcpt (?§7.
Pages:
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530