Problem Outlook with Squid/Wpad

Discussion in 'General Linux' started by hrtr, Nov 25, 2013.

  1. hrtr

    hrtr New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello!

    Sorry my english, I'm using the translator.

    I have a problem, requests made by outlook are going through Squid. I wanted to do what all great pass coming from Exchange server.

    I configured wpad to pass out of Squid, but does not work.

    Follow my wpad:


    function FindProxyForURL(url, host)
    {
    var not_proxy = "DIRECT";

    // bypass proxy
    if (shExpMatch(url,"*owa.server.com:443/*")) {return not_proxy;}
    if (shExpMatch(url,"*owa.server.com/*")) {return not_proxy;}

    Thanks!
  2. laurentv

    laurentv New Member

    Messages:
    25
    Likes Received:
    2
    Trophy Points:
    3
    I use this configuration file that works very well :

    function FindProxyForURL(url, host)
    {
    if
    (isInNet(host, "192.168.10.0", "255.255.254.0") ||
    (isInNet(host, "192.168.100.0", "255.255.255.0")) ||
    host == "127.0.0.1")
    {
    return "DIRECT";
    }
    else
    return "PROXY 192.168.1.254:3128";
    }
  3. hrtr

    hrtr New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    This configuration would be to target networks, I would like to access any network address (https://owa.server.com) Email used to download new emails to pass directly out of the proxy.

Share This Page