Article View: news.software.readers
Article #189416pan set to localhost for leafnode?
From: Thufir
Date: Fri, 18 Aug 2006 19:09
Date: Fri, 18 Aug 2006 19:09
466 lines
17443 bytes
17443 bytes
Pardon, but from "Tools" --> "News Servers..." in the menu for Pan,
then the "Pan: Servers" dialog pops up, the default server has an
address of "localhost" and a port of "119" which, I believe to be
correct for interacting with leafnode. Yes?
Pan seems to work fine when I enter my ISP's server
(shawnews.vc.shawcable.net) with port 119. For leafnode I'm prompted
to ask if I want a list of groups, but nothing actually happens :(
(At the moment, fetchnews seems to be running, albeit with the FQDN set
within the leafnode config file, not globally as suggested by the
leafnode documentation.)
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# fetchnews -vvv
leafnode 1.11.5: verbosity level is 3, debugmode is 0
try_lock(timeout=5), fqdn="geidiprime.servebeer.com"
shawnews.vc.shawcable.net: connecting to port nntp...
shawnews.vc.shawcable.net: connected.
shawnews.vc.shawcable.net: using STAT <message-ID> command.
shawnews.vc.shawcable.net: 0 articles posted.
check_date: shawnews.vc.shawcable.net: clocks of upstream and this
computer are
more than10 minutes apart. Check your system clock.
shawnews.vc.shawcable.net: getting new newsgroups
shawnews.vc.shawcable.net: got 0 new newsgroups.
shawnews.vc.shawcable.net: reading server info from
/var/spool/news/leaf.node/shawnews.vc.shawcable.net
shawnews.vc.shawcable.net: conversation completed, disconnected.
wrote active file with 61857 lines
Started process to update overview data in the background.
Network activity has finished.
[root@localhost ~]# cat /etc/leafnode/config -n
1 ## Unread articles will be deleted after this many days if
2 ## you don't define special expire times. Mandatory.
3 expire = 20
4
5 ## This is the NNTP server leafnode fetches its news from.
6 ## You need read and post access to it. Mandatory.
7 server = shawnews.vc.shawcable.net
8
9 ##
10 ## All the following parameters are optional
11 ##
12
13 ## Important and recommended setting:
14 ## Fetch only a few articles when we subscribe a new newsgroup.
The
15 ## default is to fetch all articles.
16 ## As leafnode forgets the article numbers of its upstream
server when
17 ## a group is marked as uninteresting, and later marked
interesting
18 ## again, you may end up downloading ALL articles from the
upstream
19 ## in that group. So uncomment and adjust this line:
20 # initialfetch = 100
21
22 ## Debugging setting:
23 ##
24 ## This MUST be accompanied by syslog.conf changes!
25 ## ------------------------------------------------
26 ## Make sure you've also read the TROUBLESHOOTING section in
README.
27 ##
28 ## The higher, the more output will be logged - note the
debugging
29 ## output is copious in any case, so leave this at 0 for normal
use,
30 ## and set to 1, 2 or 3 only for debugging.
31 # debugmode = 3
32
33 ## I have free access to my news server. If you don't have,
comment out
34 ## the following two lines and change them accordingly.
35 # username = gulbrandsen
36 # password = secret
37
38 ## By default, leafnode only serves connections from addresses
in the
39 ## local networks and drops those from outside. An IPv4 address
is
40 ## considered local if it is within the networks (IP/netmask)
of the
local
41 ## interfaces. An IPv6 address is considered local if it is
site-local,
42 ## link-local or the loopback address (::1).
43 ##
44 ## You can enable remote access by doing:
45 ## 1. enabling access for single static IPs (or subnetworks)
through
46 ## your super server (xinetd, tcpserver) or, if the service
is wrapped
by
47 ## tcpd, hosts.allow/hosts.deny configuration,
48 ## 2. disabling access for all other hosts (default to deny),
49 ## 3. testing that "deny" works, to avoid abuse of your server,
50 ## 4. uncommenting this option, capitalizing the "strangers"
subword and
51 ## setting the value to 42.
52 ##
53 ## WARNING: ENABLING THIS OPTION IS DANGEROUS. YOU AGREE TO BE
LIABLE
54 ## FOR ALL ABUSE OF YOUR SERVER WHEN THIS OPTION IS ENABLED.
55 ## IF ANYTHING ABOUT ITEMS 1. TO 3. ABOVE IS UNCLEAR, DO NOT
ENABLE THIS!
56 ## IF YOU ARE NOT FAMILIAR WITH ACCESS CONTROL, OR YOUR CLIENTS
ARE ON
57 ## DYNAMIC IPS, YOU MUST NOT ENABLE THIS. (You can use other,
authenticated,
58 ## methods of access instead, for instance SSH tunnels.)
59 ##
60 # allowstrangers = 0
61
62 ## Standard news servers run on port 119, reserved for NNTP, so
that's
63 ## the default port fetchnews wants to connect to. If your
ISP's news
64 ## server (or other "upstream") does not listen on this
standard port,
65 ## you can set the "port" option. Note that it is only relevant
for
66 ## fetchnews, for leafnode, set the port in your inetd.conf,
xinetd.conf
67 ## file or tcpsvd/tcpserver command line, whatever is relevant
for your
68 ## system. Leafnode does not currently support SSL.
69 ## Give "port" a numeric value, example:
70 # port = 9119
71
72 ## If you want to guarantee that the stdout/stderr are line
buffered
73 ## (GNU libc sets them to full buffering if they are redirected
to
74 ## files), then set this:
75 # linebuffer = 1
76
77 ## This is another news server which stores some groups that
are not
78 ## available on the first one. You can define username,
password and port
79 ## for each server separately.
80 # server = specific.newsgroups.example.com
81 # username = xenu
82 # password = secret
83
84 ## This is a news server which does not understand the
85 ## "LIST NEWSGROUP news.group" command. For this reason, we
don't try to
86 ## download newsgroups descriptions when getting new
newsgroups. This is
87 ## achieved by putting "nodesc = 1" somewhere behind the server
88 ## line.
89 # server = broken.upstream.example.org
90 # nodesc = 1
91
92 ## Here we have another news server which has a very slow
connection. For
93 ## that reason, we wait a full minute before we give up trying
to
connect.
94 ## The default is 10 seconds.
95 # server = really.slow.example.org
96 # timeout = 60
97
98 ## Disable the updating of the active file unless specifically
requested
99 ## in order to minimise network usage as much as possible. The
active
100 ## file can be updated manually with the "-f" option to
fetchnews.
101 # server = even.slower.example.com
102 # noactive = 1
103
104 ## And this is a news server you only want to pull news from,
but never
105 ## post to. You can also use this as a workaround if you do not
have
posting
106 ## permission on the server while it still greets you with a
200 code.
107 ## The default is: nopost = 0
108 # server = lurk-only.example.com
109 # nopost = 1
110
111 ## And this is a news server you only want to post to, but
never
112 ## fetch messages from. If set, noactive = 1 is also assumed.
113 ## The default is: noread = 0
114 # server = post-only.example.com
115 # noread = 1
116
117 ## And this is a news server with broken XOVER. Forbid XOVER,
118 ## leafnode will use XHDR. XHDR may be slower or faster than
XOVER,
119 ## depending how many of the maxlines/minlines, maxbytes,
maxage
120 ## and similar options.
121 ## The default is: noxover = 0
122 # server = post-only.example.com
123 # noxover = 1
124
125 ## The post_anygroup parameter affects posting and makes
leafnode skip
126 ## the check if the newsgroup is carried by the respective
server.
127 ## Use this on servers that allow only posting, but no "GROUP"
commands.
128 ## Note: do not enable unless you know you may post to that
server, your
129 ## postings might end up in the failed.postings directory
otherwise.
130 # server = post-only.example.com
131 # post_anygroup = 1
132
133 ## This shows how a server is configured that only has specific
news
134 ## groups. Note that this parameter is a PCRE, not a wildmat!
See
135 ## pcre(3), pcrepattern(3) or pcre(7), depending on your PCRE
version.
136 ## IMPORTANT: you must run fetchnews -f to make changes to this
137 ## option effective.
138 # server = cnews.corel.com
139 # only_groups_pcre = corel\.
140
141 ## Another option related to and depending on this
only_groups_pcre
option
142 ## is relevant for posting; if set, ALL groups in a Newsgroups:
header
143 ## of a cross-posting will must match before the article is
posted to
144 ## the server. If unset, ANY group that matches allows the
post.
145 # only_groups_match_all = 1
146
147 ## Non-standard expire times (glob(7) wildcard constructs
possible)
148 #
149 # groups too big to hold articles 20 days:
150 # groupexpire comp.os.linux.* = 5
151 #
152 # very interesting, hold articles longer:
153 # groupexpire any.local.newsgroup = 100
154 #
155 # archive this group (fetchnews uses the global expire to
figure the
156 # maxage, but texpire will skip it):
157 # groupexpire my.archived.group = -1
158
159 ## Never fetch more than this many articles from one group in
one run.
160 ## Be careful with this; setting it much below 1000 is probably
a bad
161 ## idea.
162 # maxfetch = 2000
163
164 ## If you want to use leafnode like an offline newsreader (e.g.
Forte
165 ## Agent) you can download headers and bodies separately if you
set
166 ## delaybody to 1. In this case, fetch will only download the
headers
167 ## and only when you select an article, it will download the
body.
168 ## This can save a huge amount of bandwith if only few articles
are
really
169 ## read from groups with lots of postings.
170 ## This feature works not very well with Netscape, though
(which is not
171 ## a fault of Leafnode).
172 # delaybody = 0
173
174 ## If you have configured delaybody mode and your newsreader
doesn't
175 ## cope with articles changing their numbers but not their
Message-ID
176 ## such as Knode, then try setting this switch to 1, which
177 ## will make fetchnews keep the article number.
178 ## You'll have to switch the article body cache off though in
your
179 ## newsreader.
180 # delaybody_in_situ = 0
181
182 ## To avoid spam, you can select the maximum number of
crosspostings
183 ## that are allowed in incoming postings. Setting this below 5
is
184 ## probably a bad idea. The default is unlimited crossposting.
185 # maxcrosspost = 5
186
187 ## If you suffer from repeatedly receiving old postings (this
happens
188 ## sometimes when an upstream server goes into hiccup mode) you
can
189 ## refuse to receive them with the parameter "maxage" which
tells the
190 ## maximum allowed age of an article in days. A value of 0
indicates that
191 ## no checking should be performed. The default maxage is 10
days.
192 ## WARNING: maxage can be overridden by expire! See the
clamp_maxage
193 ## parameter below.
194 # maxage = 10
195
196 ## By default, maxage is limited to groupexpire (if applicable)
or
197 ## expire (otherwise). On some rare occasions, this limit may
be
198 ## undesirable. To avoid this maxage manipulation, uncomment
this line:
199 # clamp_maxage = 0
200
201 ## maxlines will make fetch reject postings that are longer
than a
certain
202 ## amount of lines.
203 # maxlines = 100
204
205 ## minlines will make fetch reject postings that are shorter
than a
certain
206 ## amount of lines.
207 # minlines = 2
208
209 ## maxbytes will make fetch reject postings that are larger
210 # maxbytes = 50000
211
212 ## timeout_short determines how many days fetch gets a
newsgroup which
213 ## has been accidentally opened. The default is two days.
214 # timeout_short = 1
215
216 ## timeout_long determines how many days fetch will wait before
not
getting
217 ## an unread newsgroup any more. The default is seven days.
218 # timeout_long = 6
219
220 ## timeout_active determines how many days fetch will wait
before
re-reading
221 ## the whole active file. The default is 90 days.
222 # timeout_active = 365
223
224 ## timeout_client determines how many seconds of inactivity to
allow
before
225 ## a client is forcibly disconnected. The default is 15 mins
(900s).
Optional.
226 # timeout_client = 900
227
228 ## timeout_fetchnews determines how many seconds fetchnews will
wait for
229 ## a server reply before assuming the server has become wedged.
230 ## The default is 5 mins (300s). Optional.
231 # timeout_fetchnews = 300
232
233 ## timeout_lock determines how long the leafnode programs retry
to
234 ## obtain the lock file. The default is 5 seconds.
235 ## Note you can use the LN_LOCK_TIMEOUT environment variable to
override
236 ## this.
237 # timeout_lock = 900
238
239 ## If you want to have your newsreader score/kill on Xref:
lines, you
might
240 ## want to uncomment this.
241 # create_all_links = 1
242
243 ## If you want to filter out certain regular expressions in the
header,
244 ## create a "filterfile" (how this is done is explained in the
README)
245 ## and set
246 # filterfile = /etc/leafnode/filters
247
248 ## Note that filtering usually means HEAD and BODY are
downloaded
249 ## separately, so fetchnews has to wait for the packets TWICE
to travel
250 ## to the server and back. If you have a fast link with high
latencies
251 ## (for example a DSL line with interleaving or a satellite
link), it
252 ## may be faster to request header and body in a single command
and
253 ## discard the body. Note that the filter applies to the header
only in
254 ## either case because PCRE matching is expensive.
255 ##
256 ## If you have one of the high-latency high-throughput links
and have
257 ## enough free traffic left or a flat rate (no per-MByte
billing),
uncomment
258 ## this:
259 # article_despite_filter = 1
260
261 ## If your newsreader does not supply a Message-ID for your
postings
262 ## Leafnode will supply one, using the hostname of the machine
it is
263 ## running on. If this hostname is not suitable, this
parameter can be
264 ## used to override it. Do not use a fantasy name, it may
interfere with
265 ## the propagation of your messages. Most modern newsreaders
do provide
266 ## a Message-ID.
267 # hostname = myhost.example.org
268 hostname = geidiprime.servebeer.com
269
270
271 ## You can also override the From: header address shown in
placeholder
272 ## articles. It should be the news administrator's mail
address.
273 # newsadmin = postmaster@another.example.org
274
275 ## If in your local Usenet hierarchy, posting unencoded 8-bit
data in
276 ## headers is condoned, uncomment this option to allow this.
8-bit data
277 ## in headers is officially illegal, although the header
character set
278 ## may change to UTF-8 soon.
279 # allow_8bit_headers = 1
[root@localhost ~]# pan &
[1] 2446
[root@localhost ~]# exit
logout
[1]+ Done pan
[thufir@localhost ~]$ pan &
[1] 2454
[thufir@localhost ~]$ date
Fri Aug 18 12:55:53 IST 2006
[1]+ Done pan
[thufir@localhost ~]$
[thufir@localhost ~]$
thanks,
Thufir
Technical Details
Message-ID:
<1155928170.772913.111210@m79g2000cwm.googlegroups.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!m79g2000cwm.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <1155928170.772913.111210@m79g2000cwm.googlegroups.com> Subject: pan set to localhost for leafnode? Date: Fri, 18 Aug 2006 19:09:30 +0000 From: "Thufir" <hawat.thufir@gmail.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!m79g2000cwm.googlegroups.com!not-for-mail Newsgroups: news.software.readers Organization: http://groups.google.com Lines: 466 NNTP-Posting-Host: 24.84.131.197 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1155928176 8427 127.0.0.1 (18 Aug 2006 19:09:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 18 Aug 2006 19:09:36 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; pango-text,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m79g2000cwm.googlegroups.com; posting-host=24.84.131.197; posting-account=fzKvuw0AAABwacCCYjdJ_2qlt6GHSH_U