My build is courier 0.37.3.
I have applied a patch to submit.C to allow a single header to reach the
headerlimit (100000) as suggested by Alexei Batyr.
if (l > headerlimit/* || l > 5000*/) (line 1023)
This has always worked beautifully in the past with previous versions
allowing our company to send to multiple addresses in one message. Now with
0.37.3 i find other issues. Initially i was getting the error "431 Too many
Recipients".
I got over that by employing a BOFH filter for maximum number of recipients
per message. That also worked great but know if i try to send to everyone in
my address book (Now has reached some 300 contacts) i get the following
error:
"534 Message header size, or recipient list, exceeds policy limit."
Now i know its not the Recipient list (because of the bofh filter), and i
know its not the header size (default is 100000, my entire message is only
20480 bytes and even if i increase the value of headerlimit in submit.C,
regenerate the rpm and reinstall it still fails).