🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87748

Re: Fixes to mailpost -- Long headers - was Re: Please consider this INN patch for mailpost

#87748
From: Julien ÉLIE
Date: Wed, 19 Jul 2017 20:50
37 lines
2748 bytes
Hi Dieter,

>>> Some mail, because of its source (Yahoo), contains a [custom]
>>> header with
>>> data that exceeds 998 characters (excluding the trailing CR+LF).
>>
>> Why don't you just remove that custom header with the new -z flag you
> added?
> 
> Yes, I could.  However, I suggested this because of the news article header
> line length standard.  Such a problem could easily return when another mail
> server does something else stupid with overly large header data.
> 
> Also, I have occasionally noted this with DKIM signatures that use long
> keys.  Preserving part of that field seems a better solution than deleting
> it entirely as the message gates.  Similarly with a "References:" header,
> even though NNTP would have a different size reducing algorithm (keeping
> the first and last MIDs).
> 
> In other words, I'm trying to address a larger problem than just one
> offending header (pun intended).

It was in fact a bug in inews, not mailpost.
Such messages posted by mailpost through inews were rejected because 
inews checked the length of 998 characters for the whole header field 
whereas that limit is for a single header line (without continuation 
lines).  Fixed in INN 2.6.2:
   https://inn.eyrie.org/trac/changeset/10161

-- 
Julien ÉLIE

« – Chef ! On vient !
   – On se met en carré ?
   – Non ! En bosquet ! » (Astérix)

Technical Details
Message-ID: <okogn4$ms7$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <i4s5et$6km$1@snarked.org> <i8jp5k$qo6$1@snarked.org> <i8l2ka$ugv$1@news.trigofacile.com> <i8l8s1$ubd$1@snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <okogn4$ms7$1@news.trigofacile.com>
Subject: Re: Fixes to mailpost -- Long headers - was Re: Please consider this INN patch for mailpost
Date: Wed, 19 Jul 2017 22:50:39 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <i4s5et$6km$1@snarked.org> <i8jp5k$qo6$1@snarked.org> <i8l2ka$ugv$1@news.trigofacile.com> <i8l8s1$ubd$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 19 Jul 2017 20:50:44 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a77500a54dbc28b998d502.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:a54d:bc28:b998:d502";
 logging-data="23431"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0)
 Gecko/20100101 Thunderbird/52.2.1
In-Reply-To: <i8l8s1$ubd$1@snarked.org>
Content-Language: fr
X-Received-Bytes: 2657
X-Received-Body-CRC: 782497674