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

Tomislav Mihalicek tomislav.mihalicek at gmail.com
Tue Jul 19 13:14:53 EEST 2011


Yes, that solved the problem. I just putted
login_trusted_networks = x.x.x.70, x.x.x.71
in dovecot.conf, restarted and that's it :P

Thanx


Urban Loesch-2 wrote:
> 
> 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.
> 
> 

-- 
View this message in context: http://old.nabble.com/Dovecot-1.2.17%2C-Proxy-and-forwarding-of-remote-ip-tp32089318p32089740.html
Sent from the Dovecot mailing list archive at Nabble.com.



More information about the dovecot mailing list