Przemysław Maciuszko | 1 Jul 2004 10:55
Picon

Mailing problem with 2.3.5

Hello.
After upgrade to 2.3.5 I have a problem with moderated newsgroups.
When trying to post something to moderated group I get the following:

Posting failed (sh: /usr/lib/sendmail -oi -oem pl-praca-oferowana <at> usenet.pl:
not found)

and then:
Mailer exited with status 256 -- Article might not have been mailed

/usr/lib/sendmail is existing and as far as I can see - working fine.
Anyone has idea what's wrong?

--

-- 
Przemysław Maciuszko
Agora SA

Przemysław Maciuszko | 1 Jul 2004 11:13
Picon

Re: Mailing problem with 2.3.5

On Thu, Jul 01, 2004 at 10:55:17AM +0200, Przemysław Maciuszko wrote:

> When trying to post something to moderated group I get the following:

Problem solved.
There was an error with quote characters in the 'mta' line in inn.conf
innmail in 2.3.5 didn't like it :)

--

-- 
Przemysław Maciuszko
Agora SA

Frank McConnell | 1 Jul 2004 20:58

-STABLE nnrpd build report w/fix

FreeBSD 4.10-STABLE from about a month ago (how time flies).
Perl 5.6.1 installed from ports and "use.perl port" done.
Building inn-STABLE-20040701 from the tarball.

$ ./configure \
  --with-perl --enable-uucp-rnews --enable-setgid-inews --with-openssl=/usr
$ make
cd include   && make all
cd lib       && make all
cd storage   && make library
cd history   && make all
cd innd      && make all
cd nnrpd     && make all
gcc  -o nnrpd article.o cache.o group.o commands.o line.o list.o misc.o newnews.o nnrpd.o perl.o perm.o
post.o python.o sasl_config.o tls.o track.o
/usr/home/fmc/inn/work/inn-STABLE-20040701/history/libinnhist.a
/usr/home/fmc/inn/work/inn-STABLE-20040701/storage/libstorage.a
/usr/home/fmc/inn/work/inn-STABLE-20040701/lib/libinn.a    -L/usr/lib -lssl -lcrypto 
/usr/home/fmc/inn/work/inn-STABLE-20040701/lib/perl.o -Wl,-E  -L/usr/local/lib
/usr/local/lib/perl5/5.6.1/mach/auto/DynaLoader/DynaLoader.a
-L/usr/local/lib/perl5/5.6.1/mach/CORE -lperl -lm -lcrypt -lutil
/usr/local/lib/perl5/5.6.1/mach/auto/DynaLoader/DynaLoader.a(DynaLoader.o): In function `SaveError':
DynaLoader.o(.text+0x1a6): undefined reference to `Perl_vmess'
*** Error code 1

The problem is that it's picking up /usr/lib/libperl.a which is from
the base system Perl, 5.005_03.  Fixed in nnrpd/Makefile by moving
$(PERLLIB) before $(SSLLIB) in NNRPDLIBS.

It builds, no comments as yet on whether it runs.
(Continue reading)

Lisa Ungar | 1 Jul 2004 21:35
Picon
Favicon

unicode and UTF-8

Hi,
I saw in the documentation that  in 2.4.X there is support for UTF-8 in 
the uwildmat api for the inn configuration files.

Does this mean that the inn server supports unicode character sets (UTF-8) 
within the content of the newsgroups? 

For example, could one have a newsgroup which is Japanese as well as 
English newsgroups on the same inn server?

Is it the newsreader client  that provides the ability to enter and 
display UTF-8 format from the inn server? 

Do you recommended that we upgrade from 2.3.X to 2.4.1 for UTF-8 support?

Thanks for your help,

Lisa

Marco d'Itri | 2 Jul 2004 01:08
Picon
Favicon

Re: unicode and UTF-8

On Jul 01, Lisa Ungar <lungar <at> us.ibm.com> wrote:

> Does this mean that the inn server supports unicode character sets (UTF-8) 
> within the content of the newsgroups? 
No, it's unrelated.

> For example, could one have a newsgroup which is Japanese as well as 
> English newsgroups on the same inn server?
This has been supported since ages.

> Is it the newsreader client  that provides the ability to enter and 
> display UTF-8 format from the inn server? 
Yes, with MIME. Any decent newsreader supports this.

> Do you recommended that we upgrade from 2.3.X to 2.4.1 for UTF-8 support?
No.

--

-- 
ciao, |
Marco | [6998 piIzoBqvE7V6Y]

Russ Allbery | 2 Jul 2004 05:23
Picon
Favicon
Gravatar

Re: unicode and UTF-8

Lisa Ungar <lungar <at> us.ibm.com> writes:

