🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Tobias Hagge Fri, 04 Feb 2000 00:00
many-recepient posts failing in inews because header too long
#43935
Author: Tobias Hagge
Date: Fri, 04 Feb 2000 00:00
20 lines
1665 bytes
I am running an internal use news server using inn 2.2.1 which often
receives posts which also go out to a large number of email addresses.
The result is a huge X-To field in the header, causing the header to
exceed the 998 character (hardcoded) limit. The message thus never gets
posted by inews. I am thinking about changing HEADER_STRLEN in the
source from 998 to something bigger, but it looks like 998 characters is
a usenet convention of some sort. So my questions are as follows:

1) Can I increase HEADER_STRLEN without disturbing other news servers?
(Note: this server will never (*cross fingers*) have an outgoing feed,
but it may well get an incoming one. It is currently standalone.)

2) Is there a better/easier way to get messages with many
recipients/large headers to be accepted by inn?

Thanks in advance for any help/advice,
Tobe Hagge


Re: many-recepient posts failing in inews because header too long
#43894
Author: Russ Allbery
Date: Fri, 04 Feb 2000 00:00
12 lines
1049 bytes
Tobias Hagge <euclid@avalon.net> writes:

> 2) Is there a better/easier way to get messages with many
> recipients/large headers to be accepted by inn?

Is it important that newsgroup readers see the full To list when it's that
long?  I'd be inclined to just drop it.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: many-recepient posts failing in inews because header too long
#43904
Author: Bill Cole
Date: Sat, 05 Feb 2000 00:00
29 lines
1815 bytes
In article <ylk8kk7c08.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:

> Tobias Hagge <euclid@avalon.net> writes:
> 
> > 2) Is there a better/easier way to get messages with many
> > recipients/large headers to be accepted by inn?
> 
> Is it important that newsgroup readers see the full To list when it's that
> long?  I'd be inclined to just drop it.

I've hacked up (older) inews to get around this precisely because it was
important for the full list of mail recipients to remain attached to every
post in that specific (unholy) application of INN.  My hack was to take
the recipient list out of headers and append it to the post, which was
ugly but worked in that situation. 

It can be useful to have headers of evil length in some cases, although I
cannot come up with any excuse for them in 'public' news. It's just that
some people do horrid things best kept private with INN that could use a
little more flexibility.

-- 
Bill Cole, Geek at large
I'm casually looking for a new job. 
See http://sc1.scconsult.com/~bill/cover.html for a silly 
generic cover letter and a link to my resume. 

Re: many-recepient posts failing in inews because header too long
#43910
Author: Brad Knowles
Date: Sat, 05 Feb 2000 00:00
28 lines
2010 bytes
In article <389B5BE1.49234797@avalon.net>, Tobias Hagge 
<euclid@avalon.net> wrote:

> 1) Can I increase HEADER_STRLEN without disturbing other news servers?
> (Note: this server will never (*cross fingers*) have an outgoing feed,
> but it may well get an incoming one. It is currently standalone.)

    You could change the program, but then it would not be conformant to 
the USENET standard, and you'd have to re-apply your patch every single 
time you want to upgrade the server.

    Not to mention the fact that your posts with illegally long lines 
would certainly be rejected by virtually all the other servers on the 
'net, although I don't know of any that would outright crash or 
otherwise have serious problems if they ran into an article like this.


    Why can't you just fix the posting program to be compliant with the 
USENET standard?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: many-recepient posts failing in inews because header too long
#43922
Author: Tobias Hagge
Date: Mon, 07 Feb 2000 00:00
14 lines
1480 bytes
  Thanks everyone for your helpful and timely replies. I maybe should have
mentioned that the messages in question are sent to the nntp server via a
sendmail alias which invokes "mailpost". Thus the X-to header. I don't
actually need this header, so I'm going to take Russ Allbery's suggestion
and just drop it (since I can't control what gets sent to the mail alias
address). I can write up a perl script (and call it from /etc/alias) to do
this; is there an easier/better way?
    Out of curiosity, are all mail headers supposed to be limited to 998
characters, or is my problem due to a limitation of mailpost?

- Tobe Hagge


Re: many-recepient posts failing in inews because header too long
#44010
Author: bill davidsen
Date: Thu, 10 Feb 2000 00:00
33 lines
2137 bytes
In article <389B5BE1.49234797@avalon.net>,
Tobias Hagge  <euclid@avalon.net> wrote:
| I am running an internal use news server using inn 2.2.1 which often
| receives posts which also go out to a large number of email addresses.
| The result is a huge X-To field in the header, causing the header to
| exceed the 998 character (hardcoded) limit. The message thus never gets
| posted by inews. I am thinking about changing HEADER_STRLEN in the
| source from 998 to something bigger, but it looks like 998 characters is
| a usenet convention of some sort. So my questions are as follows:

First thought: drop the line...

Second thought, if you must have this, and can't move it to the text of
the message, how about breaking it into multiple smaller headers, such
as X-To-01, etc.

  X-To-01: crap
  X-To-02: more crap
  X-To-03: more of same

I'd whack the mailer to put the list submission adddress in "To" and
change the recipients to "Bcc:" if it were my list. Having all the
recipients listed is both nasty to read with some mailers and a great
way to get your address harvested for yet another spam mailing list.

--
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: many-recepient posts failing in inews because header too long
#44051
Author: Kai Henningsen
Date: Sat, 12 Feb 2000 00:00
22 lines
1847 bytes
euclid@avalon.net (Tobias Hagge)  wrote on 07.02.00 in <389F67F1.51732D8C@avalon.net>:

>   Thanks everyone for your helpful and timely replies. I maybe should have
> mentioned that the messages in question are sent to the nntp server via a
> sendmail alias which invokes "mailpost". Thus the X-to header. I don't
> actually need this header, so I'm going to take Russ Allbery's suggestion
> and just drop it (since I can't control what gets sent to the mail alias
> address). I can write up a perl script (and call it from /etc/alias) to do
> this; is there an easier/better way?
>     Out of curiosity, are all mail headers supposed to be limited to 998
> characters, or is my problem due to a limitation of mailpost?

Actually, that's a *line length* limit. It *should* be possible to make  
headers arbitrary long if they're folded into several lines.

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)

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