Article View: news.software.nntp
Article #47826Re: INEWS fails Can't set system "X-Trace" header
From: Stephane Lentz
Date: Fri, 11 Aug 2000 00:00
Date: Fri, 11 Aug 2000 00:00
49 lines
2189 bytes
2189 bytes
The perl script mailpost should be patched :
After these lines in mailpost :
if (/^(MIME|Content)-[^:]+:\s*/sio) {
$real_news_hdrs .= $_ . "\n" ;
next ;
}
Add this code :
# deal with X-Trace headers (people who sent messages from
# a news server
if (/^X-Trace:\s*/sio) {
next;
}
# ignore this too
if (/^X-Complaints-To:\s*/sio) {
next;
}
I don't know if the mailpost provided with INN 2.2.3 or 2.3 betas
have the same problem (Russ ??? :-).
Stephane.
bert@visi.com (Bert Hyman):
> [posted and mailed]
>
> alan@chandlerfamily.org.uk (Alan Chandler) wrote in
> <6067pskcok35hiidq6e44n0k9bnig9vfo3@4ax.com>:
> > ...
> >WHY is it failing and HOW do I fix it. [Note also egroups and onelist
> >are interchangeable]
> > ...
>
> The NNRPD posting agent in version 2.2.2 of INN (that's the only
> version I've got source for; other versions may work differently)
> simply won't allow a post which already contains an "X-Trace" header
> (along with a number of other headers).
>
> You'll have to find a way to pre/post process the messages you're
> trying to insert to remove the offending header(s).
>
> --
> Bert Hyman | St. Paul, MN | bert@visi.com
Technical Details
Message-ID:
<slrn8p8cu0.iik.Stephane.Lentz@nsfws7.ansf.alcatel.fr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6067pskcok35hiidq6e44n0k9bnig9vfo3@4ax.com> <8F8D64998VeebleFetzer@192.61.219.6>Show Full Headers
Complete Article Headers
Message-ID: <slrn8p8cu0.iik.Stephane.Lentz@nsfws7.ansf.alcatel.fr> Subject: Re: INEWS fails Can't set system "X-Trace" header Date: Fri, 11 Aug 2000 00:00:00 +0000 From: Stephane.Lentz@ansf.alcatel.fr (Stephane Lentz) References: <6067pskcok35hiidq6e44n0k9bnig9vfo3@4ax.com> <8F8D64998VeebleFetzer@192.61.219.6> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 657253701 X-Complaints-To: abuse@oleane.net X-Trace: s1.read.news.oleane.net 966018308 2574 194.133.58.132 (11 Aug 2000 18:25:08 GMT) Organization: Alcanet International France User-Agent: slrn/0.9.5.7 (UNIX) Reply-To: Stephane.Lentz@ansf.alcatel.fr NNTP-Posting-Date: Fri, 11 Aug 2000 18:25:08 +0000 (UTC) Newsgroups: news.software.nntp