> For example, could one have a newsgroup which is Japanese as well as
> English newsgroups on the same inn server?

INN makes no interpretation of the contents of newsgroup names at all.
You can name your newsgroups in any character set that you wish which
doesn't have embedded nul characters; INN won't care.  The only things to
be careful of are that news readers may not handle non-ASCII newsgroup
names correctly and that you have to be particularly cautious with control
messages to not accidentally encode the name of the newsgroup in
quoted-printable or base64, since INN doesn't know enough to decode them
again.

Note that this is not particularly widely tested, so there is some
possibility that you will encounter problems in the more obscure tools,
although I find it unlikely.

> Is it the newsreader client  that provides the ability to enter and 
> display UTF-8 format from the inn server? 

This is where your problems most likely will be; the news reader should be
able to display body text in any character set, but for headers that can't
use RFC 2047 encoding (such as the Newsgroups header), the news reader has
to know to guess and has to guess right.

> Do you recommended that we upgrade from 2.3.X to 2.4.1 for UTF-8 support?

No, INN's support in this regard has been mostly unchanged for ages; the
wildmat changes only affect fairly obscure issues when matching complex
(Continue reading)

Wilson, Sue LCC | 4 Jul 2004 01:24
Picon

502 You have no permission to talk

Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
some of my users are getting this error ... is it dns or readers.conf  =
... or

I don't see anything in the logs ... is there a good place to look??
=20
this guy is nwo.usace.army.mil
=20
others at  nwd.usace.army.mil work  ... ???=20
=20
....
I'm receiving the following error when trying to access the news server:
=20
502 You have no permission to talk.  Goodbye.
=20
Configuration:
   Account: nntp.usace.army.mil
   Server: nntp.usace.army.mil
   Protocol: NNTP
   Port: 119
   Secure(SSL): 0
   Error Number: 502
   Code: 800ccca0

Mark A. Kane
Command Information, Public Affairs
Rock Island District, US Army Corps of Engineers
309-794-5730=20
(Continue reading)

Christoph Biedl | 4 Jul 2004 12:20
Picon
Picon

The idea behind 'strippath' implementation?

Hello,

To me, the readers.conf manpage about strippath reads as 'If enabled,
any client preloaded path will be stripped'. However, the sources (INN
2.4.1) in nnrpd/post.c show that the last element in a preloaded path
is carefully preserved and left in the posting before prepending
PATHMASTER.

What's the idea behind it? May I ask to sync manpage and code in one of
either ways e.g. a clarification in the description of that option?

	Christoph

Russ Allbery | 4 Jul 2004 19:45
Picon
Favicon
Gravatar

Re: The idea behind 'strippath' implementation?

Christoph Biedl <cbiedl <at> gmx.de> writes:

> To me, the readers.conf manpage about strippath reads as 'If enabled,
> any client preloaded path will be stripped'. However, the sources (INN
> 2.4.1) in nnrpd/post.c show that the last element in a preloaded path is
> carefully preserved and left in the posting before prepending
> PATHMASTER.

It's because the last element of the path used to be the username, rather
than a host name.

> What's the idea behind it? May I ask to sync manpage and code in one of
> either ways e.g. a clarification in the description of that option?

I don't object to stripping the entire path.  Does anyone feel that this
last element should be kept?

--

-- 
Russ Allbery (rra <at> stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

Sergey Babitch | 8 Jul 2004 18:03

PATCH: Add size and post time of the article to tape (backlog file).

Hi, inn-workers!
I want two features.

1) Show spool size for peer, like:

ttyri://vinny <at> zeus:~> finger dg:OUTBOUND <at> news2.lucky.net
[news2.lucky.net]
===============================================================================
Queue file               Articles size  Articles       Queue file date
-------------------------------------------------------------------------------
dg-2.input                      29.28G     85989       Thu Jul  8 18:09:18 2004
dg-2.output                     659.6M      3212       Thu Jul  8 15:49:11 2004
dg.input                        597.3M     40363       Thu Jul  8 18:09:18 2004
dg.output                       10.76M      1022       Thu Jul  8 16:16:51 2004
-------------------------------------------------------------------------------
TOTAL:                          30.55G    130586  NOW: Thu Jul  8 18:09:18 2004

ttyri://vinny <at> zeus:~> 

2) Cutoff articles obtained from tape (backlog file) at local news
   system, if age of the article is more then value of parameter
   "artcutoff" set at remote news system.

   Daily Usenet report for this features looks like:

Cut off articles from backlog:
Server                   Spooled UnSpooled  CutOff %UnSpooled %CutOff %ReQueued
dg                          1983      1983       0       100%      0%      100%
dg-2                      102461     80476   40282        78%     50%       39%
horse                       5345      5345       4       100%      0%       99%
(Continue reading)


Gmane