如何配置 trn4 使用的新闻服务器?

如何配置 trn4 使用的新闻服务器?

如何将 FQDN 配置news.foo.bar为实际主机名?

thufir@doge:~$ 
thufir@doge:~$ trn4
            *** NEWS NEWS ***

Welcome to trn 4.0-test77 (Sep 1, 2010).

Type 'h' at any prompt to get help.  The old (rn-compatible) help
is usually available by typing 'H' as well.

This message will not be displayed again unless it is updated with new
information.

   - The friendly folks at <[email protected]>

Connecting to news.foo.bar...Name or service not knownfailed.
Couldn't open any newsrc groups.  Is your access file ok?
thufir@doge:~$ 

答案1

thufir@doge:~$ trn4
            *** NEWS NEWS ***

Welcome to trn 4.0-test77 (Sep 1, 2010).

Type 'h' at any prompt to get help.  The old (rn-compatible) help
is usually available by typing 'H' as well.

This message will not be displayed again unless it is updated with new
information.

   - The friendly folks at <[email protected]>

Connecting to foo.bar.baz...Done.
Unread news in gmane.comp.security.fail2ban.user           54 articles
Unread news in gmane.linux.ubuntu.user                     69 articles
Unread news in gmane.linux.centos.general                  37 articles
Unread news in gmane.comp.gnome.apps.pan.user               7 articles
Unread news in gmane.discuss                                3 articles
etc.

ADD newsgroups       145941 groups

a     0 1stone.archive
b     0 3b.config
d     0 3com.totalservice.test
e     0 3dfx.game.s
f     0 a.a.mis.philadelphia
g     0 a.a.mis.talk
i     0 a2i.b
j     0 a2i.info
l     0 a2i.lists.com-priv
o     0 aaa.product.jsp
r     0 abg.kultur
s     0 abg.test
t     0 acc.sbell.usa-to
u     0 acc.sbell.usa-today.banks
v     0 acc.sbell.ushead.life
w     0 achilles.general
x     0 acid-net.koordination.news
y     0 add
z     0 adfa.journals
1     0 adobe.acrobat.enterprise.installation.solutions
2     0 adobe.acrobat.scripting
3     0 adobe.golive.macintosh
4     0 adobe.golive.webworkgroupserver
5     0 adobe.livecycle.form.manager
6     0 adobe.livemotion.featurerequests
7     0 adobe.photoshop.scripting
8     0 adobe.web.design
9     0 aecom.med2y.pharmacology
0     0 agora.scienza.scienza
B     0 ai.ua
C     0 aist.rips.test
F     0 akmos.contest
G     0 akr.misc
I     0 al.freedom.jbpe
K     0 alabama.birmingham.radio
V     0 alabama.birmingham.students
W     0 alc.alc.c2h5oh

-- Select a newsgroup to add (natural order) -- Top 0% [>Z] --


Newsgroups       11 groups

a    54 gmane.comp.security.fail2ban.user
b    69 gmane.linux.ubuntu.user
d    37 gmane.linux.centos.general
e     7 gmane.comp.gnome.apps.pan.user
f     3 gmane.discuss
g     1 gmane.comp.telephony.pbx.asterisk
i     1 gwene.org.raspberrypi.asterisk
j     1 gmane.comp.telephony.pbx.asterisk.java
l     1 gmane.comp.telephony.pbx.asterisk.call-centers
o    15 gmane.comp.telephony.pbx.asterisk.user
r     9 gmane.mail.alpine.info

-- Select a newsgroup (natural order) -- All [Z>] --
thufir@doge:~$ 
thufir@doge:~$ cat /etc/news/server 
foo.bar.baz
thufir@doge:~$ 

通过编辑,/etc/news/servertrn4 似乎可以正确启动。但是,我并不完全确定这是正确的设置。是否可以在那里放置多个服务器?此文件是否使用仅有的trn4? 不确定。

相关内容