Re: multiple nntp servers

THUFIR HAWAT <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
On 12/3/05, Patrick Shanahan <[email protected]> wrote:
> * THUFIR HAWAT <[email protected]> [12-03-05 16:40]:
> > Does slrnpull have the capability to pull messages from multiple nntp
> > servers?  Specifically, I'm using slrnpull to get nntp messages off my
> > ISP's server but also want to use gmane.
>
> yes
>
> man slrnpull

the -h option specifies the server.  How does the slrnpull.conf file
specify which group goes with which server, though?  Possibly each
server requires a seperate slrnpull.conf file.


[thufir@localhost ~]$ cat post.slrnpull
[root@localhost ~]# slrnpull -h snews.gmane.org
12/04/2005 02:40:16 slrnpull started.
12/04/2005 02:40:16 Reading /var/spool/slrnpull/slrnpull.conf
12/04/2005 02:40:16 Connecting to host snews.gmane.org ...
Unable to make connection. Giving up.
12/04/2005 02:40:17 ***Unable to initialize server.
12/04/2005 02:40:17 A total of 0 bytes received, 0 bytes sent in 1
seconds.
[root@localhost ~]# slrnpull -h nntp://snews.gmane.org
12/04/2005 02:40:21 slrnpull started.
12/04/2005 02:40:21 Reading /var/spool/slrnpull/slrnpull.conf
12/04/2005 02:40:21 Connecting to host nntp ...
Failed to resolve nntp
12/04/2005 02:40:21 ***Unable to initialize server.
12/04/2005 02:40:21 A total of 0 bytes received, 0 bytes sent in 0
seconds.
[root@localhost ~]# cat -n /var/spool/slrnpull/slrnpull.conf
     1  # This file is a sample configuration file for slrnpull.  Such a
file must
     2  # exist in the slrnpull spool directory.
     3
     4  # The syntax of the file is very simple.
     5  # Any line that is blank or begins with a '#' character will be
ignored by
     6  # slrnpull.  The remaining lines consist of 1-4 fields separated
by
     7  # whitespace (unlike shown here, all four fields must be on the
same line):
     8  #
     9  #   NEWSGROUP_NAME  MAX_ARTICLES_TO_RETRIEVE
NUMBER_OF_DAYS_BEFORE_EXPIRE
    10  #   FETCH_HEADERS_ONLY
    11  #
    12  # The first field must contain the name of a newsgroup.
    13  #
    14  # The second field denotes the number of articles to retrieve
for the
    15  # newsgroup; if its value is 0, all available articles will
    16  # be retrieved.
    17  # Please note that setting the value to 0 still does not make
slrnpull
    18  # retrieve any articles which are older than the last one it
already
    19  # fetched in that group.
    20  #
    21  # The third field indicates the number of days after an article
is retrieved
    22  # before it will be eligible for deletion.  If this value is 0,
articles from
    23  # this group will not expire.
    24  #
    25  # The fourth field can be set to 1 if you want slrnpull to only
fetch headers
    26  # for new articles by default. You can then mark individual
article bodies for
    27  # download in slrn (see README.offline for details).
    28  #
    29  # If a field is blank, or contains the single character '*',
default values
    30  # will apply to the field.  Defaults may be set by a line whose
newsgroup
    31  # field is 'default'.  Such a line will denote default values to
be applied to
    32  # the lines following it or until another default is
established.
    33
    34  # For example:
    35  #default                                20      14      0
    36  # indicates a default value of 20 articles to be retrieved from
the server and
    37  # that such an article will expire after 14 days.
    38
    39  # The following lines will get this default
    40  #clari.world.europe.iberia
    41  #rec.arts.movies.reviews
    42  #rec.arts.movies.current-films  *       7
    43
    44  # Here is a new default:
    45  #default                                0       0
    46  #clari.living.columns.joebob
    47  #rec.food.recipes
    48
    49  default                                 99999999        21
0
    50  #comp.mail.pine
    51  #comp.os.linux.networking
    52  #comp.os.linux.setup
    53  #microsoft.public.win2000.networking
    54  #Balt.politics.bush
    55  #alt.politics.gw-bush
    56  gmane.linux.redhat.fedora.general
[root@localhost ~]# date
Sun Dec  4 02:40:55 EST 2005
[root@localhost ~]#



thanks,

Thufir


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.