[Dovecot] Dovecot 1.2.17, Proxy and forwarding of remote ip

Urban Loesch bind at enas.net
Tue Jul 19 12:19:45 EEST 2011


Hi,

try to put your proxy ip's in the "login_trusted_networks" configuration option.

...
# 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 =
...

Regards
Urban

Tomislav Mihalicek wrote:
> Hi
> 
> i have a nice working proxy setup and postlogin script that is doing logging
> logs.
> echo "$(date +%Y.%m.%d-%H:%M:%S), $USER, $IP, ${1}" >>
> /var/log/mail/logins.info 2>&1
> 
> is it possible that i recieve a remote ip of user client on proxied internal
> machine, cause i have only the proxy one, and that date is not a relevant to
> me
> 
> thanx
> 
> t.


More information about the dovecot mailing list