Can somebody tell if its possible to use proxy and redirecting together?
I want to use redirecting to the correct mailserver when the user is internal in the network ( connection to port 80 or 443). When the user is connecting trough vpn I want to use proxy ( connecting to port 8080 or 8443).

I have proxy working both not redirecting, can somebody explain me how to achieve this ?