🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Scott Perry Thu, 15 Feb 1996 00:00
Help! From: address not in Internet syntax
#4979
Author: Scott Perry
Date: Thu, 15 Feb 1996 00:00
27 lines
1383 bytes
Has anyone out there ever seen this problem?

I am using inn1.4unoff2 on solaris 2.4 compiled with gcc 2.7.0

I am receiving articles correctly, but sending articles (only with Netscape
1.1)
generates a pop-up window with this error:

A News (NNTP) error occured:
From: address not in Internet syntax

I've looked at the configuration of nnrp.access and inn.conf,
at the code of lib/cleanfrom.c, nnrpd/post.c, and frontends/inews.c and I can't
see where the problem is.

Does anyone have any clue as to where the problem is?

Thanks in advance,

-- 
Scott A. Perry
Systems & Network Administrator
Tellabs, Inc.
sperry@tellabs.com


Re: Help! From: address not in Internet syntax
#4988
Author: Dave Barr
Date: Fri, 16 Feb 1996 00:00
26 lines
1670 bytes
In article <1996Feb16.155742.16857@tellab5.tellabs.com>,
Scott Perry  <sperry@tellabs.com> wrote:
>The reason I was asking about that was that cnews is able to deliver the
>news (even with the bad From:), and inn isn't. (After adding @domain inn
>worked, but can't inn get the fqdn and append it?).

It's not a matter of ability, it's a matter of enforcing the specs.
inn1.4unoff simply enforces the specs for From: lines whereas C-News
and earlier INN versions didn't.

>Isn't inn able (with correct configuration) to convert the lousy way Netscape
>formats the logname to:
>
>	user@domain (Real Name)

No, it's not a matter of configuration.  You'd have to add code to INN
to have it convert the address.  Don't do it unless you know what you're
doing and you know how to parse RFC 822 addresses.  (it's not trivial,
TRUST me)

The real solution is to fix your EMAIL_ADDRESS: field in Netscape.
That will fix the root of the problem, not apply a band-aid.

--Dave

Re: Help! From: address not in Internet syntax
#4990
Author: Dave Barr
Date: Fri, 16 Feb 1996 00:00
23 lines
1202 bytes
In article <1996Feb15.232039.10210@tellab5.tellabs.com>,
Scott Perry  <sperry> wrote:
>Has anyone out there ever seen this problem?

Yes.

>I am receiving articles correctly, but sending articles (only with Netscape
>1.1)
>generates a pop-up window with this error:
>
>A News (NNTP) error occured:
>From: address not in Internet syntax


Yep, exactly what it says.  Your From: address is not in the internet
syntax.  "The Internet Syntax" is "user@something.something"
Fix your Netscape configuration is hosed.  Fix it.

"Scott Perry <sperry>" is _wrong_.  Fix yours too.

--Dave

Re: Help! From: address not in Internet syntax
#5008
Author: Scott Perry
Date: Fri, 16 Feb 1996 00:00
40 lines
2356 bytes
barr@math.psu.edu (Dave Barr) wrote:
>In article <1996Feb16.155742.16857@tellab5.tellabs.com>,
>Scott Perry  <sperry@tellabs.com> wrote:
>>The reason I was asking about that was that cnews is able to deliver the
>>news (even with the bad From:), and inn isn't. (After adding @domain inn
>>worked, but can't inn get the fqdn and append it?).
>
>It's not a matter of ability, it's a matter of enforcing the specs.
>inn1.4unoff simply enforces the specs for From: lines whereas C-News
>and earlier INN versions didn't.
>
>>Isn't inn able (with correct configuration) to convert the lousy way Netscape
>>formats the logname to:
>>
>>	user@domain (Real Name)
>
>No, it's not a matter of configuration.  You'd have to add code to INN
>to have it convert the address.  Don't do it unless you know what you're
>doing and you know how to parse RFC 822 addresses.  (it's not trivial,
>TRUST me)
>
>The real solution is to fix your EMAIL_ADDRESS: field in Netscape.
>That will fix the root of the problem, not apply a band-aid.
>
>--Dave
Thanks, Dave

	I'm switching the user community from a cnews server to a parallel
operating inn server this weekend, and was just trying to minimize any user
problems.  (I agree with your approach completely, just trying to minimize
that ringing telephone sound in the office).

-- 
Scott A. Perry
Systems & Network Administrator
Tellabs, Inc.
sperry@tellabs.com


