🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Ed Morris Tue, 17 Sep 1996 00:00
problem posting with tin 2.1 and linux
#26037
Author: Ed Morris
Date: Tue, 17 Sep 1996 00:00
18 lines
1169 bytes
Hi everybody. I've just set up linux 1.2.13 and nntp news using tin
2.1.  I'm able to read news fine, but I cannot post.  I get this
error:  441 posting rejected.  I have just configured with
masquerading and sendmail 8.6 to go out as fast.net. I'm wondering how
posting works?  The news server is rejecting me on some basis. Or did
I configure something incorrectly? Thanks in advance.
********************
Ed Morris - MAIL: emorr@fast.net, WEB PAGE:www.users.fast.net/~emorr

Rose darlin', Rose darlin
my friend
With only you 
and what I've found
We'll wear the weary hours down


Re: problem posting with tin 2.1 and linux
#26173
Author: Evan Jeffrey
Date: Sat, 21 Sep 1996 00:00
33 lines
2188 bytes
Reposting article removed by rogue canceller.

Ed Morris (emorr@fast.net) wrote:
: Hi everybody. I've just set up linux 1.2.13 and nntp news using tin
: 2.1.  I'm able to read news fine, but I cannot post.  I get this
: error:  441 posting rejected.  I have just configured with
: masquerading and sendmail 8.6 to go out as fast.net. I'm wondering how
: posting works?  The news server is rejecting me on some basis. Or did
: I configure something incorrectly? Thanks in advance.
: 
Here is a brief recount of my adventure with exactly the same problem (as
near as I can tell).  Basically, it takes recompiling TIN (well, maybe not,
but it worked for me).  Anyway, look at the following defines in the makefile

INEWSDIR: This is the real killer (I think) defaults to /usr/local/bin, on my
system it was installed in /usr/bin.  You might also be able to experement
with an option to use builtin INEWS--I don't know how this works, but it
should fix the problem, which is that tin cant find the inews probgram used
to send news.

INEWS_MAIL_GATEWAY: what gets appended to username@ to form your mail address.
ie. usually your machine name, but perhaps a dedicated mail server or such

NNTP_DEFAULT_SERVER: your news server. self explanatory.

If you see this it means it worked.  As of yet, I have not received any 
response from misc.test, but I have telneted to other sites and seen my
messages when connecting to their news servers.



Re: problem posting with tin 2.1 and linux
#26187
Author: Evan Jeffrey
Date: Sat, 21 Sep 1996 00:00
31 lines
2137 bytes
Ed Morris (emorr@fast.net) wrote:
: Hi everybody. I've just set up linux 1.2.13 and nntp news using tin
: 2.1.  I'm able to read news fine, but I cannot post.  I get this
: error:  441 posting rejected.  I have just configured with
: masquerading and sendmail 8.6 to go out as fast.net. I'm wondering how
: posting works?  The news server is rejecting me on some basis. Or did
: I configure something incorrectly? Thanks in advance.
: 
Here is a brief recount of my adventure with exactly the same problem (as
near as I can tell).  Basically, it takes recompiling TIN (well, maybe not,
but it worked for me).  Anyway, look at the following defines in the makefile

INEWSDIR: This is the real killer (I think) defaults to /usr/local/bin, on my
system it was installed in /usr/bin.  You might also be able to experement
with an option to use builtin INEWS--I don't know how this works, but it
should fix the problem, which is that tin cant find the inews probgram used
to send news.

INEWS_MAIL_GATEWAY: what gets appended to username@ to form your mail address.
ie. usually your machine name, but perhaps a dedicated mail server or such

NNTP_DEFAULT_SERVER: your news server. self explanatory.

If you see this it means it worked.  As of yet, I have not received any 
response from misc.test, but I have telneted to other sites and seen my
messages when connecting to their news servers.



