X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Fpublic-inbox-config.pod;h=05d9ca6266cd4ca3fd1b1fe4509c59455d43ab4a;hb=0b15dfc58ceaecdcb1c9285c3ad55813006c8338;hp=78f12ba2910302bac162701c968a82524677e22b;hpb=6d534038285ddd760709ba76ea007f9108200097;p=public-inbox.git diff --git a/Documentation/public-inbox-config.pod b/Documentation/public-inbox-config.pod index 78f12ba2..05d9ca62 100644 --- a/Documentation/public-inbox-config.pod +++ b/Documentation/public-inbox-config.pod @@ -17,13 +17,17 @@ all public-inboxes used by a particular user. =head2 EXAMPLE [publicinbox "test"] - mainrepo = /home/user/path/to/test.git + inboxdir = /home/user/path/to/test.git ; multiple addresses are supported address = test@example.com ; address = alternate@example.com url = http://example.com/test newsgroup = inbox.test + ; backwards compatibility with public-inbox pre-1.2.0, + ; "inboxdir" takes precedence over "mainrepo" + mainrepo = /home/user/path/to/test.git + =head2 VARIABLES =over 8 @@ -38,11 +42,14 @@ informational purposes. Default: none, required -=item publicinbox..mainrepo +=item publicinbox..inboxdir -The absolute path to the git repository which hosts the +The absolute path to the directory which hosts the public-inbox. This must be specified once. +This was previously known as "mainrepo", which remains supported, +but "inboxdir" takes precedence. + Default: none, required =item publicinbox..url @@ -56,7 +63,7 @@ Default: none, optional =item publicinbox..newsgroup The NNTP group name for use with L. This -may be any newsgroup name with hierarchies delimited by '.'. +may be any newsgroup name with hierarchies delimited by C<.>. For example, the newsgroup for L is: C @@ -67,57 +74,135 @@ Default: none, optional =item publicinbox..watch -A location for L to watch. Currently, -only C paths are supported: +See L - [publicinbox "test"] - watch = maildir:/path/to/maildirs/.INBOX.test/ +=item publicinbox..watchheader -Default: none; only for L users +See L -=item publicinbox..watchheader +=item publicinbox..listid - [publicinbox "test"] - watchheader = List-Id: +The L header without +angle brackets for L deliveries and +L. -Default: none; only for L users +For public-inbox-watch users, this is a shortcut for specifying +Cfoo.example.comE> + +For public-inbox-mda users, this may be used to avoid recipient +matching via C environment variable. + +This may be specified multiple times for merging multiple mailing +lists into a single public-inbox, only one C header +needs to match. + +Default: none =item publicinbox..nntpmirror This may be the full NNTP URL of an independently-run mirror. For example, the https://public-inbox.org/meta/ inbox is mirrored by Gmane at -C +C Default: none -=item publicinboxwatch.spamcheck +=item publicinbox..indexlevel -This may be set to C to enable the use of SpamAssassin -L for filtering spam before it is imported into git -history. Other spam filtering backends may be supported in -the future. +The indexing level for L + +C only requires L and provides all +NNTP functionality along with thread-awareness in the WWW +interface. + +C requires L to provide full-text +term search functionality in the WWW UI. + +C also includes positional information used by Xapian to +allow for searching for phrases using quoted text. +(e.g. C<"looking for a complete sentence">) + +Default: C + +=item publicinbox..indexSequentialShard + +See L + +=item publicinbox..httpbackendmax + +If a digit, the maximum number of parallel +L processes to allow for cloning this +particular inbox. + +If an alphanumeric value starting with a lowercase alphabetic +character is specified, the inbox will use a L +which can be shared by multiple inboxes. + +Default: 32 (using a default limiter shared by all inboxes) + +=item publicinbox..coderepo + +The nickname of a "coderepo" section associated with the inbox. +May be specified more than once for M:N mapping of code repos to +inboxes. If enabled, diff hunk headers in patch emails will +link to the line numbers of blobs. Default: none -=item publicinboxwatch.watchspam +=item publicinbox..replyto + +May be used to control how reply instructions in the PSGI +interface are displayed. -This may be set to C to enable the use of SpamAssassin +":none=dead inbox" may be specified to denote an inactive list +("dead inbox" may be replaced with another phrase). + +A list of comma-delimited email addresses may be specified. +This can be useful for dedicated inboxes for bot emails, but +discussion happens on a separate mailing list/inbox. + +Mirrors of existing centralized mailing lists may use ":list" +here to redirect mail only to the configured inbox address. +The use of ":list" is discouraged for new mailing lists, as it +leads to centralization. + +Default: :all + +=item publicinbox.css + +The local path name of a CSS file for the PSGI web interface. +May contain the attributes "media", "title" and "href" which match +the associated attributes of the HTML