Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!cbosgd!mark From: mark@cbosgd.UUCP (Mark Horton) Newsgroups: net.news.adm,net.news.b Subject: Re: News 2.10.2 screws up From line, does 2.10.3? Message-ID: <2384@cbosgd.UUCP> Date: Sat, 9-Aug-86 23:10:16 EDT Article-I.D.: cbosgd.2384 Posted: Sat Aug 9 23:10:16 1986 Date-Received: Mon, 11-Aug-86 02:14:58 EDT References: <340@comp.lancs.ac.uk> Organization: AT&T Bell Laboratories, Columbus, Oh Lines: 47 Xref: watmath net.news.adm:895 net.news.b:1432 In article <340@comp.lancs.ac.uk> stephen@comp.lancs.ac.uk (Stephen J. Muir) writes: >One of our users has his FULLNAME set to "Rodge-Baby!!". (Our system manager >won't let me stop users running "chfn"). In our particular case, it is >retrieved from the /etc/passwd file in Berkeley format. When he submits a >news article, the From line becomes: > >From: rodger@comp.lancs.ac.uk (Baby!!) > >I do not see any point in deleting anything before the hyphen. But then, you aren't running System V. The RJE convention looks like this: * (b) BTL RJE: the gecos field looks like * : junk - full name ( junk : * where the "junk -" is optional. Stripping out the junk is the right thing to do on such a system, but it does lose for people with hyphenated names. While it's hard to have much sympathy for Rodge-Baby!!, there are people with legitimate hyphenated names. I had thought this code was ifdeffed, but evidently it isn't. If you look in fullname.c, in 2.10.*, you'll see the following code near the beginning of buildname: if (*p == '-') { bp = buf; p++; } This should be ifdeffed or taken out if you don't run RJE. >To make matters >worse, when it arrives at one of our neighbouring sites, it gets rewritten >again. One of them changed it to: > >From: rodger@dcl-cs.ac.uk > >and another to: > >From: rodger@cs.strath.ac.uk I have no idea whether comp.lancs.ac.uk is equivalent to dcl-cs.ac.uk or cs.strath.ac.uk, but in general, you're right, the From line isn't supposed to be munged once it gets enterred onto the net. B news doesn't alter it, as far as I know; perhaps something else strange is going on. Mark