🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84382

Re: INN's mailpost script - requested change.

#84382
From: D. Stussy
Date: Thu, 22 Sep 2011 02:58
17 lines
2011 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87vcslti2y.fsf@windlord.stanford.edu...
> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
>
> > "A single header field line is limited to 998 bytes."
>
> > I have noted that some mail headers (which always end up being added to
> > the "weird_mail_hdrs" variable) exceed this limit, especially those
> > which relate to headers added by spam detection (e.g. a list of spam
> > rules which fired).  Would it be possible to modify any header added to
> > this variable to truncate them at 995 bytes plus elipsis ("...")?
>
> You should really fold them rather than truncating them if possible.

How would folding help?  The limit is the unfolded maximum, isn't it?

Technical Details
Message-ID: <j5e89d$k6f$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.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!eweka.nl!hq-usenetpeers.eweka.nl!news.glorb.com!news.snarked.org!pool-71-106-211-51.lsanca.dsl-w.verizon.net!not-for-mail
References: <j5e6c0$8ib$1@snarked.org> <87vcslti2y.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <j5e89d$k6f$1@snarked.org>
Subject: Re: INN's mailpost script - requested change.
Date: Wed, 21 Sep 2011 19:58:54 -0700
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
References: <j5e6c0$8ib$1@snarked.org> <87vcslti2y.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!eweka.nl!hq-usenetpeers.eweka.nl!news.glorb.com!news.snarked.org!pool-71-106-211-51.lsanca.dsl-w.verizon.net!not-for-mail
Newsgroups: news.software.nntp
Lines: 17
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
Injection-Date: Thu, 22 Sep 2011 02:58:53 +0000 (UTC)
Injection-Info: snarked.org;
 posting-host="pool-71-106-211-51.lsanca.dsl-w.verizon.net:71.106.211.51";
 logging-data="20687"; mail-complaints-to="newsmaster+complaints@snarked.org"
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-Original-Bytes: 1687