Debian Codegraph @

templates/man1/rpost.1.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:40+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: debian-trixie debian-unstable
21 #, no-wrap
22 msgid "RPOST"
23 msgstr ""
24
25 #. type: SH
26 #: debian-trixie debian-unstable
27 #, no-wrap
28 msgid "NAME"
29 msgstr ""
30
31 #. type: Plain text
32 #: debian-trixie debian-unstable
33 msgid "rpost - post an article to an NNTP news server"
34 msgstr ""
35
36 #. type: SH
37 #: debian-trixie debian-unstable
38 #, no-wrap
39 msgid "SYNOPSIS"
40 msgstr ""
41
42 #. type: Plain text
43 #: debian-trixie debian-unstable
44 msgid ""
45 "I<rpost> [ hostname ] [ B<@filename> ] [ B<-s\\ |\\ -S> filename ] [ B<-e\\ |"
46 "\\ -E> filename ] [ B<-b> batchfile ] [ B<-r> rnews_file rnews_path ] [ B<-"
47 "p> prefix ] [ B<-Q> ] [ B<-d> ] [ B<-U> userid ] [ B<-P> password ] [ B<-"
48 "M> ] [ B<-N> port_number ] [ B<-l> phrase_file ] [ B<-D> ] [ B<-T> timeout ] "
49 "[ B<-u> ] [ B<-n> ]"
50 msgstr ""
51
52 #. type: Plain text
53 #: debian-trixie debian-unstable
54 msgid ""
55 "[ B<-F> perl_file ] [ B<-i> ] [ B<-z> ] [ B<-f> filter $$o=E<lt>outfileE<gt> "
56 "filter_arg1 ... ]"
57 msgstr ""
58
59 #. type: SH
60 #: debian-trixie debian-unstable
61 #, no-wrap
62 msgid "DESCRIPTION"
63 msgstr ""
64
65 #. type: Plain text
66 #: debian-trixie debian-unstable
67 msgid ""
68 "I<Rpost> will post one or more articles, specified by I<hostname.> If "
69 "hostname is not specified, rpost will use the environment variable "
70 "B<NNTPSERVER.> The hostname may optionally include the port number, in the "
71 "form B<Host:Port> If this form is used, any port number specified via the -N "
72 "option will be ignored."
73 msgstr ""
74
75 #. type: SH
76 #: debian-trixie debian-unstable
77 #, no-wrap
78 msgid "Generic Options"
79 msgstr ""
80
81 #. type: Plain text
82 #: debian-trixie debian-unstable
83 msgid "B<\\@filename>"
84 msgstr ""
85
86 #. type: Plain text
87 #: debian-trixie debian-unstable
88 msgid ""
89 "This option tells rpost to read other options from a file in addition to the "
90 "command line."
91 msgstr ""
92
93 #. type: Plain text
94 #: debian-trixie debian-unstable
95 msgid ""
96 "B<-D> This option tells rpost to log various debugging messages to "
97 "\"debug.suck\", primarily for use by the developer."
98 msgstr ""
99
100 #. type: Plain text
101 #: debian-trixie debian-unstable
102 msgid "B<-e>I<|>B<-E> filename"
103 msgstr ""
104
105 #. type: Plain text
106 #: debian-trixie debian-unstable
107 msgid ""
108 "These options will send all error messages (normally displayed on stderr), "
109 "to an alternate file. The lower case version, -e, will send the error "
110 "messages to the compiled-in default defined in suck_config.h. The default "
111 "is suck.errlog. The upper case version, -E, requires the filename "
112 "parameter. All error messages will then be sent to this file."
113 msgstr ""
114
115 #. type: Plain text
116 #: debian-trixie debian-unstable
117 msgid "B<-i>"
118 msgstr ""
119
120 #. type: Plain text
121 #: debian-trixie debian-unstable
122 msgid ""
123 "This option tells rpost to ignore the 201 (no posting allowed) from the "
124 "welcoming message and to try and post anyway. Some news servers (inn-2.3.1) "
125 "send 201 no posting allowed when they are using the AUTHINFO commands to "
126 "verify permission to post."
127 msgstr ""
128
129 #. type: Plain text
130 #: debian-trixie debian-unstable
131 msgid "B<-l> phrase_file"
132 msgstr ""
133
134 #. type: Plain text
135 #: debian-trixie debian-unstable
136 msgid ""
137 "This option tells rpost to load in an alternate phrase file, instead of "
138 "using the built-in messages. This allows you to have rpost print phrases in "
139 "another language, or to allow you to customize the messages without re-"
140 "building. See the \"FOREIGN LANGUAGE PHRASES\" in suck.1 for more details."
141 msgstr ""
142
143 #. type: Plain text
144 #: debian-trixie debian-unstable
145 msgid "B<-M>"
146 msgstr ""
147
148 #. type: Plain text
149 #: debian-trixie debian-unstable
150 msgid ""
151 "This option tells rpost to send the \"mode reader\" command to the remote "
152 "server. If you get an invalid command message from rpost immediately after "
153 "the welcome announcement, then try this option."
154 msgstr ""
155
156 #. type: Plain text
157 #: debian-trixie debian-unstable
158 msgid "B<-n>"
159 msgstr ""
160
161 #. type: Plain text
162 #: debian-trixie debian-unstable
163 msgid ""
164 "This option tells rpost to show the name of the file as it is being uploaded."
165 msgstr ""
166
167 #. type: Plain text
168 #: debian-trixie debian-unstable
169 msgid "B<-N> port_number"
170 msgstr ""
171
172 #. type: Plain text
173 #: debian-trixie debian-unstable
174 msgid ""
175 "This option tells rpost to use an alternate NNRP port number when connecting "
176 "to the host, instead of the default port number, 119."
177 msgstr ""
178
179 #. type: Plain text
180 #: debian-trixie debian-unstable
181 msgid "B<-s>I<|>B<-S> filename"
182 msgstr ""
183
184 #. type: Plain text
185 #: debian-trixie debian-unstable
186 msgid ""
187 "These options will send all status messages (normally displayed on stdout), "
188 "to an alternate file. The lower case version, -s, will send the status "
189 "messages to the compiled-in default defined in suck_config.h. The default "
190 "is /dev/null, so no status messages will be displayed. The upper case "
191 "version, -S, requires the filename parameter. All status messages will then "
192 "be sent to this file."
193 msgstr ""
194
195 #. type: Plain text
196 #: debian-trixie debian-unstable
197 msgid ""
198 "B<-T> This option overrides the compiled-in TIMEOUT value. This is how long "
199 "rpost waits for data from the remote host before timing out and aborting."
200 msgstr ""
201
202 #. type: Plain text
203 #: debian-trixie debian-unstable
204 msgid ""
205 "B<-u> This option tells rpost to send the AUTHINFO USER command immediately "
206 "upon connect to the remote server, rather than wait for a request for "
207 "authorization. You must supply the -U and -P options when you use this "
208 "option."
209 msgstr ""
210
211 #. type: Plain text
212 #: debian-trixie debian-unstable
213 msgid "B<-U> userid B<-P> password"
214 msgstr ""
215
216 #. type: Plain text
217 #: debian-trixie debian-unstable
218 msgid ""
219 "These two options let you specify a userid and password, if your NNTP server "
220 "requires them."
221 msgstr ""
222
223 #. type: Plain text
224 #: debian-trixie debian-unstable
225 msgid "B<-Q>"
226 msgstr ""
227
228 #. type: Plain text
229 #: debian-trixie debian-unstable
230 msgid ""
231 "This option allows you to specify the userid and password via the "
232 "environment variables \"NNTP_USER\" and \"NNTP_PASS\" instead of on the "
233 "command line. This prevents a potential security issue where someone doing "
234 "a ps command can see your login and password."
235 msgstr ""
236
237 #. type: Plain text
238 #: debian-trixie debian-unstable
239 msgid ""
240 "B<-z> This option tells rpost to use SSL to communicate with the remote "
241 "hosts, if SSL was compiled into rpost."
242 msgstr ""
243
244 #. type: SH
245 #: debian-trixie debian-unstable
246 #, no-wrap
247 msgid "STDIN MODE"
248 msgstr ""
249
250 #. type: Plain text
251 #: debian-trixie debian-unstable
252 msgid "rpost"
253 msgstr ""
254
255 #. type: Plain text
256 #: debian-trixie debian-unstable
257 msgid "rpost hostname"
258 msgstr ""
259
260 #. type: Plain text
261 #: debian-trixie debian-unstable
262 msgid ""
263 "rpost reads one article from stdin and sends it to the NNTP server. The "
264 "article must have a header of at least two lines, namely Newsgroups: and "
265 "Subject: and a body (the article). Header and body have to be separated by a "
266 "newline. Rpost does not change the article in any way."
267 msgstr ""
268
269 #. type: Plain text
270 #: debian-trixie debian-unstable
271 msgid ""
272 "Rpost uses the POST command to post your article, just like any standard "
273 "newsreader. This is handy when using SLIP and PPP, since most providers do "
274 "not allow any other method to post articles (such as nntpsend or innxmit)."
275 msgstr ""
276
277 #. type: SH
278 #: debian-trixie debian-unstable
279 #, no-wrap
280 msgid "BATCH MODE"
281 msgstr ""
282
283 #. type: Plain text
284 #: debian-trixie debian-unstable
285 msgid "I<rpost> hostname B<-b> batchfile B<-p> prefix B<-d>"
286 msgstr ""
287
288 #. type: Plain text
289 #: debian-trixie debian-unstable
290 msgid ""
291 "This batch mode allows you to give rpost a list of articles, and have them "
292 "all posted."
293 msgstr ""
294
295 #. type: Plain text
296 #: debian-trixie debian-unstable
297 msgid "-b batchfile"
298 msgstr ""
299
300 #. type: Plain text
301 #: debian-trixie debian-unstable
302 msgid ""
303 "A listing of the articles to be posted. This parameter is REQUIRED. This "
304 "file contains one article per line, with the line being the path to the file "
305 "containing the article. For example:"
306 msgstr ""
307
308 #. type: Plain text
309 #: debian-trixie debian-unstable
310 msgid "-b /usr/spool/news/out.going/pixi"
311 msgstr ""
312
313 #. type: Plain text
314 #: debian-trixie debian-unstable
315 msgid ""
316 "IF there are any problems uploading a specific article, a \"failed\" file "
317 "will be created. It will be called \"batchfile\".fail, and contain the line "
318 "from this batchfile for the article(s) that did not successfully upload. "
319 "This file can be used to re-run the failed messages through rpost. NOTE: "
320 "duplicate articles are NOT considered an error for the fail file."
321 msgstr ""
322
323 #. type: Plain text
324 #: debian-trixie debian-unstable
325 msgid "-d"
326 msgstr ""
327
328 #. type: Plain text
329 #: debian-trixie debian-unstable
330 #, no-wrap
331 msgid ""
332 "If the upload of articles is successful, this option will cause rpost to\n"
333 " delete the batchfile named in the -b option.\n"
334 msgstr ""
335
336 #. type: Plain text
337 #: debian-trixie debian-unstable
338 msgid "-p prefix"
339 msgstr ""
340
341 #. type: Plain text
342 #: debian-trixie debian-unstable
343 msgid ""
344 "If the batchfile does not contain a full path, but rather a partial path, "
345 "this parameter must be specified. This is useful when the batch file is "
346 "generated by another program. For example, Inn lists the path in the "
347 "out.going file relative to its base directory /usr/spool/news. In that case "
348 "just use:"
349 msgstr ""
350
351 #. type: Plain text
352 #: debian-trixie debian-unstable
353 #, no-wrap
354 msgid " -p /usr/spool/news\n"
355 msgstr ""
356
357 #. type: SH
358 #: debian-trixie debian-unstable
359 #, no-wrap
360 msgid "RNEWS MODE"
361 msgstr ""
362
363 #. type: Plain text
364 #: debian-trixie debian-unstable
365 msgid "I<rpost> hostname B<-r> rnews_file rnews_path"
366 msgstr ""
367
368 #. type: Plain text
369 #: debian-trixie debian-unstable
370 msgid ""
371 "This option allows you to use rnews generated file(s) to post. It requires "
372 "two parameters."
373 msgstr ""
374
375 #. type: Plain text
376 #: debian-trixie debian-unstable
377 msgid ""
378 "rnews_file - this is the base name for the rnews files. If you have your "
379 "rnews file(s) called batch1, batch2, etc., then this argument would be "
380 "\"batch\"."
381 msgstr ""
382
383 #. type: Plain text
384 #: debian-trixie debian-unstable
385 msgid "rnews_path - this is the path to the location of the rnews files."
386 msgstr ""
387
388 #. type: Plain text
389 #: debian-trixie debian-unstable
390 msgid "-r batch /usr/tmp/rnews"
391 msgstr ""
392
393 #. type: Plain text
394 #: debian-trixie debian-unstable
395 msgid ""
396 "If the upload of all the articles from any of the rnews files is successful, "
397 "then this option will cause rpost to delete that particular rnews file."
398 msgstr ""
399
400 #. type: SH
401 #: debian-trixie debian-unstable
402 #, no-wrap
403 msgid "FILTER MODES"
404 msgstr ""
405
406 #. type: Plain text
407 #: debian-trixie debian-unstable
408 msgid "-f filter $$o=E<lt>outfileE<gt> filter_arg1 filter_arg2 ..."
409 msgstr ""
410
411 #. type: Plain text
412 #: debian-trixie debian-unstable
413 msgid ""
414 "In many cases, each article must be massaged before the remote NNTP will "
415 "accept it. This option, and the embedded perl filter option below, lets you "
416 "do that. These filters do not work in STDIN mode, but in the batch and "
417 "rnews modes from above. Note that the -f .... option must be the LAST "
418 "option, as everything that follows it is passed to the filter, except as "
419 "noted below. There are three required parameters with this:"
420 msgstr ""
421
422 #. type: Plain text
423 #: debian-trixie debian-unstable
424 msgid ""
425 "$$o=E<lt>outfileE<gt>\t- E<lt>outfileE<gt> is the name of the file produced "
426 "by your filter that will get uploaded to the remote NNTP server. THIS IS "
427 "NOT passed to your filter program. This can be specified anywhere on the "
428 "command line AFTER the -f filter argument, either before the filter name, or "
429 "after it."
430 msgstr ""
431
432 #. type: Plain text
433 #: debian-trixie debian-unstable
434 msgid ""
435 "filter - name of the program to call. Whatever follows filter, EXCEPT for "
436 "the $$o, are arguments passed to the filter."
437 msgstr ""
438
439 #. type: Plain text
440 #: debian-trixie debian-unstable
441 msgid ""
442 "arg1 - The first argument to your filter program/script. It most likely "
443 "will be $$i, which rpost fills in with the name of the article that needs to "
444 "be cleaned up."
445 msgstr ""
446
447 #. type: Plain text
448 #: debian-trixie debian-unstable
449 msgid "arg2 ... - any additional args needed can be specified."
450 msgstr ""
451
452 #. type: Plain text
453 #: debian-trixie debian-unstable
454 msgid ""
455 "Let's clarify this a bit with an example. Some NNTP servers don't like to "
456 "receive articles with the NNTP-Posting-Host filled in. Create a short shell "
457 "script to delete this from a file:"
458 msgstr ""
459
460 #. type: Plain text
461 #: debian-trixie debian-unstable
462 msgid "-myscr--------------------------------------------"
463 msgstr ""
464
465 #. type: Plain text
466 #: debian-trixie debian-unstable
467 msgid "#!/bin/sh"
468 msgstr ""
469
470 #. type: Plain text
471 #: debian-trixie debian-unstable
472 msgid "sed -e \"/^NNTP-Posting-Host/d\" $1 E<gt> $2"
473 msgstr ""
474
475 #. type: Plain text
476 #: debian-trixie debian-unstable
477 msgid "-end myscr----------------------------------------"
478 msgstr ""
479
480 #. type: Plain text
481 #: debian-trixie debian-unstable
482 msgid "Then call rpost like this:"
483 msgstr ""
484
485 #. type: Plain text
486 #: debian-trixie debian-unstable
487 msgid ""
488 "rpost localhost -b /usr/spool/news/out.going/pixi -f myscr \\e$\\e$o=/tmp/"
489 "FILTERED_MSG \\e$\\e$i /tmp/FILTERED_MSG"
490 msgstr ""
491
492 #. type: Plain text
493 #: debian-trixie debian-unstable
494 msgid "Then, before each article is uploaded, myscr is called like such:"
495 msgstr ""
496
497 #. type: Plain text
498 #: debian-trixie debian-unstable
499 msgid "myscr infilename /tmp/FILTERED_MSG"
500 msgstr ""
501
502 #. type: Plain text
503 #: debian-trixie debian-unstable
504 msgid ""
505 "After myscr has finished, rpost uploads the cleaned up article, stored in /"
506 "tmp/FILTERED_MSG, to the remote NNTP server."
507 msgstr ""
508
509 #. type: SH
510 #: debian-trixie debian-unstable
511 #, no-wrap
512 msgid "NOTE:"
513 msgstr ""
514
515 #. type: Plain text
516 #: debian-trixie debian-unstable
517 msgid ""
518 "The $$o and $$i have to be escaped, using either the backslashes as above, "
519 "or with single quotes, to prevent the shell from trying to interpret these "
520 "as variables. Failure to escape them will result in rpost not working!"
521 msgstr ""
522
523 #. type: Plain text
524 #: debian-trixie debian-unstable
525 msgid "B<-F> perlfilter"
526 msgstr ""
527
528 #. type: Plain text
529 #: debian-trixie debian-unstable
530 msgid ""
531 "This option allows you to use an embedded perl filter to filter your "
532 "articles. In order to use this, you must edit the Makefile, and define the "
533 "various PERL_ options. It has a couple of advantages over the -f option "
534 "above. Because it is embedded perl, there are no forks and execls() done, "
535 "so it should be faster. Also, you don't need to worry about the arguments "
536 "to the program and escaping $$, etc as above."
537 msgstr ""
538
539 #. type: Plain text
540 #: debian-trixie debian-unstable
541 msgid ""
542 "Rpost will, when it starts up, load in the perlfilter file designated and "
543 "parse it for syntax errors. Then, for each article to be uploaded, rpost "
544 "will call the subroutine \"perl_rpost\", contained in the perlfilter file. "
545 "See sample/put.news.pl for a complete working example. There are three key "
546 "points you need to be aware of when creating your filter."
547 msgstr ""
548
549 #. type: Plain text
550 #: debian-trixie debian-unstable
551 msgid ""
552 "1. The perlfilter file must contain the line \"package Embed::Persistant;\", "
553 "so that variables in the perlfilter file don't clash with rpost variables, "
554 "and the subroutine must be called \"perl_rpost\". This can be changed by "
555 "editting the PERL_RPOST_SUB define in suck_config.h."
556 msgstr ""
557
558 #. type: Plain text
559 #: debian-trixie debian-unstable
560 msgid ""
561 "2. The perl_rpost subroutine receives the input file name as its sole "
562 "argument, and must return the full path to the location of the filtered "
563 "article as a single scalar string (return $outfile)."
564 msgstr ""
565
566 #. type: Plain text
567 #: debian-trixie debian-unstable
568 msgid ""
569 "3. The subroutine must explicitly close the output file (containing the "
570 "filtered argument) before it returns. This is because perl will only do an "
571 "automatic close upon program completion (in our case when rpost exits), or "
572 "when the file handle is reused (the next time the subroutine is called). If "
573 "the close is not done, then more than likely, a 0 byte file will exist when "
574 "rpost tries to post the article, and errors will result."
575 msgstr ""
576
577 #. type: SH
578 #: debian-trixie debian-unstable
579 #, no-wrap
580 msgid "WARNING:"
581 msgstr ""
582
583 #. type: Plain text
584 #: debian-trixie debian-unstable
585 msgid ""
586 "Be very careful with what the filter program deletes from the article. "
587 "Deleting the wrong line can have bad effects later on. For example, do not "
588 "delete the MSG-ID line, as this could cause a single message to be posted "
589 "many times, depending on the configuration of both the local and remote "
590 "newserver."
591 msgstr ""
592
593 #. type: SH
594 #: debian-trixie debian-unstable
595 #, no-wrap
596 msgid "RPOST ARGUMENT FILE"
597 msgstr ""
598
599 #. type: Plain text
600 #: debian-trixie debian-unstable
601 msgid ""
602 "If you specify @filename on the command line, rpost will read from filename "
603 "and parse it for any arguments that you wish to pass to rpost. You specify "
604 "the same arguments in this file as you do on the command line. The "
605 "arguments can be on one line, or spread out among more than one line. You "
606 "may also use comments. Comments begin with '#' and go to the end of a "
607 "line. All command line arguments override arguments in the file. One "
608 "advantage to using the file instead of the command line, is that you don't "
609 "have to escape any special characters, such as $."
610 msgstr ""
611
612 #. type: Plain text
613 #: debian-trixie debian-unstable
614 msgid "# Sample Argument file"
615 msgstr ""
616
617 #. type: Plain text
618 #: debian-trixie debian-unstable
619 msgid "-b batch # batch file option"
620 msgstr ""
621
622 #. type: Plain text
623 #: debian-trixie debian-unstable
624 msgid "-M\t# use mode reader option"
625 msgstr ""
626
627 #. type: SH
628 #: debian-trixie debian-unstable
629 #, no-wrap
630 msgid "EXIT VALUES"
631 msgstr ""
632
633 #. type: Plain text
634 #: debian-trixie debian-unstable
635 msgid "Rpost returns the following exit values:"
636 msgstr ""
637
638 #. type: Plain text
639 #: debian-trixie debian-unstable
640 msgid "0 = success"
641 msgstr ""
642
643 #. type: Plain text
644 #: debian-trixie debian-unstable
645 msgid "1 = error posting an article"
646 msgstr ""
647
648 #. type: Plain text
649 #: debian-trixie debian-unstable
650 msgid "2 = unable to do NNTP authorization with the remote server."
651 msgstr ""
652
653 #. type: Plain text
654 #: debian-trixie debian-unstable
655 msgid "3 = unexpected answer to command when doing NNTP authorization."
656 msgstr ""
657
658 #. type: Plain text
659 #: debian-trixie debian-unstable
660 msgid "-1 = other fatal error."
661 msgstr ""
662
663 #. type: SH
664 #: debian-trixie debian-unstable
665 #, no-wrap
666 msgid "SEE ALSO"
667 msgstr ""
668
669 #. type: Plain text
670 #: debian-trixie debian-unstable
671 msgid "suck(1), testhost(1), lpost(1)."
672 msgstr ""