Bug 312391 - Reference line is too long in deeply nested threads
Summary: Reference line is too long in deeply nested threads
Status: RESOLVED UNMAINTAINED
Alias: None
Product: knode
Classification: Miscellaneous
Component: general (show other bugs)
Version: 4.9
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-30 17:49 UTC by Philipp Gampe
Modified: 2018-09-04 18:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Truncate too long Reference-Lines (2.19 KB, patch)
2016-07-06 14:56 UTC, Olaf Meltzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Gampe 2012-12-30 17:49:17 UTC
If you reply to a message inside deeply nested thead, then the Reference header lines gets too long and the server refuses the message.

Reproducible: Always

Steps to Reproduce:
1. Replay to deeply nested thread

Actual Results:  
Message refuses the server and Knode displays an error message. The message is refused with "441 437 Too long line in header 1030 bytes", because the References line is not truncated.

Expected Results:  
Message is send to server. The references line is truncated.

Knode does not forwards the actual error message from the server, but talks about an error and a possible readonly group.

Sample message (wireshark dump):
-------------------8<---------
POST
340 Ok, recommended ID <kbptvj$5jm$2@srv102.typo3.org>
Content-Type: text/plain; charset="UTF-8"
From: Philipp Gampe <philipp.gampe@typo3.org>
Organization: TYPO3
Date: Sun, 30 Dec 2012 18:33:35 +0100
Content-Transfer-Encoding: 8Bit
Subject: Re: [TYPO3-english] Last TYPO3 version without fluid/extbase
Newsgroups: typo3.english
References: <mailman.8386.1352882684.598.typo3-english@lists.typo3.org> <mailman.1.1353018225.10201.typo3-english@lists.typo3.org> <mailman.8626.1353030564.598.typo3-english@lists.typo3.org> <mailman.8627.1353033858.598.typo3-english@lists.typo3.org> <mailman.8652.1353059722.598.typo3-english@lists.typo3.org> <mailman.8654.1353060452.598.typo3-english@lists.typo3.org> <mailman.8684.1353070904.598.typo3-english@lists.typo3.org> <mailman.8690.1353074686.598.typo3-english@lists.typo3.org> <mailman.8700.1353079053.598.typo3-english@lists.typo3.org> <mailman.1.1353081383.5142.typo3-english@lists.typo3.org> <mailman.8705.1353082070.598.typo3-english@lists.typo3.org> <mailman.1.1353090499.29365.typo3-english@lists.typo3.org> <mailman.12350.1356109700.598.typo3-english@lists.typo3.org> <mailman.1.1356110532.31435.typo3-english@lists.typo3.org> <mailman.12396.1356208499.598.typo3-english@lists.typo3.org> <mailman.1.1356281650.29430.typo3-english@lists.typo3.org> <mailman.12444.1356298271.598.typo3-english@lists.typo3.org>
Lines: 16
MIME-Version: 1.0

Hi Tonix (Antonio Nati),

Tonix (Antonio Nati) wrote:

> Look in google for the patch called chkuser (and chkusr). It is saving
> thousands of qmail installations.
> It has been installed in dozens (if not hundreds) of thousands servers
> running qmail.

Test mail ... ignored it ... it is to reproduce a Knode bug.

Happy new year
-- 
Philipp Gampe ... PGP-Key 0AD96065 ... TYPO3 UG Bonn/K..ln
Documentation ... linkvalidator
TYPO3 .... inspiring people to share!

.
441 437 Too long line in header 1030 bytes
---------------------------8<--------------------------

I manually edited the message in the outbox mbox file and deleted the first two references. Then I could send the mail. However I do not think is is an acceptable workaround and deeply nested threads should not be that uncommon.

The news server is lists.typo3.org (aka srv102.typo3.org).
Comment 1 Olaf Meltzer 2016-07-04 10:35:41 UTC
I Stumbled upon this same bug. News server was news.Individual.net.
We disputated this bug in de.comp.os.unix.apps.kde starting with
<news:dtpkkoF3e20U6@mid.individual.net>
referring the post I was not able to answer with knode directly:
<news:3072571.iIbC2pHGDl@PointedEars.de>

HTH -- Olaf Meltzer
Comment 2 Olaf Meltzer 2016-07-06 14:56:30 UTC
Created attachment 99887 [details]
Truncate too long Reference-Lines

If you answer a message which already contains a very long References line, your message could generate a References line exceeding the Limit of 998 characters. This patch will truncate your References according to RFC 5537.

The RefTrim patch  was designed by Michael Baeuerle and I testet  on openSUSE 13.2 and knode 4.14.10.

Olaf Meltzer
Comment 3 Andrew Crouthamel 2018-09-04 18:41:22 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug.