Prev | Current Page 469 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

9.45 on page 824).
Note that check_rcpt rule set rules apply only to mail that arrives via SMTP. If your
site submits mail using SMTP, you might find locally originating mail being wrongly
rejected. If yours is sucha site, you can add the following rules to Local_check_rcpt,
which should fix the problem:
SLocal_check_rcpt
R $* $: $&{client_addr}
R 127.0.0.1 $# OK
7.1.4 The check_eom Rule Set
The check_eom rule set (V8.14 and later) is called after the terminating dot is received
from the sending client, but before the xxfi_eom entry (?§26.6.9 on page 1215) into
any Milters is called. The check_eom rule set is called only if it exists in the configuration
file; otherwise, it is skipped. When it is called, its workspace is passed an ASCII
representation of an unsigned integer which represents the size of the message
(header lines and body) in bytes (characters). This size is the same as the value stored
in the ${msg_size} macro (?§21.9.69 on page 835).
The check_eom rule set can be used to validate the size of the message, but it does not
have to be used in that way. Instead, you might, for example, have a policy that
requires only one recipient per message. One way to use the check_eom rule set to
enable this policy might look like the following:
* Actually, $#anything will have the same effect, but you should use $#OK only to remain compatible with
future releases of sendmail.


Pages:
457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481
doktorat lampy ogrodowe określić zakłady bukmacherskie Wczasy nad morzem