Difference between revisions of "Header too Large Error"

From Roaring Penguin
Jump to: navigation, search
(Created page with "To fix this you can increase the maximum size. 1. Edit the file /etc/mail/sendmail.mc and make changes here ONLY. 2. In the section containing the define('conf... lines add ...")
 
 
Line 17: Line 17:
  
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
[[category:All]][[category:Security]][[category:Management]]
+
[[category:All]][[category:Errors]][[category:Management]]

Latest revision as of 09:30, 16 May 2017

To fix this you can increase the maximum size.

1. Edit the file /etc/mail/sendmail.mc and make changes here ONLY.

2. In the section containing the define('conf... lines add the line

  define(`confMAX_HEADERS_LENGTH', 262144)dnl

3. Then create the actual Sendmail configuration file

  etc/mail/sendmail.cf:
  make -C /etc/mail

4. Load the changes into Sendmail:

  /etc/init.d/sendmail reload