1INNUPGRADE(8)             InterNetNews Documentation             INNUPGRADE(8)
2
3
4

NAME

6       innupgrade - Upgrade INN configuration files
7

SYNOPSIS

9       innupgrade directory
10
11       innupgrade [-t type] -f file
12

DESCRIPTION

14       innupgrade is intended to be run during a major upgrade of INN to fix
15       the configuration files with any required changes.  If given a
16       directory, it will scan that directory for any files that it has
17       updates defined for, try to perform those updates, and replace the
18       files with updated versions if applying the updates resulted in any
19       changes.  The old versions of the files will be saved with a ".OLD"
20       extension.
21
22       If the -f flag is used, only that file will be updated.  If the file
23       name doesn't match the standard file name of an INN configuration file,
24       the optional -t flag may be given to specify the type.  See "EXAMPLES"
25       for an example of this.
26
27       Currently, innupgrade knows how to apply the following updates:
28
29       incoming.conf
30         • Rename nolist and noresendid to respectively list and resendid.
31           Invert the related boolean values (since INN 2.7).
32
33         • Comment removed comment and email parameters (since INN 2.7).
34
35       inn.conf
36         • Quote values with whitespace and comment out keys with no values,
37           required for the change in configuration parsers introduced in
38           INN 2.4.  The new format is not backward compatible with the
39           previous parser, since the previous parser will include the double-
40           quotes in the value of the parameter.
41
42         • Add the hismethod parameter if not found (introduced in INN 2.4,
43           with the default value "hisv6").
44
45         • Rename nntpactsync to incominglogfrequency (since INN 2.5).  Rename
46           addnntppostingdate and addnntppostinghost to respectively
47           addinjectiondate and addinjectionpostinghost (since INN 2.6).
48
49         • Remove the refusecybercancels and verifycancels parameters (since
50           INN 2.7).
51
52         • If the overview.fmt file exists, its content is merged in the
53           extraoverviewadvertised and extraoverviewhidden parameters
54           introduced in INN 2.5.  The file is then renamed to
55           overview.fmt.OLD.
56
57         • If the sasl.conf file exists, its content is merged in the
58           tlscapath, tlscafile, tlscertfile and tlskeyfile parameters
59           introduced in INN 2.5.  The file is then renamed to sasl.conf.OLD.
60
61       inn-secrets.conf
62         • Create a non-world-readable inn-secrets.conf file in pathetc, if
63           not already existing (new in INN 2.7).
64
65       newsfeeds
66         • Replace the use of startinnfeed with the appropriate direct
67           invocation of innfeed or imapfeed (startinnfeed was removed in
68           INN 2.5).
69
70         • Replace the use of filechan with buffchan in unbuffered mode
71           (filechan was removed in INN 2.7).
72
73       readers.conf
74         • Rename require_ssl to require_encryption (since INN 2.7).
75
76       A few obsolete programs or configuration files are renamed with a
77       ".OLD" extension by innupgrade.  Obsolete man pages are directly
78       removed.
79
80       Normally, innupgrade should be run at least on the pathetc directory
81       after any upgrade of INN other than a patch release (any upgrade that
82       changes the first or second version numbers).  This may occur
83       automatically during the upgrade process.
84

OPTIONS

86       -f file
87           Only act on file rather than working on an entire directory.
88
89       -t type
90           For a file specified with -f, parse it and upgrade it as if it were
91           named type.  Used for upgrading files with the same syntax as
92           normal INN configuration files but with different names.  Only
93           makes sense in combination with -f.
94

EXAMPLES

96       Upgrade any configuration files found in pathetc and append a ".OLD"
97       extension to obsolete files in pathetc:
98
99           innupgrade <pathetc in inn.conf>
100
101       Upgrade only /news/etc/inn.conf:
102
103           innupgrade -f /news/etc/inn.conf
104
105       Upgrade a file named inn-special.conf that should have the same syntax
106       as inn.conf:
107
108           innupgrade -t inn.conf -f inn-special.conf
109
110       Any upgrade rules that apply to inn.conf will be applied to the
111       alternate file.
112

HISTORY

114       Written by Russ Allbery <eagle@eyrie.org> for InterNetNews.
115

SEE ALSO

117       incoming.conf(5), inn.conf(5), inn-secrets.conf(5), newsfeeds(5),
118       readers.conf(5).
119
120
121
122INN 2.7.0                         2022-07-10                     INNUPGRADE(8)
Impressum