about summary refs log tree commit homepage
path: root/script
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-07-20 09:24:09 +0000
committerEric Wong <e@80x24.org>2022-07-20 16:43:11 +0000
commit68046e0fff12c35d793a7ae9f164ac415c84cc21 (patch)
tree2f1a05b410f2cd2bb40957a05ac693d833da6ad1 /script
parent08ac230c500560d583362c75583a8acb03c14bf0 (diff)
downloadpublic-inbox-68046e0fff12c35d793a7ae9f164ac415c84cc21.tar.gz
Old account expiry has not been implemented, but it seems to
work well with both mpop(1) and getmail(1).  The strictness of
mpop was particularly helpful in ironing out bugs in our
implementation of (dreaded) message sequence numbers.

"EXPIRE 0" (RFC 2449) can theoretically save numerous "DELE"
commands, but that's untested by real-world clients.  mpop
supports PIPELINING which is effective in hiding latency,
and the core networking functionality is already well-tested
from our NNTP and IMAP implementations.

Configuration requires "publicinbox.pop3state" to point to
a directory writable by the otherwise read-only daemon.
See public-inbox-pop3d(1) manpage for more usage details.
Diffstat (limited to 'script')
-rwxr-xr-xscript/public-inbox-pop3d8
1 files changed, 8 insertions, 0 deletions
diff --git a/script/public-inbox-pop3d b/script/public-inbox-pop3d
new file mode 100755
index 00000000..ec944aee
--- /dev/null
+++ b/script/public-inbox-pop3d
@@ -0,0 +1,8 @@
+#!perl -w
+# Copyright (C) all contributors <meta@public-inbox.org>
+# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
+#
+# Standalone POP3 server for public-inbox.
+use v5.12;
+use PublicInbox::Daemon;
+PublicInbox::Daemon::run('pop3://0.0.0.0:110');