So, avoid placing
rules such as these in your submit.cf file.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
1138 | Chapter 25: The H (Headers) Configuration Command
The last rule looks for nothing between the angle braces, which means there was no
Message-Id: header in the message. The $#error causes the message to be rejected
with the line error 553 5.7.0 Missing Header.
You probably should not use these rules as is because email that originates internally
might not have a Message-Id: header and you will need to allow for such mail.
25.6 Header Behavior in conf.c
The sendmail program has a built-in understanding of many header names. How
those names are used is determined by a set of flags in the source file conf.c supplied
with the source distribution. Site policy determines which flags are applied to which
headers, but in general, conf.c applies them in the way that is best suited for almost
all Internet sites. If you desire to redefine the flags for a particular header name, look
for the name??™s declaration in the C-language structure definition HdrInfo in conf.c. Be
sure to read the comments in that file. Changes to header flags represent a permanent
site policy change and should not be undertaken lightly. (We illustrate this process
after explaining the flags.
Pages:
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052