The second rule rejects anything to fax in any of our local
domains (the $=w). A recipient address of fax at any other domain will pass through
these rules and be accepted:
RCPT To:
553 5.1.3 ... cannot send mail to fax
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
258 | Chapter 7: How to Handle Spam
Other possible uses for this Local_check_rcpt rule set include:
??? Creating a special bounce-handling machine that accepts all bounced mail, then
logs and discards it
??? Creating a special performance-testing blackhole machine that accepts all outside
mail and silently discards it
Note that if this Local_check_rcpt rule set returns $#OK,* all subsequent checks with
the check_rcpt rule set will be suppressed:
SLocal_check_rcpt
R $* $# OK skip check_rcpt rule set checks
But if it returns $@OK, further checks with the check_rcpt rule set are processed (such
as looking up the user and host parts in the access database, and suchas validating
that the host part is local):
SLocal_check_rcpt
R $* $@ OK allow check_rcpt rule set checks
If you need to base a decision to reject mail on both the sender and the recipient, you
can either use the check_compat rule set described next, or design your own rules for
this rule set using $&f (?§21.
Pages:
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480