Re: problem posting with tin 2.1 and linux
#26190
Author: root
Date: Sat, 21 Sep 1996 00:00
33 lines
1944 bytes
Reposting article removed by rogue canceller.

Ed Morris (emorr@fast.net) wrote:
: Hi everybody. I've just set up linux 1.2.13 and nntp news using tin
: 2.1.  I'm able to read news fine, but I cannot post.  I get this
: error:  441 posting rejected.  I have just configured with
: masquerading and sendmail 8.6 to go out as fast.net. I'm wondering how
: posting works?  The news server is rejecting me on some basis. Or did
: I configure something incorrectly? Thanks in advance.
: 
Well, this is what it took for me to get to the point I am.  I had to get
the source for TIN and recompile it with the following options set in
tinxxxxx/src/Makefile or tinxxxxx/include/tin.h


INEWSDIR wherever the program inews is.  in my slakware inst, this is 
/usr/bin.  the default is /usr/local/bin.  I think this is the main prob 
that causes error 441.

INEWS_MAIL_GATEWAY: the string to append to username@ to get your email addr.
ie. either your machines name or a mail server

NNTP_DEFAULT_SERVER: your news server.

Now the problem I have is that I can only post news as root.  can anyone tell
me which permissions need to be modified so I can post as a normal user?

Evan Jeffrey
erjeffre@artsci.wustl.edu
 

Re: problem posting with tin 2.1 and linux
#26192
Author: root
Date: Sat, 21 Sep 1996 00:00
31 lines
1893 bytes
Ed Morris (emorr@fast.net) wrote:
: Hi everybody. I've just set up linux 1.2.13 and nntp news using tin
: 2.1.  I'm able to read news fine, but I cannot post.  I get this
: error:  441 posting rejected.  I have just configured with
: masquerading and sendmail 8.6 to go out as fast.net. I'm wondering how
: posting works?  The news server is rejecting me on some basis. Or did
: I configure something incorrectly? Thanks in advance.
: 
Well, this is what it took for me to get to the point I am.  I had to get
the source for TIN and recompile it with the following options set in
tinxxxxx/src/Makefile or tinxxxxx/include/tin.h


INEWSDIR wherever the program inews is.  in my slakware inst, this is 
/usr/bin.  the default is /usr/local/bin.  I think this is the main prob 
that causes error 441.

INEWS_MAIL_GATEWAY: the string to append to username@ to get your email addr.
ie. either your machines name or a mail server

NNTP_DEFAULT_SERVER: your news server.

Now the problem I have is that I can only post news as root.  can anyone tell
me which permissions need to be modified so I can post as a normal user?

Evan Jeffrey
erjeffre@artsci.wustl.edu
 

Re: problem posting with tin 2.1 and linux
#26317
Author: Wolfgang Kwapil
Date: Tue, 24 Sep 1996 00:00
35 lines
1601 bytes
Hello.

On 21 Sep 1996 08:09:48 GMT root (root@eliot.wustl.edu) wrote:
> 
> Ed Morris (emorr@fast.net) wrote:
> : Hi everybody. I've just set up linux 1.2.13 and nntp news using tin
> : 2.1.  I'm able to read news fine, but I cannot post.  I get this
> : error:  441 posting rejected.  I have just configured with

You have to compile TIN again, change some settings
in "tin???/src/Makefile" and "tin???/include/tin.h".
Take a look at the READMES. ;-)

> Now the problem I have is that I can only post news as root.  can anyone tell
> me which permissions need to be modified so I can post as a normal user?

IMO permissions-problem.
You have to set the suid-bit for /usr/sbin/sendmail.

