This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.

Forwarding parameters in IMAP/POP3/LMTP/SMTP proxying

Dovecot supports proxying various pieces of information and even variables for various protocols when forwarding connection. It requires that the sender is listed under trusted_networks. For IMAP, it uses the ID command, for other protocols, XCLIENT is used.

IMAP protocol

For IMAP protocol, this is done by extending the ID command. The maximum length of parameters to parse is 255 bytes. The parameters are forwarded as part of the ID command key-value list.

5 ID (x-originating-ip "" x-originating-port "143"... )

Supported parameters

POP3 protocol

For POP3 protocol, this is done with custom XCLIENT command which accepts a space separated list of key=value parameters.

Supported parameters

SMTP/LMTP protocol


Design/ParameterForwarding (last edited 2018-10-08 17:35:45 by AkiTuomi)