3 lei-config - git-config wrapper for lei configuration file
11 Call L<git-config(1)> with C<$XDG_CONFIG_HOME/lei/config> as the
12 configuration file. All C<OPTIONS> are passed through, but those that
13 override the configuration file are not permitted.
15 All C<imap> and C<nntp> options may be specified per-host or
16 (if using git 2.26+) with wildcards:
18 [imap "imap://*.onion"]
19 proxy = socks5h://127.0.0.1:9050
21 [nntp "nntp://example.com"]
22 proxy = socks5h://127.0.0.1:1080
30 Managed by L<lei-add-external(1)> and L<lei-forget-external(1)>
36 The C<socks5h://> proxy address. Older versions of SOCKS may
37 be supported if there is user demand.
43 Enable or disable STARTTLS on non-imaps:// and non-nntps://
44 hosts. By default, STARTTLS is enabled if available unless
45 connecting to a Tor .onion or localhost.
51 Enable protocol-level compression. This may be incompatible
52 or broken with some servers.
54 Note: L<Net::NNTP> compression support is pending:
55 L<https://rt.cpan.org/Ticket/Display.html?id=129967>
61 Enable debugging output of underlying IMAP and NNTP libraries,
62 currently L<Mail::IMAPClient> and L<Net::NNTP>, respectively.
63 If using L<imap.proxy> or L<nntp.proxy> point to a SOCKS proxy,
64 debugging output for L<IO::Socket::Socks> will be enabled, as
67 Disabling L<imap.compress> may be required for readability.
73 The read timeout for responses.
75 Default: 600 seconds (IMAP); 120 seconds (NNTP)
77 =item imap.fetchBatchSize
79 Number of full messages to fetch at once. Larger values reduce
80 network round trips at the cost of higher memory use, especially
81 when retrieving large messages.
83 Small responses for IMAP flags are fetched at 10000 times this value.
87 =item imap.ignoreSizeErrors
89 Ignore size mismatches from broken IMAP server implementations.
95 C<quoted>, C<hdrdefault>, C<status>, C<attachment> color slots
96 are supported for the C<-f text> and C<-f reply> output formats
97 of L<lei-lcat(1)> and L<lei-q(1)>.
99 Any per-project .git/config, and global ~/.gitconfig files
100 will also be parsed for diff coloring. git diff color slots
101 (C<color.diff.SLOT>) supported are C<new>, C<old>, C<meta>,
102 C<frag>, C<func>, and C<context>.
106 Feedback welcome via plain-text mail to L<mailto:meta@public-inbox.org>
108 The mail archives are hosted at L<https://public-inbox.org/meta/> and
109 L<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
113 Copyright 2021 all contributors L<mailto:meta@public-inbox.org>
115 License: AGPL-3.0+ L<https://www.gnu.org/licenses/agpl-3.0.txt>