From 90f11ce471c53365a77896c847d0a39b0995b5b5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 10 Jun 2020 07:04:00 +0000 Subject: preliminary imap server implementation It shares a bit of code with NNTP. It's copy+pasted for now since this provides new ground to experiment with APIs for dealing with slow storage and many inboxes. --- Documentation/public-inbox-imapd.pod | 91 ++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 Documentation/public-inbox-imapd.pod (limited to 'Documentation') diff --git a/Documentation/public-inbox-imapd.pod b/Documentation/public-inbox-imapd.pod new file mode 100644 index 00000000..02027f4f --- /dev/null +++ b/Documentation/public-inbox-imapd.pod @@ -0,0 +1,91 @@ +=head1 NAME + +public-inbox-imapd - IMAP server for sharing public-inboxes + +=head1 SYNOPSIS + +B [OPTIONS] + +=head1 DESCRIPTION + +public-inbox-imapd provides a read-only IMAP daemon for +public-inbox. It uses options and environment variables common +to all L implementations. + +Like L and L, +C will never require write access +to the directory where the public-inboxes are stored, so it +may be run as a different user than the user running +L, L, or +L. + +=head1 OPTIONS + +See common options in L. +Additionally, IMAP-specific behavior for certain options +are supported and documented below. + +=over + +=item -l, --listen PROTO://ADDRESS/?cert=/path/to/cert,key=/path/to/key + +In addition to the normal C<-l>/C<--listen> switch described in +L, the C prefix (e.g. C or +C) may be specified to force a given protocol. + +For STARTTLS and IMAPS support, the C and C may be specified +on a per-listener basis after a C character and separated by C<,>. +These directives are per-directive, and it's possible to use a different +cert for every listener. + +=item --cert /path/to/cert + +The default TLS certificate for optional STARTTLS and IMAPS support +if the C option is not given with C<--listen>. + +If using systemd-compatible socket activation and a TCP listener on port +993 is inherited, it is automatically IMAPS when this option is given. +When a listener on port 143 is inherited and this option is given, it +automatically gets STARTTLS support. + +=item --key /path/to/key + +The default private TLS certificate key for optional STARTTLS and IMAPS +support if the C option is not given with C<--listen>. The private +key may concatenated into the path used by C<--cert>, in which case this +option is not needed. + +=back + +=head1 CONFIGURATION + +C uses the same configuration knobs +as L, see L +and L. + +=over 8 + +=item publicinbox..newsgroup + +The newsgroup name maps to an IMAP folder name. + +=back + +=head1 CONTACT + +Feedback welcome via plain-text mail to L + +The mail archives are hosted at L, +L, +L + +=head1 COPYRIGHT + +Copyright 2020 all contributors L + +License: AGPL-3.0+ L + +=head1 SEE ALSO + +L, L, L, +L, L -- cgit v1.2.3-24-ge0c7