[Dovecot] director and IPs shown at the backends
Hello,
I am configuring a dovecot imap/pop servers with a dovecot director in
front of them. Because I am using director proxy, connections in the backends are show as coming from director IPs. Is there any way to configure director (or backends) so the backends know (and report) the original IP instead of the director IP?
Hi,
try it with "login_trusted_networks" option on the backends:
# Space separated list of trusted network ranges. Connections from these # IPs are allowed to override their IP addresses and ports (for logging and # for authentication checks). disable_plaintext_auth is also ignored for # these networks. Typically you'd specify your IMAP proxy servers here. login_trusted_networks =
But for POP this will only working with version 2.1.x
regards Urban
On 07.06.2012 13:52, Angel L. Mateo wrote:
Hello,
I am configuring a dovecot imap/pop servers with a dovecot director in front of them. Because I am using director proxy, connections in the backends are show as coming from director IPs. Is there any way to configure director (or backends) so the backends know (and report) the original IP instead of the director IP?
El 07/06/12 14:12, Urban Loesch escribió:
Hi,
try it with "login_trusted_networks" option on the backends:
# Space separated list of trusted network ranges. Connections from these # IPs are allowed to override their IP addresses and ports (for logging and # for authentication checks). disable_plaintext_auth is also ignored for # these networks. Typically you'd specify your IMAP proxy servers here. login_trusted_networks =
But for POP this will only working with version 2.1.x
I didn't find that option in any example config file, but it's working.
Maybe it must be documented in somewhere.
Thank you.
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 868887590 Fax: 868888337
Angel L. Mateo wrote:
El 07/06/12 14:12, Urban Loesch escribió:
# Space separated list of trusted network ranges. Connections from these # IPs are allowed to override their IP addresses and ports (for logging and # for authentication checks). disable_plaintext_auth is also ignored for # these networks. Typically you'd specify your IMAP proxy servers here. login_trusted_networks =
I didn't find that option in any example config file, but it's working. Maybe it must be documented in somewhere.
This command lists all available options of your release:
doveconf
Regards Daniel
participants (3)
-
Angel L. Mateo
-
Daniel Parthey
-
Urban Loesch