Thread View: news.software.nntp
3 messages
3 total messages
Started by Bob Berman
Tue, 14 Jan 1997 00:00
Xref: causing messages to be rejected
Author: Bob Berman
Date: Tue, 14 Jan 1997 00:00
Date: Tue, 14 Jan 1997 00:00
35 lines
2001 bytes
2001 bytes
Since upgrading to inn 1.5.1, I have been having messages rejected by my ISP's NNTP server which is the old 1.4unoff3 version. The reason is my messages have the "Xref:" line completed. What do I need to set to not have this line included in my Usenet messages? I could go in and comment out where this line is being added in innd/art.c where the headers are created in the first place on my machine. Is this something new in 1.5.1 and what would you set anyway to reject messages which contain an Xref: line? What is/was/will be it's purpose? Only if I delete the line entirely can I post. My test output (please no flames about the inappropriateness of using comp.mail.misc as a testing location - I know I'm wrong!!): POST response: 340 Ok ARTICLE: Path: boomer.icehouse.com!not-for-mail ARTICLE: From: Bob Berman <rberman@li.net> ARTICLE: Newsgroups: comp.mail.misc ARTICLE: Subject: test ARTICLE: Date: Tue, 14 Jan 1997 20:05:18 -0500 ARTICLE: Organization: Robert Berman ARTICLE: Lines: 1 ARTICLE: Message-ID: <32DC2D4E.4E9CBCC4@li.net> ARTICLE: Mime-Version: 1.0 ARTICLE: Content-Type: text/plain; charset=us-ascii ARTICLE: Content-Transfer-Encoding: 7bit ARTICLE: X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.25 i586) ARTICLE: Xref: boomer.icehouse.com comp.mail.misc:7122 ARTICLE: ARTICLE: test ARTICLE END RESPONSE: 441 Can't set system "Xref" header
Re: Xref: causing messages to be rejected
Author: Jonathan I. Kamens
Date: Wed, 15 Jan 1997 00:00
Date: Wed, 15 Jan 1997 00:00
48 lines
2848 bytes
2848 bytes
There is nothing new about the Xref header; it has been around for
years and years. It is possible that what is new is putting an Xref
header even in messages that are posted to only one group; in the past,
most News servers have only inserted Xref for articles cross-posted to
two or more groups.
You don't say what software you are using to feed the articles from
your machine to your ISP, and that's unfortunate, because that software
is what is causing your problem. The ISP's server is correct to reject
articles which already have an "Xref" header. Whatever software you
are using to feed your posted articles to your ISP should be stripping
that header out before feeding the articles.
For example, I use suck's "rpost" command to feed the articles I post
locally on my home machine to my ISP's server. I give it the argument
"-f ./dopost.filter", and the "dopost.filter" file is an executable
shell script which contains the following:
---cut here---
#!/bin/sh
awk -F: '/^$/ { body=1 } body || !/^(Xref|NNTP-Posting-Host):/ {print}' \
$1 > $2
---cut here---
This script strips out "Xref" and "NNTP-Posting-Host", two headers
which are set by nnrpd when an article is posted but which cannot be
legally set in an article that is fed to a server with the POST
command. If you use rpost, you can use this same approach; if you use
some other program to upload your articles, you'll have to figure out
how to get it to strip out these headers, or consult its documentation
and see if it already tells you how to do it, or tell us what software
it is so perhaps someone here who uses it can tell you how to do it.
Incidentally, if "li.net" is your ISP's domain rather than your own,
then you should not be posting articles whose message IDs end in
"li.net". When News software generates a message ID for an article, it
is required to use the host name or domain name of the actual host on
which the article was generated; otherwise, there is a possibility of
two messages generated on two different hosts having the same message
ID. You need to reconfigure your News software to put "@icehouse.com"
or something at the end of your message IDs.
--
Jonathan Kamens | OpenVision Technologies, Inc. | jik@cam.ov.com
Re: Xref: causing messages to be rejected
Author: Marc Roger
Date: Wed, 15 Jan 1997 00:00
Date: Wed, 15 Jan 1997 00:00
19 lines
1218 bytes
1218 bytes
Why do you try to POST instead of using IHAVE ? How did you set up you feed to your provider ? On Tue, 14 Jan 1997 20:22:26 -0500, in news:<32DC3152.49383004@li.net>, Bob Berman <rberman@li.net> wrote in news.software.nntp: >new in 1.5.1 and what would you set anyway to reject messages which >contain an Xref: line? What is/was/will be it's purpose? Only if I delete >the line entirely can I post. > >My test output (please no flames about the inappropriateness of using >comp.mail.misc as a testing location - I know I'm wrong!!): > >POST response: 340 Ok -- Marc Roger
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads