>> The default maximum total header size is about 100Kb. By comparison,
>> SPF's contribution are infinitessimal.
>
> True, but the default maximum individual header size is about 5Kb.
>
> I run into this problem often enough (usually due to someone sending an
> email to their entire address book), that I make it a habit to always
> remove this limit on my courier installations.
>
> I don't have a patch, but it's only a one line change.
>
> Edit courier/submit.C and change this line:
>
> if (l > headerlimit || l > 5000)
>
> to this:
>
> if (l > headerlimit)
>
> And then rebuild the rpms.
>
> Note - The original line shown above came from memory as I don't have
> the unmodified source handy. It may not be exactly right, but if you
> open the file and search for "headerlimit", you should find it on the
> second match.
>
> --
> Bowie
>
Found it, and patched it!
l=line.GetLength() + header.GetLength();
if (l > headerlimit || l > 5000)
headercnt=0;
Why did developers put this limit on the mail header?
Today's clients and servers use to fill the mail header with a lot of
garbage and non standard headers (outlook, exchange, ecc...), and is easy
to reach it. After all we have to do with non standard software, and with
stupid/ignorant people too :-((
Thanks a lot, Bowie!!!
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users