Index: ossp-pkg/lmtp2nntp/lmtp2nntp.c RCS File: /v/ossp/cvs/ossp-pkg/lmtp2nntp/Attic/lmtp2nntp.c,v rcsdiff -q -kk '-r1.52' '-r1.53' -u '/v/ossp/cvs/ossp-pkg/lmtp2nntp/Attic/lmtp2nntp.c,v' 2>/dev/null --- 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[I<:port>] */ + case 'b': /*POD [B<-b> I[I<:port>]] */ /* parse host[:port] string into host and port */ ctx->cpBindh = strdup(optarg); if ((ctx->cpBindp = strrchr(ctx->cpBindh, ':')) != NULL) { Index: ossp-pkg/lmtp2nntp/lmtp2nntp.pod RCS File: /v/ossp/cvs/ossp-pkg/lmtp2nntp/lmtp2nntp.pod,v rcsdiff -q -kk '-r1.19' '-r1.20' -u '/v/ossp/cvs/ossp-pkg/lmtp2nntp/lmtp2nntp.pod,v' 2>/dev/null --- 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 -[B<-b> I[I<:port>] +[B<-b> I[I<:port>]] [B<-d> I] [B<-g> I] [B<-h> I[I<:port>][,I[I<:port>], ...]] @@ -45,9 +45,6 @@ [B<-w> I] I [I ...] -B -[B<-i> I] - =head1 DESCRIPTION The B 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[:I] + +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 group succeeds. -B - -=item B<-i> I - -Message id of MTA (for logging purposes only). - =back =head1 SENDMAIL INTEGRATION