4.22 on
page 120). That macro defaults to 32,768 bytes if you don??™t define it yourself. Beginning
withV8.10 sendmail, th eMaxHeadersLength option has been added as a way to reduce that
limit. The forms of the MaxHeadersLength option are as follows:
O MaxHeadersLength=num ?†? configuration file (V8.10 and later)
-OMaxHeadersLength=num ?†? command line (V8.10 and later)
define(`confMAX_HEADERS_LENGTH??,num) ?†? mc configuration (V8.10 and later)
The num is the maximum total number of bytes you want to allow for all headers combined.
If num is missing, it defaults to zero. If the entire MaxHeadersLength option is missing, the
default is the value of the MAXHDRSLEN compile-time macro. The default for the mc
configuration technique is 32768. If num is less than half of MAXHDRSLEN, the following
error is printed, but the limit set by num is still used:
Warning: MaxHeadersLength: headers length limit set lower than (MAXHDRSLEN/2)
During message processing, sendmail reads all headers into memory. When they become
larger than the limit imposed by this MaxHeadersLength option (or by the MAXHDRSLEN
compile-time macro), the following message is logged:
headers too large (bytes max)
headers too large (bytes max) from sending host during message collect ?†? V8.12 and later
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.
Pages:
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871