Re: Help! From: address not in Internet syntax
#5009
Author: Scott Perry
Date: Fri, 16 Feb 1996 00:00
57 lines
2608 bytes
barr@math.psu.edu (Dave Barr) wrote:
>In article <1996Feb15.232039.10210@tellab5.tellabs.com>,
>Scott Perry  <sperry> wrote:
>>Has anyone out there ever seen this problem?
>
>Yes.
>
>>I am receiving articles correctly, but sending articles (only with Netscape
>>1.1)
>>generates a pop-up window with this error:
>>
>>A News (NNTP) error occured:
>>From: address not in Internet syntax
>
>
>Yep, exactly what it says.  Your From: address is not in the internet
>syntax.  "The Internet Syntax" is "user@something.something"
>Fix your Netscape configuration is hosed.  Fix it.
>
>"Scott Perry <sperry>" is _wrong_.  Fix yours too.
>
>--Dave

Sorry about the confusion, but I was trying to test inn username formatting.

I know it was defined wrong, but a large percentage of the users I support
have the same type of definition and I was using it to test the formatting.
(I know, user education is best, but, since I am switching from cnews to inn,
I wanted to minimize the number of users that may have a problem).

The reason I was asking about that was that cnews is able to deliver the
news (even with the bad From:), and inn isn't. (After adding @domain inn
worked, but can't inn get the fqdn and append it?).

What I was looking at was the routine HeaderCleanFrom() in lib/cleanfrom.c
to take:
	stuff <logname>
and convert it to:
	logname
and the routine FormatUserName() in frontends/news.c which gets the
person's real name from the GECOS field of the passwd file.

Isn't inn able (with correct configuration) to convert the lousy way Netscape
formats the logname to:

	user@domain (Real Name)

Thanks in advance,

-- 
Scott A. Perry
Systems & Network Administrator
Tellabs, Inc.
sperry@tellabs.com


Re: Help! From: address not in Internet syntax
#5066
Author: Dennis Davis
Date: Mon, 19 Feb 1996 00:00
22 lines
1555 bytes
In the referenced article, barr@math.psu.edu (Dave Barr) writes:
>In article <1996Feb16.155742.16857@tellab5.tellabs.com>,
>Scott Perry  <sperry@tellabs.com> wrote:
>>The reason I was asking about that was that cnews is able to deliver the
>>news (even with the bad From:), and inn isn't. (After adding @domain inn
>>worked, but can't inn get the fqdn and append it?).
>
>It's not a matter of ability, it's a matter of enforcing the specs.
>inn1.4unoff simply enforces the specs for From: lines whereas C-News
>and earlier INN versions didn't.

Note that C-News can easily be made to enforce the specs.  You just
need to plug in Tim Pierce's code at the appropriate point.  See:

http://http.bsd.uchicago.edu/~t-pierce/news/index.html

for further details.
-- 
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis@bath.ac.uk

Re: Help! From: address not in Internet syntax
#5097
Author: Rich Salz
Date: Tue, 20 Feb 1996 00:00
12 lines
1174 bytes
In <1996Feb16.155742.16857@tellab5.tellabs.com> Scott Perry <sperry@tellabs.com> writes:
>The reason I was asking about that was that cnews is able to deliver the
>news (even with the bad From:), and inn isn't. (After adding @domain inn
>worked, but can't inn get the fqdn and append it?).

Er, please try to be specific.  Dave's unofficial release prohibits this.

The official INN release, knowing it can't full validate a From line,
and knowing From isn't needed send data, ignores the From line.
	/r$

Re: Help! From: address not in Internet syntax
#5125
Author: Heiko W.Rupp
Date: Tue, 20 Feb 1996 00:00
16 lines
1224 bytes
In <4gcfof$2m3@rodan.UU.NET>, Rich Salz wrote:
:|The official INN release, knowing it can't full validate a From line,
:|and knowing From isn't needed send data, ignores the From line.

I think the behavour of the unoff releases is good -- else with all
that netscrap one had to reply via copy+pasting adresses around while in
the "good ol days" pressing r was enough ..

-- 
Heiko W.Rupp        Gerwigstr.5        D-76131  Karlsruhe    +49 721 9661524
What would you call a menage a trois between Superman, Wonder Woman
  and Flash Gordon?
  A "super hero sandwich".


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