3 public-inbox-netd - read-only network daemon for sharing public-inboxes
7 public-inbox-netd [OPTIONS]
11 public-inbox-netd provides a read-only multi-protocol
12 (HTTP/IMAP/NNTP/POP3) daemon for public-inbox. It uses options
13 and environment variables common to all
14 L<public-inbox-daemon(8)> implementations.
16 The default configuration will never require write access
17 to the directory where the public-inbox is stored, so it
18 may be run as a different user than the user running
19 L<public-inbox-watch(1)>, L<public-inbox-mda(1)>, or
24 See common options in L<public-inbox-daemon(8)/OPTIONS>.
28 =item -l PROTOCOL://ADDRESS/?cert=/path/to/cert,key=/path/to/key
30 =item --listen PROTOCOL://ADDRESS/?cert=/path/to/cert,key=/path/to/key
32 =item -l http://ADDRESS/?env.PI_CONFIG=/path/to/cfg,psgi=/path/to/app.psgi
34 In addition to the normal C<-l>/C<--listen> switch described in
35 L<public-inbox-daemon(8)>, the protocol prefix (e.g. C<nntp://> or
36 C<nntps://>) may be specified to force a given protocol.
38 Environment variable overrides in effect during loading and
39 reloading (SIGHUP) can be specified as C<env.NAME=VALUE> for
42 HTTP(S) listeners may also specify C<psgi=> to use a different
43 C<.psgi> file for each listener.
45 C<err=/path/to/errors.log> may be used to isolate error/debug output
46 for a particular listener away from C<--stderr>.
48 Non-HTTP(S) listeners may also specify C<out=> for logging to
49 C<stdout>. HTTP(S) users are encouraged to configure
50 L<Plack::Middleware::AccessLog> or
51 L<Plack::Middleware::AccessLog::Timed>, instead.
53 =item --cert /path/to/cert
55 See L<public-inbox-daemon(1)>.
57 =item --key /path/to/key
59 See L<public-inbox-daemon(1)>.
65 These configuration knobs should be used in the
66 L<public-inbox-config(5)>.
70 =item publicinbox.<name>.newsgroup
72 =item publicinbox.nntpserver
74 =item publicinbox.pop3state
78 See L<public-inbox-config(5)> for documentation on them.
82 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
84 The mail archives are hosted at L<https://public-inbox.org/meta/>, and
85 L<nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta>,
86 L<nntp://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/inbox.comp.mail.public-inbox.meta>
90 Copyright all contributors L<mailto:meta@public-inbox.org>
92 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>
96 L<git(1)>, L<git-config(1)>, L<public-inbox-daemon(8)>,
97 L<public-inbox-config(5)>