|
|||||||||
|
|||||||||
|
|||
|
To get your mail working using the proxy you have to tell it not to use the proxy for specific ports/ip addresses. Now keep in mind I have not tested this set up only guessing what would need to happen.
My situation is that I have my home PC on Qtel and my Mobil Phone through Qtel. The idea is that I should be able to access my home PC before heading through the proxy server to get to the rest of the internet. However, it might also work if for some reason your provider does not block email ports, smtp 25 pop3 110. Here is an example of the proxy.pac file that might work. You can also look up proxy.pac and see the different options. Example: *My current proxy.pac.* function FindProxyForURL(url, host) { if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0")) return "PROXY 10.23.8.3:8080"; else return "DIRECT"; } *If you just wanted the proxy to work for Http, Https, and Ftp then this might work. Everything that does not fit the "if" statements will be direct to the IP you need such as smtp.gmail.com:25.* function FindProxyForURL(url, host) { if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0")) return "DIRECT"; } else { if (shExpMatch(url, "http:*")) return "PROXY 10.23.8.3:8080"; if (shExpMatch(url, "https:*")) return "PROXY 10.23.8.3:8080"; if (shExpMatch(url, "ftp:*")) return "PROXY 10.23.8.3:8080"; } } or If you have another proxy server perhaps on your providers network. For me I have both my PC and phone on Qtel so it could be (providing I set up my own proxy server or Socks server.) function FindProxyForURL(url, host) { if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0")) return "DIRECT"; } else { if (shExpMatch(url, "http:*")) return "PROXY 10.23.8.3:8080"; if (shExpMatch(url, "https:*")) return "PROXY 10.23.8.3:8080"; if (shExpMatch(url, "ftp:*")) return "PROXY 10.23.8.3:8080"; if (shExpMatch(url, "https://smtp.gmail.com")) return "SOCKS (your socks server IP:1090"; if (shExpMatch(url, "https://pop.gmail.com")) return "SOCKS (your socks server IP:1090"; } } As I said I am not sure if this would work or not, someone would need to test this out. I just use the mobile version of Gmail so it's not that big of a deal for me. Hope it helps. Also I can't believe that this thread is still going after I started it so long ago. |
| Remove advertisements | |
|
|
|
|
|
|||
|
Hi syasses!
Am in Qatar also and have recently acquired an iphone. GPRS initially would not work until I found your quite dated post. Applying your "fix" in post #1 resolves that with the exception of mail. When saving a yahoo account there is ongoing EDGE activity and the status is "verifying Yahoo! account information". It ends up with (Yahoo! account verification failed. The IMAP server "imap.apple.mail.yahoo.com" is not responding. Check your network connection and that you entered the correct information in the "Incoming Mail Server" field.) With G-mail it ends up with "cannot connect using SSL, Do you wish to try setting up the account without SSL?". After attempting without the SSL I end up with the same message as the yahoo failure with imap.gmail.com not responding. After updating proxy.pac with your last suggested method, and rebooting the iphone to ensure changes take effect, GPRS stops working altogether,, that is neither Safari nor mail work. Any advice or recommendations on how to get mail to work here in Qatar? Thanks in advance and hope to hear from you soon! Cheers! |
|
|||
|
can i use this settings of proxy.pac with a ISA server of my work?
in my work use a private APN to view internal web pages and exchange mail. i want to know if a can set the ISA proxy with this method sorry for my english Thanks |
|
|||
|
Hello everyone,
I have tried everything I could think of to get this to work, but I can't get it right. I use Orange World , and would like all my traffic to go through proxy 10.250.255.188:5080. Shouldn't this proxy.pac file work? function FindProxyForURL(url, host) { if (url.substring(0, 5) == "http:") { return "PROXY 10.250.255.188:5080"; } else if (url.substring(0, 4) == "wap:") { return "PROXY 10.250.255.188:9021"; } else { return "DIRECT"; } } Oh btw, also shouldn't the javascript "alert" command work to see if Safari is loading the proxy? Thanks in advance! Oh I also tried to manually edit the preferences.plist like this: Quote:
|
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
Hello Everybody,
As I'm a new user of Iphone in Qatar, I try also to use the QTEL network for browsing. My Iphone is the new 3G model, and it seems that the coding is not working. Did somebody already done this exercice for 3G model ?? Thanks in advance Thierry |
|
|||
|
I just upgraded my 2.5G iPhone to 2.1 and am having trouble getting this to work as well.
As an aside, how are you managing to use a 3G phone on QTel? The 3G phones haven't been unlocked yet. |
|
|||
|
UPDATE: I used the T-Zones hack from Cydia and then modified the files to reflect QTel's settings. I can now use Safari, Weather, Stocks, but can't use Mail.
I suspect that the problem I encountered before had something to do with incorrectly set permissions or the location I was using for the proxy.pac file (/var/root/proxy.pac is now in /var/root/Preferences). |
| Sponsored links Remove advertisements | |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.hackint0sh.org/f127/6365.htm
|
||||
| Posted By | For | Type | Date | |
| T - Mobile Internet Configuration for Iphone | This thread | Refback | 01-14-2009 06:53 PM | |
| iPhone??EDGE(?1.13)+??cmwap??+???+QQ?????? - iPhone ????? - WeiPhone??? iPhone ??|iPod Touch ??|Google G1??|Palm Pre ??|???iPhone - Powered by Discuz! | This thread | Refback | 01-14-2009 03:46 PM | |
| [Merged] iPhone Users with T-Mobile Service (USA) - Mac Forums | This thread | Refback | 01-14-2009 11:09 AM | |
|
|