This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
294 | Chapter 7: How to Handle Spam
If the offending site continues to send SMTP commands, eachcommand will be
rejected with the following:
554 5.5.0 Command rejected
But note that beginning with V8.14, greet_pause will be called only if the connection
has not already been rejected. Prior to V8.14, greet_pause was called whether
the connection was already rejected or not.
The FEATURE(greet_pause) may also take advantage of the access database. To do so,
the FEATURE(greet_pause) must be declared after the FEATURE(access_db) (?§7.5 on
page 277) is declared. If greet_pause is declared before access_db (or if access_db is
not declared), the access database cannot be used with this feature.
When the access database is enabled, sendmail looks up the connecting host in the
access database just before it begins to wait. First, the hostname (as taken from the
${client_name} macro; ?§21.9.21 on page 812) is looked up to see whether the canonical
hostname is in the database. Then, the host part (to the left of the dot) is recursively
stripped to see whether the domain part is listed in the database
(host.sub.domain, then sub.domain, then domain). If nothing matches, the same lookups
are performed for the client??™s IP address (as taken from the ${client_addr}
macro; ?§21.
Pages:
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545