7.0 $: "553 Subject too long"
The LOCAL_CONFIG part of this mc file contains two configuration commands.
The first declares an arith database map (?§23.7.1 on page 898) named compute. Th e
second tells sendmail to screen all Subject: headers using the ScreenSubject rule set.
The LOCAL_RULESETS part of this mc file contains a single rule set, the
ScreenSubject rule set, which has two rules. The first rule uses the compute database
map to compare the value in the ${hdrlen} macro with the constant 200. The l asks
whether 200 is less than the value in ${hdrlen}. If it is, this rule will return TRUE in the
workspace. Otherwise, it will return FALSE.
The second rule says that if the first rule returned TRUE (200 is less than the header??™s
length, or the header??™s length is greater than 200), reject the message.
25.5.2 H* a Default for All Headers
The preceding two sections have shown it is possible to screen specific headers for
properties to accept or reject. There will be times, however, when you might wish to
screen all headers that do not have their own rule sets. Using an * in place of the
header name provides just such a mechanism:
H*: $>ScreenAll
The * tells sendmail to pass all headers, except those that have their own H configuration
line rule set, to the ScreenAll rule set. Use $>+ instead of $>, if you want to
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.
Pages:
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046