| 1 |
.. cyrusman:: fetchnews(8) |
| 2 |
|
| 3 |
.. author: Nic Bernstein (Onlight) |
| 4 |
|
| 5 |
.. _imap-reference-manpages-systemcommands-fetchnews: |
| 6 |
|
| 7 |
============= |
| 8 |
**fetchnews** |
| 9 |
============= |
| 10 |
|
| 11 |
Retrieve new articles from peer and feed to Cyrus |
| 12 |
|
| 13 |
Synopsis |
| 14 |
======== |
| 15 |
|
| 16 |
.. parsed-literal:: |
| 17 |
|
| 18 |
**fetchnews** [ **-C** *config-file* ] [ **-s** *servername*\ [:\ *port*\ ]] |
| 19 |
[ **-n** ] [ **-y** ] [ **-w** *wildmat* ] [ **-f** *tstampfile* ] |
| 20 |
[ **-a** *authname* [ **-p** *password* ]] *peername* |
| 21 |
|
| 22 |
Description |
| 23 |
=========== |
| 24 |
|
| 25 |
**fetchnews** retrieves news articles from a peer news server and |
| 26 |
feeds them to a Cyrus server. **fetchnews** connects to the peer |
| 27 |
specified by *peername*, requests new articles since the time stored in |
| 28 |
*tstampfile* and feeds them to *servername*. |
| 29 |
|
| 30 |
**fetchnews** |default-conf-text| |
| 31 |
|
| 32 |
Options |
| 33 |
======= |
| 34 |
|
| 35 |
.. program:: fetchnews |
| 36 |
|
| 37 |
.. option:: -C config-file |
| 38 |
|
| 39 |
|cli-dash-c-text| |
| 40 |
|
| 41 |
.. option:: -s servername, --server=servername |
| 42 |
|
| 43 |
Hostname of the Cyrus server (with optional port) to which articles |
| 44 |
should be fed. Defaults to "localhost:nntp". |
| 45 |
|
| 46 |
.. option:: -n, --no-newnews |
| 47 |
|
| 48 |
Don't use the NEWNEWS command. **fetchnews** will keep track of the |
| 49 |
high and low water marks for each group and use them to fetch new |
| 50 |
articles. |
| 51 |
|
| 52 |
.. option:: -y, --yyyy |
| 53 |
|
| 54 |
Use 4 instead of 2 digits for year. 2-digits are :rfc:`977` - but not |
| 55 |
y2k-compliant. |
| 56 |
|
| 57 |
.. option:: -w wildmat, --groups=wildmat |
| 58 |
|
| 59 |
Wildmat pattern specifying which newsgroups to search for new |
| 60 |
articles. Defaults to "*". |
| 61 |
|
| 62 |
|
| 63 |
.. option:: -f tstampfile, --newsstamp-file=tstampfile |
| 64 |
|
| 65 |
File in which to read/write the timestamp of when articles were |
| 66 |
last retrieved. Defaults to ``<configdirectory>/newsstamp`` as |
| 67 |
specified by the configuration options. |
| 68 |
|
| 69 |
.. option:: -a authname, --auth-id=authname |
| 70 |
|
| 71 |
Userid to use for authentication. |
| 72 |
|
| 73 |
.. option:: -p password, --password=password |
| 74 |
|
| 75 |
Password to use for authentication. |
| 76 |
|
| 77 |
Files |
| 78 |
===== |
| 79 |
|
| 80 |
/etc/imapd.conf |
| 81 |
|
| 82 |
See Also |
| 83 |
======== |
| 84 |
|
| 85 |
manpage:`imapd.conf(5)` |