Check-in Number:
|
943 | |
Date: |
2001-Sep-12 09:29:23 (local)
2001-Sep-12 07:29:23 (UTC) |
User: | thl |
Branch: | |
Comment: |
updated documentation |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/lmtp2nntp/lmtp2nntp.c 1.52 -> 1.53
--- lmtp2nntp.c 2001/09/12 06:53:56 1.52
+++ lmtp2nntp.c 2001/09/12 07:29:23 1.53
@@ -169,17 +169,18 @@
*/
fprintf(stderr,
"USAGE: %s "
- "[-b bindaddr[:port]"
- "[-d deliverymode]"
- "[-g groupmode]"
- "[-h host[:port][,host[:port], ...]]"
- "[-m mailfrom]"
- "[-n nodename]"
- "[-s size]"
- "[-l level[:logfile]]"
- "[-v]"
- "[-w waittime]"
- "newsgroup [newsgroup ...]"
+ "lmtp2nntp "
+ "[-b bindaddr[:port]] "
+ "[-d deliverymode] "
+ "[-g groupmode] "
+ "[-h host[:port][,host[:port], ...]] "
+ "[-m mailfrom] "
+ "[-n nodename] "
+ "[-s size] "
+ "[-l level[:logfile]] "
+ "[-v] "
+ "[-w waittime] "
+ "newsgroup [newsgroup ...] "
"\n",
command);
return;
@@ -345,7 +346,7 @@
/* read in the arguments */
while ((i = getopt(argc, argv, "b:d:g:h:l:m:n:s:vw:")) != -1) {
switch (i) {
- case 'b': /*POD [B<-b> I<bindaddr>[I<:port>] */
+ case 'b': /*POD [B<-b> I<bindaddr>[I<:port>]] */
/* parse host[:port] string into host and port */
ctx->cpBindh = strdup(optarg);
if ((ctx->cpBindp = strrchr(ctx->cpBindh, ':')) != NULL) {
|
|
ossp-pkg/lmtp2nntp/lmtp2nntp.pod 1.19 -> 1.20
--- lmtp2nntp.pod 2001/09/10 14:11:33 1.19
+++ lmtp2nntp.pod 2001/09/12 07:29:23 1.20
@@ -33,7 +33,7 @@
=head1 SYNOPSIS
B<lmtp2nntp>
-[B<-b> I<bindaddr>[I<:port>]
+[B<-b> I<bindaddr>[I<:port>]]
[B<-d> I<deliverymode>]
[B<-g> I<groupmode>]
[B<-h> I<host>[I<:port>][,I<host>[I<:port>], ...]]
@@ -45,9 +45,6 @@
[B<-w> I<waittime>]
I<newsgroup> [I<newsgroup> ...]
-B<FIXME NOT YET IMPLEMENTED>
-[B<-i> I<messageid>]
-
=head1 DESCRIPTION
The B<lmtp2nntp> program is a LMTP service which is usually invoked by a MTA.
@@ -128,6 +125,19 @@
Size limitation on message in bytes. Default is 8388608 (8M). Values below 64
are considered unacceptable small.
+=item B<-l> I<level>[:I<logfile>]
+
+The level measures the degree and importance of output and can be any of
+PANIC, CRITICAL, ERROR, WARNING, NOTICE, INFO, TRACE or DEBUG. The recommended
+level for daily operations is NOTICE. The default name for logfile is
+"logfile". This program is using the logging library (l2) which is currently
+under development. An early access snapshot with limited functionality has
+been included. Currently the common denominator of usage between lmtp2nntp
+and l2 is to use logging into a file only. Note that this will change soon as
+during integration of l2 into lmtp2nntp logging channels for local syslog and
+a SMTP client were already finished and IRC and NNTP clients are under
+development.
+
=item B<-v>
Print version information.
@@ -145,12 +155,6 @@
groups can be specified. Crosspostings succeed if delivery to I<any> group
succeeds.
-B<FIXME NOT YET IMPLEMENTED>
-
-=item B<-i> I<messageid>
-
-Message id of MTA (for logging purposes only).
-
=back
=head1 SENDMAIL INTEGRATION
|
|