[news.software.b] Help on sys file

john@news%jho@iex.com (John Ho) (05/30/91)

I am running Cnews and I tried to forward the group "misc.jobs.contract" 
to "barry" on a remote site called "payday" connected by uucp. I followed the
documentation and put in the following line but nothing happens.
Can someone tell me why?

barry:misc.jobs.contract:f:mail payday!barry

-- 
------------------------------------+-------------------------------------------
John Ho from Dallas, Texas, USA.    | I am technical but I don't talk funny. :-)
john%jho@iex.com                    | 
uunet!iex!jho!john                  | Phone: (214)-907-9801

henry@zoo.toronto.edu (Henry Spencer) (05/31/91)

In article <1991May30.144855.27644@news%jho@iex.com> john@news%jho@iex.com (John Ho) writes:
>... put in the following line but nothing happens.
>Can someone tell me why?

The news(5) manual page can tell you why, if you read it.
-- 
"We're thinking about upgrading from    | Henry Spencer @ U of Toronto Zoology
SunOS 4.1.1 to SunOS 3.5."              |  henry@zoo.toronto.edu  utzoo!henry

jeff@henson.cc.wwu.edu (Jeff Wandling) (05/31/91)

john@news%jho@iex.com (John Ho) writes:

>I am running Cnews and I tried to forward the group "misc.jobs.contract" 
>to "barry" on a remote site called "payday" connected by uucp. I followed the
>documentation and put in the following line but nothing happens.
>Can someone tell me why?

>barry:misc.jobs.contract:f:mail payday!barry
 ^^^^^

I'm sure you want the name of the machine ("payday") here instead.

From the NutShell Book on USENET & UUCP p172:

"The sys file should contain a line for every system for which you 
forward news...

Each line contains four fields:

- A system name
- The newsgroups to be forwarded to that system
- Flags describing connections
- The command to run to send news to the remote site. (If not the default)"


Cheers,

-- 
Jeff Wandling
Western Washington University Computer Center
uucp: uw-beaver!henson.cc.wwu.edu!jeff
Internet:  jeff@henson.cc.wwu.edu

merlyn@iWarp.intel.com (Randal L. Schwartz) (05/31/91)

In article <1991May30.172132.4493@henson.cc.wwu.edu>, jeff@henson (Jeff Wandling) writes:
| john@news%jho@iex.com (John Ho) writes:
| 
| >I am running Cnews and I tried to forward the group "misc.jobs.contract" 
| >to "barry" on a remote site called "payday" connected by uucp. I followed the
| >documentation and put in the following line but nothing happens.
| >Can someone tell me why?
| 
| >barry:misc.jobs.contract:f:mail payday!barry
|  ^^^^^
| 
| I'm sure you want the name of the machine ("payday") here instead.
| 
| From the NutShell Book on USENET & UUCP p172:
| 
| "The sys file should contain a line for every system for which you 
| forward news...
| 
| Each line contains four fields:
| 
| - A system name
| - The newsgroups to be forwarded to that system
| - Flags describing connections
| - The command to run to send news to the remote site. (If not the default)"

Bzzzt.  Wrong.  Thanks for playing.

The first field is pretty much arbitrary, *except* that the name is
checked against the "Path:" line of the article in question and
*won't* be sent if there's a match.

The problem is the second field.  The distribution control defaults to
the *same* as the newsgroup list.  You'd have to have a
"Distribution:" of exactly "misc.jobs.contract" on the article in
question.  Not very likely.  What you want is:

send-it-to-barry:misc.jobs.contract/all:f:mail payday!barry

See?  Wasn't too hard. :-)

Just another Cnews admin (for over 16 months now...),
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Intel: putting the 'backward' in 'backward compatible'..."====/

rickert@mp.cs.niu.edu (Neil Rickert) (05/31/91)

In article <1991May30.201940.19569@iWarp.intel.com> merlyn@iWarp.intel.com (Randal L. Schwartz) writes:
>question.  Not very likely.  What you want is:
>
>send-it-to-barry:misc.jobs.contract/all:f:mail payday!barry
>
>See?  Wasn't too hard. :-)

  I believe that builds a list of article names in the file
	"/usr/spool/news/out.going/mail payday!barry".

I sure hope that was what the original questionner wanted!

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert@cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940

merlyn@iWarp.intel.com (Randal L. Schwartz) (05/31/91)

In article <1991May30.203419.3658@mp.cs.niu.edu>, rickert@mp (Neil Rickert) writes:
| In article <1991May30.201940.19569@iWarp.intel.com> merlyn@iWarp.intel.com (Randal L. Schwartz) writes:
| >question.  Not very likely.  What you want is:
| >
| >send-it-to-barry:misc.jobs.contract/all:f:mail payday!barry
| >
| >See?  Wasn't too hard. :-)
| 
|   I believe that builds a list of article names in the file
| 	"/usr/spool/news/out.going/mail payday!barry".
| 
| I sure hope that was what the original questionner wanted!

Bah.  Have you ever had one of *those* days?  :-)

Right.  What you want is:

	send-it-to-barry:misc.jobs.contract/all::mail payday!barry

copied nearly directly out of my sys file.  (Except for the payday
part. :-)

Just another (red-faced) news admin,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Intel: putting the 'backward' in 'backward compatible'..."====/