FAQ incorrect?

Russ Allbery rra at stanford.edu
Thu Dec 6 20:53:41 UTC 2001

Matus \"fantomas\" Uhlar <uhlar at fantomas.sk> writes:

> Then try these commands (a variation on commands posted by Katsuhiro
> Kondou to inn-workers) on the old server:

> cd pathdb
> perl -ne '($a,$b,$_) = split " "; print if $_' history \
> | tr . / > pathoutgoing/list
> innxmit server list

> </CITE>

> Which 'old' server does that mean?

The previous server that you're upgrading from.  This magic should
actually work with any version of INN clear back to 1.0; it extracts the
filename or token.

> 2. it prints not just first field which can confuse innxmit (innxmit
> expects lines to be

> <file>
> <file> <Message-id> someching

Actually, it prints only the file name or token, and only the first of
those.  It intentionally avoids the latter format because in newer
versions of INN, the message ID isn't in the history file (just a hash of
the message ID).

> I'd recommend trying this line:

> perl -ne 'chomp; ($msgid,$time,$article,$_) = split "\t"; \
> $article =~ tr"."/"; printf ( "%s %s\n", $article, $msgid ) if $article'

> which prints message-id's and article paths in correct format.

This would break for any version of INN >2.2.

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

More information about the inn-workers mailing list