Gnus development mailing list
 help / color / mirror / Atom feed
* nnmail-split-header-length-limit
@ 2004-11-22 16:47 Reiner Steib
  2004-11-24  7:29 ` nnmail-split-header-length-limit David Coe
  2004-11-24  7:54 ` nnmail-split-header-length-limit David Coe
  0 siblings, 2 replies; 3+ messages in thread
From: Reiner Steib @ 2004-11-22 16:47 UTC (permalink / raw)


[ Repost; the first one on 19 Sep 2004 apparently didn't make it to
  the list (not available on Gmane). ]

Hi,

people reported in the German Gnus group that mail splitting doesn't
work if there a many recipients in the "To:" header.  The problem is
that `nmail-split-header-length-limit'[1] defaults to 512 which seems
to be too small for many people.  If we assume an average length of 40
chars for each address, a value of 512 includes only 12 recipients.

According to the ChangeLogs, the default value was last changed in
1999.  How about increasing it to 1024 or 2048?  People in the German
group reported that there is no remarkable slow down even with values
like 5000 on 550MHz PCs.  Unless anyone objects, I will increase it to
2048 in the trunk and in v5-10.

Bye, Reiner.

[1]
,----[ `nnmail.el' ]
| 	;; Nuke pathologically long headers.  Since Gnus applies
| 	;; pathologically complex regexps to the buffer, lines
| 	;; that are looong will take longer than the Universe's
| 	;; existence to process.
`----
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nnmail-split-header-length-limit
  2004-11-22 16:47 nnmail-split-header-length-limit Reiner Steib
@ 2004-11-24  7:29 ` David Coe
  2004-11-24  7:54 ` nnmail-split-header-length-limit David Coe
  1 sibling, 0 replies; 3+ messages in thread
From: David Coe @ 2004-11-24  7:29 UTC (permalink / raw)


That also happens in the nnimap splitter (whatever it is that uses
nnimap-split-rule) -- so if that's not the same code, please fix
it there too.

I've seen this with messages that have a lot of Received headers
and X-Spam... spamassassin headers that get inserted before the
headers used for splitting.

Thanks.






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nnmail-split-header-length-limit
  2004-11-22 16:47 nnmail-split-header-length-limit Reiner Steib
  2004-11-24  7:29 ` nnmail-split-header-length-limit David Coe
@ 2004-11-24  7:54 ` David Coe
  1 sibling, 0 replies; 3+ messages in thread
From: David Coe @ 2004-11-24  7:54 UTC (permalink / raw)


Oops, ignore my earlier followup.

I hadn't read your article carefully enough.

The problem I'm chasing is different -- splitting based on content in headers
far from the beginning of the list of headers doesn't happen; this is clearly
different from what you described, which involves single very-long headers.

I'll post again if I find the problem, or when I have a more accurate
description of how to reproduce it.

Of course if you know where/what this problem is, please let me know.
thanks.








^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-24  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-22 16:47 nnmail-split-header-length-limit Reiner Steib
2004-11-24  7:29 ` nnmail-split-header-length-limit David Coe
2004-11-24  7:54 ` nnmail-split-header-length-limit David Coe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).