From 305f9932aca75e0841560548ef1db0273f5bd2b2 Mon Sep 17 00:00:00 2001
From: Vladimir Dubrovin <3proxy@3proxy.ru>
Date: Wed, 22 Jul 2026 18:47:11 +0300
Subject: [PATCH] Update docs
---
doc/html/index.html | 1 +
doc/html/man5/3proxy.cfg.5.html | 14 +-
doc/html/man8/3proxy.8.html | 14 +-
doc/html/man8/imapp.8.html | 287 ++++++++++++++++++++++++++++++++
doc/html/man8/pop3p.8.html | 33 +++-
doc/html/man8/smtpp.8.html | 34 +++-
doc/html/man8/tlspr.8.html | 40 +++--
7 files changed, 391 insertions(+), 32 deletions(-)
create mode 100644 doc/html/man8/imapp.8.html
diff --git a/doc/html/index.html b/doc/html/index.html
index e4c60c4..dd33882 100644
--- a/doc/html/index.html
+++ b/doc/html/index.html
@@ -8,6 +8,7 @@
3proxy_crypt.8
3proxy.8
ftppr.8
+
imapp.8
pop3p.8
proxy.8
smtpp.8
diff --git a/doc/html/man5/3proxy.cfg.5.html b/doc/html/man5/3proxy.cfg.5.html
index 62f30a0..847c159 100644
--- a/doc/html/man5/3proxy.cfg.5.html
+++ b/doc/html/man5/3proxy.cfg.5.html
@@ -87,6 +87,7 @@ start gateway services:
3proxy(8),
3proxy_crypt(8), proxy(8), ftppr(8), socks(8), pop3p(8),
-smtpp(8), tlspr(8), tcppm(8), udppm(8), syslogd(8),
+imapp(8), smtpp(8), tlspr(8), tcppm(8), udppm(8),
+syslogd(8),
https://3proxy.org/
3proxy.cfg(5),
-proxy(8), ftppr(8), socks(8), pop3p(8), tcppm(8), udppm(8),
-kill(1), syslogd(8),
+proxy(8), ftppr(8), socks(8), pop3p(8), imapp(8), tcppm(8),
+udppm(8), kill(1), syslogd(8),
https://3proxy.org/
imapp - +IMAPv4 proxy gateway service
+ +imapp +[-d] [-l[[@]logfile]] +[-pport] [-iinternal_ip] +[-eexternal_ip] +[-hdefault_ip[:port]] [-x]
+ +imapp +is IMAPv4 (IMAP4rev1) gateway service to allow internal +users to access external IMAP servers.
+ +| + |
+
+
+ -I |
++ |
+
+
+ Inetd mode. Standalone service +only. |
| + |
+
+
+ -d |
++ |
+
+
+ Daemonize. Detach service from +console and run in the background. |
| + |
+
+
+ -t |
++ |
+
+
+ Be silenT. Do not log +start/stop/accept error records. |
| + |
+
+
+ -u |
++ |
+
+
+ Never look for username +authentication. |
| + |
+
+
+ -e |
++ |
+
+
+ External address. IP address of +the interface the proxy should initiate connections from. By +default, the system will decide which address to use in +accordance with the routing table. |
-niPATH
+ +(Linux only) Switch to the +network namespace identified by PATH before opening +the listening socket. The current namespace is saved and +restored immediately after binding, so outgoing connections +run in the original namespace unless -ne is also +given.
+ +-nePATH
+ +(Linux only) Switch to the +network namespace identified by PATH after the +listening socket has been bound (and after restoring from +-ni if applicable). Both options accept any namespace +file path (e.g. /var/run/netns/myns or +/proc/PID/ns/net) and require +CAP_SYS_ADMIN.
+ +| + |
+
+
+ -i |
++ |
+
+
+ Internal address. IP address the proxy accepts +connections to. By default, connections to any interface are +accepted. It´s usually unsafe. Unix domain sockets can +be specified with -iunix:/path/to/socket syntax +(e.g., -iunix:/var/run/imapp.sock). On Linux, abstract +sockets use -iunix:@socketname syntax. |
| + |
+
+
+ -p |
++ |
+
+
+ Port. Port proxy listens for +incoming connections. Default is 143. |
| + |
+
+
+ -h |
++ |
+
+
+ Default destination. It’s +used if the target address is not specified by the user. |
| + |
+
+
+ -x |
++ |
+
+
+ Disable STARTTLS support. +STARTTLS is not announced in the CAPABILITY response and the +STARTTLS command is not accepted. |
| + |
+
+
+ -l |
++ |
+
+
+ Log. By default logging is to +stdout. If logfile is specified logging is to file. +Under Unix, if ´@´ precedes +logfile, syslog is used for logging. |
| + |
+
+
+ -S |
++ |
+
+
+ Increase or decrease stack size. +You may want to try something like -S8192 if you experience +3proxy crashes. |
You can use any +MUA (Mail User Agent) with IMAPv4 support. Set the client to +use internal_ip and port as an IMAP server. +The address of the real IMAP server must be configured as a +part of the IMAP username. The format for the username is +username@server, where server is the +address of the IMAP server and username is the +user´s login on this IMAP server. The login itself may +contain an ´@´ sign. Supported client +authentication methods are the LOGIN command, AUTHENTICATE +PLAIN and AUTHENTICATE LOGIN. With the server, the proxy +authenticates using the method chosen by the client if the +server supports it (as advertised in the CAPABILITY +response); otherwise it falls back to AUTHENTICATE LOGIN, +AUTHENTICATE PLAIN or the LOGIN command, in this order of +preference. Challenge-response authentication (CRAM-MD5, +etc.) is not supported, because it requires a challenge from +the server before we know which server to connect to. When +running as a 3proxy service (not as a standalone binary), +STARTTLS is supported and announced in the CAPABILITY +response unless disabled with -x. After the client +issues STARTTLS, the connection is handled by +tlspr(8): the destination host is taken from the SNI +of the client TLS handshake (or from the -h option), the +proxy performs STARTTLS negotiation with the destination +server, and then transparently passes TLS traffic between +the client and the server. If the destination server does +not support STARTTLS, the TLS handshake with the client +fails.
+ +Report all bugs +to 3proxy@3proxy.org
+ +3proxy(8),
+ftppr(8), pop3p(8), proxy(8), smtpp(8), socks(8), tcppm(8),
+tlspr(8), udppm(8), syslogd(8),
+https://3proxy.org/
3proxy is +designed by Vladimir Dubrovin <vlad@3proxy.org>
+pop3p is -POP3 gateway service to allow internal users to access + +
pop3p +is POP3 gateway service to allow internal users to access external POP3 servers.
-x
Disable STARTTLS (STLS) support. +STLS is not announced in the CAPA response and the STLS +command is not accepted.
-l
smtpp is -SMTP gateway service to allow internal users to access + +
smtpp +is SMTP gateway service to allow internal users to access external SMTP servers.
Port. Port proxy listens for -incoming connections. Default is 25.
+incoming connections. Default is 587.-x
Disable STARTTLS support. +STARTTLS is not announced in the EHLO response and the +STARTTLS command is not accepted.
-l
-Ximap | -Xpop3 | +-Xsmtp
+ +STARTTLS mode for the given +protocol. The proxy speaks the plaintext protocol with the +client (greeting, capability advertisement with STARTTLS +only, STARTTLS command), then, after the client issues +STARTTLS and sends a TLS Client HELLO, connects to the +destination taken from SNI (default port 143/110/587), +performs STARTTLS negotiation with the destination server +and transparently passes TLS traffic. If the destination +server does not support STARTTLS, the TLS handshake with the +client fails.
+ +| - | + |
- -l |
-+ |
- Log. By default logging is to -stdout. If logfile is specified logging is to file. -Under Unix, if ´@´ precedes -logfile, syslog is used for logging. | |
| - | + |
-S |
-+ |