> > I would like to know why the real maximal length of To: header is
> > only 5000 characters?
>
> I'd like to ask a different question: why is it necessary to have single
> mail headers that are over five thousand bytes long? This is completely
> unreasonable.
Thank you very much for your response, Sam. I know that mails with very
long headers are stupid ideas, but some of my users can't understand it.
Note, that _you_ set value of headerlimit to 100000.
What do you think about my proposition of small changes in getrcpts function
from courier/submit.C file?
CString line, my_buf;
// ...
while (my_buf.readline(cin, 5000) > 0)
{
// ...
line += my_buf;
// ...
if (i != EOF && i != '\n')
{
//headercnt=0;
continue;
}
// ...
if (l > headerlimit)
headercnt=0;
// ...
}
It's only draft, of course.
> Seems a bit excessive to me, and it points to a poorly-written mail
> client.
Your webmail is OK, but it doesn't check number of addresses for one
nickname in user's address book or size of header with that nickname.
Cheers!
Pawel
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users