1. Login as root
2. cd /usr/sbin (where your sendmail lives
3. chmod u+s sendmail
4. chmod g+s sendmail

You will get the following permissions:
-r-sr-sr-x  root  root  sendmail.

Hope solving your problem.

-- 
CU, 
	Wolfgang 

Re: problem posting with tin 2.1 and linux
#26344
Author: Evan Jeffrey
Date: Wed, 25 Sep 1996 00:00
26 lines
1586 bytes
Wolfgang Kwapil (wkw@esmp.allgaeu.crg.de) wrote:
: 
: > Now the problem I have is that I can only post news as root.  can anyone tell
: > me which permissions need to be modified so I can post as a normal user?
: 
: IMO permissions-problem.
: You have to set the suid-bit for /usr/sbin/sendmail.
: 
: 1. Login as root
: 2. cd /usr/sbin (where your sendmail lives
: 3. chmod u+s sendmail
: 4. chmod g+s sendmail
: 
: You will get the following permissions:
: -r-sr-sr-x  root  root  sendmail.

Actually, it turned out that the problem was that in the time between when I
checked everything out as root and then tried to run it as a user, something
weird happened to our news server.  I tried it a day later and everything
worked great.

Evan Jeffrey
erjeffre@artsci.wustl.edu

Re: problem posting with tin 2.1 and linux
#26383
Author: Greg Wooledge x5932
Date: Thu, 26 Sep 1996 00:00
49 lines
2502 bytes
emorr@fast.net (Ed Morris) writes:

>Hi everybody. I've just set up linux 1.2.13 and nntp news using tin
>2.1.  I'm able to read news fine, but I cannot post.  I get this
>error:  441 posting rejected.  I have just configured with
>masquerading and sendmail 8.6 to go out as fast.net.

Posting news doesn't use sendmail.  It goes through your news server,
typically using the NNTP protocol.  Try this command:

	telnet news.fast.net 119

Or, if that's not the name of your news server, then substitute the
appropriate value (since you're able to read news, you must know it).

You should get a greeting from the news server.  This is defined by RFC
977, so you can get useful information even from the response.  The
first piece of information you get back from the news server will be a
3-digit number -- either 200 or 201.  200 means "posting allowed", and
201 means "no posting allowed".  Make sure it's 200.  If it's 201, or
anything other than 200, then you won't be able to post to that news
server for some reason.  In that case, contact your administrator.

>I'm wondering how
>posting works?

Read RFC 977.  It's not terribly cryptic, and it will tell you
everything you need to know, except for the extended NNTP commands
(ones beginning with an X), which were added after the standard was
released (in 1986).

>The news server is rejecting me on some basis. Or did
>I configure something incorrectly? Thanks in advance.

Only your news administrator can tell you how you should configure your
news reader.

-- 
Greg Wooledge				wooledgj@bp.com
UNIX Technical Support			(216) 586-5932
British Petroleum			FAX (216) 586-2044

"The views expressed in this note are those of the individual concerned and
should not necessarily be taken as being the views of The British Petroleum
Company p.l.c. or any of the BP Group of companies."


Re: problem posting with tin 2.1 and linux
#26388
Author: Wolfgang Kwapil
Date: Fri, 27 Sep 1996 00:00
30 lines
1478 bytes
Hi.

On 26 Sep 96 10:22:51 -0400 Greg Wooledge x5932 (wooledgj@techsrv1.clv.ous.bp.com) wrote:
> emorr@fast.net (Ed Morris) writes:
> 
> >Hi everybody. I've just set up linux 1.2.13 and nntp news using tin
> >2.1.  I'm able to read news fine, but I cannot post.  I get this
> >error:  441 posting rejected.  I have just configured with
> >masquerading and sendmail 8.6 to go out as fast.net.
> 

First I have never heard about V2.1 (think it is V1.2 you mean)
You probably can do
1. "/.tin/tinrc" => use_builtin_inews=OFF
2. "inews" in /var/lib/news and /usr/lib/news
--------------------------
3. Better solution
--------------------------
-Get V1.3
-Edit /tin???/src/Makefile
-Edit /tin???/include/tin.h
-Read INSTALL a.s.o.
-Recompile TIN

-- 
CU, 
	Wolfgang 

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